Skip to content

Commit

Permalink
Cleaned up gemspec a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
epitron committed Mar 29, 2014
1 parent d26062e commit 6e3d613
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .gemspec
Expand Up @@ -2,26 +2,26 @@ Gem::Specification.new do |s|
s.name = "pry-doc"
s.version = File.read "VERSION"

s.authors = ["John Mair (banisterfiend)"]
s.email = ["jrmair@gmail.com"]
s.summary = 'Provides YARD and extended documentation support for Pry'
s.description = <<DESCR
s.authors = ["John Mair (banisterfiend)"]
s.email = ["jrmair@gmail.com"]
s.summary = 'Provides YARD and extended documentation support for Pry'
s.homepage = "https://github.com/pry/pry-doc"
s.license = 'MIT'
s.description = %{
Pry Doc is a Pry REPL plugin. It provides extended documentation support for the
REPL by means of improving the `show-doc` and `show-source` commands. With help
of the plugin the commands are be able to display the source code and the docs
of Ruby methods and classes implemented in C.
documentation
DESCR
s.homepage = "https://github.com/pry/pry-doc"
s.license = 'MIT'
}

s.require_paths = ["lib"]
s.files = `git ls-files`.split("\n")
s.files = `git ls-files`.split("\n")

s.add_dependency 'yard', "~> 0.8"
s.add_dependency 'pry', "~> 0.9"
s.add_dependency 'pry', "~> 0.9"

# converts "2.1.1" into "2.1"
# converts "2.1.1" to "2.1"
ruby_rough_version = RUBY_VERSION.split('.')[0..1].join('.')
s.add_dependency 'ruby-core-docs', "~> #{ruby_rough_version}"
end

0 comments on commit 6e3d613

Please sign in to comment.