summaryrefslogtreecommitdiffhomepage
path: root/yard-mruby.gemspec
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-22 16:13:51 -0300
committerSeba Gamboa <[email protected]>2015-09-22 16:13:51 -0300
commit80ab1e961810a6b571517ac9625e998194fbd57b (patch)
tree4af6a1e39d182d61761e21359f2d9a3e6745c8d0 /yard-mruby.gemspec
downloadyard-mruby-80ab1e961810a6b571517ac9625e998194fbd57b.tar.gz
yard-mruby-80ab1e961810a6b571517ac9625e998194fbd57b.zip
bundle gem yard-mruby
Diffstat (limited to 'yard-mruby.gemspec')
-rw-r--r--yard-mruby.gemspec33
1 files changed, 33 insertions, 0 deletions
diff --git a/yard-mruby.gemspec b/yard-mruby.gemspec
new file mode 100644
index 0000000..819ca6b
--- /dev/null
+++ b/yard-mruby.gemspec
@@ -0,0 +1,33 @@
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'yard/mruby/version'
+
+Gem::Specification.new do |spec|
+ spec.name = "yard-mruby"
+ spec.version = Yard::Mruby::VERSION
+ 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.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_development_dependency "bundler", "~> 1.10"
+ spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_dependency "rspec"
+end