Skip to content

Commit

Permalink
Copyedit What is a gem? (#322)
Browse files Browse the repository at this point in the history
Signed-off-by: Takuya Noguchi <[email protected]>
  • Loading branch information
tnir authored Jul 4, 2022
1 parent fe35545 commit eaedc86
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions what-is-a-gem.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: default
title: What is a gem?
url: /what-is-a-gem
previous: /rubygems-basics
next: /make-your-own-gem
url: /what-is-a-gem/
previous: /rubygems-basics/
next: /make-your-own-gem/
---

<em class="t-gray">Unpack the mystery behind what's in a RubyGem.</em>
Expand All @@ -12,8 +12,8 @@ Structure of a Gem
------------------

Each gem has a name, version, and platform. For example, the
[rake](https://rubygems.org/gems/rake) gem has a `0.8.7` version (from May,
2009). Rake's platform is `ruby`, which means it works on any platform Ruby
[rake](https://rubygems.org/gems/rake) gem has a `13.0.6` version (from Jul
2021). Rake's platform is `ruby`, which means it works on any platform Ruby
runs on.

Platforms are based on the CPU architecture, operating system type and
Expand Down Expand Up @@ -72,7 +72,7 @@ The gemspec specifies the information about a gem such as its name, version,
description, authors and homepage.

Here's an example of a gemspec file. You can learn more in [how to make a
gem](/make-your-own-gem).
gem](/make-your-own-gem/).

% cat freewill.gemspec
Gem::Specification.new do |s|
Expand All @@ -87,12 +87,12 @@ gem](/make-your-own-gem).
end

For more information on the gemspec, please check out the full [Specification
Reference](/specification-reference) which goes over each metadata field in
Reference](/specification-reference/) which goes over each metadata field in
detail.

Credits
-------

This guide was adapted from [Gonçalo
Silva](https://twitter.com/#!/goncalossilva)'s original tutorial on
Silva](https://twitter.com/goncalossilva)'s original tutorial on
docs.rubygems.org and from Gem Sawyer, Modern Day Ruby Warrior.

0 comments on commit eaedc86

Please sign in to comment.