summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-22 17:53:21 -0300
committerSeba Gamboa <[email protected]>2015-09-22 17:53:21 -0300
commita88dcf7f44898495fd2d2535ec0c4508a4458c38 (patch)
tree7322e644f6abe46f004b0875108f724b84a05352
parent2fb5a297afb868dbe7bbd54526c7bc11819c41cd (diff)
downloadyard-mruby-a88dcf7f44898495fd2d2535ec0c4508a4458c38.tar.gz
yard-mruby-a88dcf7f44898495fd2d2535ec0c4508a4458c38.zip
Setting gemspec
-rw-r--r--sample/Gemfile1
-rw-r--r--yard-mruby.gemspec16
2 files changed, 6 insertions, 11 deletions
diff --git a/sample/Gemfile b/sample/Gemfile
index 25e93cd..2fcddc6 100644
--- a/sample/Gemfile
+++ b/sample/Gemfile
@@ -2,3 +2,4 @@ source 'https://rubygems.org'
gem 'mruby-cli'
gem 'mruby-source', github: 'sagmor/mruby'
+gem 'yard-mruby', path: '..'
diff --git a/yard-mruby.gemspec b/yard-mruby.gemspec
index 819ca6b..77e8862 100644
--- a/yard-mruby.gemspec
+++ b/yard-mruby.gemspec
@@ -9,24 +9,18 @@ Gem::Specification.new do |spec|
spec.authors = ["Seba Gamboa"]
spec.email = ["[email protected]"]
- spec.summary = %q{TODO: Write a short summary, because Rubygems requires one.}
- spec.description = %q{TODO: Write a longer description or delete this line.}
- spec.homepage = "TODO: Put your gem's website or public repo URL here."
+ spec.summary = %q{Generate Yard documentation for MRuby projects.}
+ spec.description = %q{Generate Yard documentation for MRuby projects.}
+ spec.homepage = "https://github.com/sagmor/yard-mruby"
spec.license = "MIT"
- # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
- # delete this section to allow pushing this gem to any host.
- if spec.respond_to?(:metadata)
- spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
- else
- raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
- end
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
+ spec.add_dependency "yard"
+
spec.add_development_dependency "bundler", "~> 1.10"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec"