apiculture.gemspec in apiculture-0.0.18 vs apiculture.gemspec in apiculture-0.0.19
- old
+ new
@@ -1,91 +1,48 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
-# stub: apiculture 0.0.18 ruby lib
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'apiculture/version'
Gem::Specification.new do |s|
s.name = "apiculture"
- s.version = "0.0.18"
+ s.version = Apiculture::VERSION
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Julik Tarkhanov", "WeTransfer"]
- s.date = "2016-11-25"
+ s.homepage = 'http://github.com/wetransfer/zip_tricks'
s.description = "A toolkit for building REST APIs on top of Sinatra"
s.email = "me@julik.nl"
+
+ # Prevent pushing this gem to RubyGems.org.
+ # To allow pushes either set the 'allowed_push_host'
+ # To allow pushing to a single host or delete this section to allow pushing to any host.
+ if s.respond_to?(:metadata)
+ s.metadata['allowed_push_host'] = 'https://rubygems.org'
+ else
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
+ 'public gem pushes.'
+ end
+
+ s.files = `git ls-files -z`.split("\x0")
s.extra_rdoc_files = [
"LICENSE.txt",
"README.md"
]
- s.files = [
- ".travis.yml",
- "Gemfile",
- "LICENSE.txt",
- "README.md",
- "Rakefile",
- "apiculture.gemspec",
- "lib/apiculture.rb",
- "lib/apiculture/action.rb",
- "lib/apiculture/action_definition.rb",
- "lib/apiculture/app_documentation.rb",
- "lib/apiculture/app_documentation_tpl.mustache",
- "lib/apiculture/markdown_segment.rb",
- "lib/apiculture/method_documentation.rb",
- "lib/apiculture/sinatra_instance_methods.rb",
- "lib/apiculture/timestamp_promise.rb",
- "lib/apiculture/version.rb",
- "spec/apiculture/action_spec.rb",
- "spec/apiculture/app_documentation_spec.rb",
- "spec/apiculture/method_documentation_spec.rb",
- "spec/apiculture_spec.rb",
- "spec/spec_helper.rb"
- ]
s.homepage = "https://github.com/WeTransfer/apiculture"
s.licenses = ["MIT"]
s.rubygems_version = "2.4.5.1"
s.summary = "Sweet API sauce on top of Sintra"
- if s.respond_to? :specification_version then
- s.specification_version = 4
+ s.add_runtime_dependency 'sinatra', '~> 1'
+ s.add_runtime_dependency 'builder', '~> 3'
+ s.add_runtime_dependency 'rdiscount', '~> 2'
+ s.add_runtime_dependency 'github-markup', '~> 1'
+ s.add_runtime_dependency "mustache", '~> 1'
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<sinatra>, ["~> 1.4"])
- s.add_runtime_dependency(%q<builder>, ["~> 3"])
- s.add_runtime_dependency(%q<rdiscount>, ["~> 2.1"])
- s.add_runtime_dependency(%q<github-markup>, ["~> 1"])
- s.add_runtime_dependency(%q<mustache>, ["~> 1"])
- s.add_development_dependency(%q<rack-test>, ["~> 0.6"])
- s.add_development_dependency(%q<rspec>, ["< 3.2", "~> 3.1"])
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
- s.add_development_dependency(%q<jeweler>, ["~> 2"])
- s.add_development_dependency(%q<simplecov>, [">= 0"])
- else
- s.add_dependency(%q<sinatra>, ["~> 1.4"])
- s.add_dependency(%q<builder>, ["~> 3"])
- s.add_dependency(%q<rdiscount>, ["~> 2.1"])
- s.add_dependency(%q<github-markup>, ["~> 1"])
- s.add_dependency(%q<mustache>, ["~> 1"])
- s.add_dependency(%q<rack-test>, ["~> 0.6"])
- s.add_dependency(%q<rspec>, ["< 3.2", "~> 3.1"])
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<jeweler>, ["~> 2"])
- s.add_dependency(%q<simplecov>, [">= 0"])
- end
- else
- s.add_dependency(%q<sinatra>, ["~> 1.4"])
- s.add_dependency(%q<builder>, ["~> 3"])
- s.add_dependency(%q<rdiscount>, ["~> 2.1"])
- s.add_dependency(%q<github-markup>, ["~> 1"])
- s.add_dependency(%q<mustache>, ["~> 1"])
- s.add_dependency(%q<rack-test>, ["~> 0.6"])
- s.add_dependency(%q<rspec>, ["< 3.2", "~> 3.1"])
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
- s.add_dependency(%q<bundler>, ["~> 1.0"])
- s.add_dependency(%q<jeweler>, ["~> 2"])
- s.add_dependency(%q<simplecov>, [">= 0"])
- end
+ s.add_development_dependency 'rack-test'
+ s.add_development_dependency "rspec", "~> 3.1", '< 3.2'
+ s.add_development_dependency "rdoc", "~> 3.12"
+ s.add_development_dependency "rake", "~> 10"
+ s.add_development_dependency "bundler", "~> 1.0"
+ s.add_development_dependency "simplecov", ">= 0"
end
-