-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport changes on gemspec from main
- Loading branch information
Showing
4 changed files
with
15 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
|
||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'version' | ||
require 'vertebrae/version' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "vertebrae".freeze | ||
s.version = "0.6.2" | ||
s.version = Vertebrae::VERSION | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= | ||
s.require_paths = ["lib".freeze] | ||
|
@@ -16,42 +16,14 @@ Gem::Specification.new do |s| | |
s.email = "[email protected]".freeze | ||
s.extra_rdoc_files = [ | ||
"LICENSE.txt", | ||
"README.rdoc" | ||
] | ||
s.files = [ | ||
".document", | ||
".github/workflows/ci.yml", | ||
".rspec", | ||
".rubocop.yml", | ||
".ruby-gemset", | ||
".ruby-version", | ||
"Gemfile", | ||
"LICENSE.txt", | ||
"README.rdoc", | ||
"Rakefile", | ||
"VERSION", | ||
"lib/api.rb", | ||
"lib/authorization.rb", | ||
"lib/base.rb", | ||
"lib/configuration.rb", | ||
"lib/connection.rb", | ||
"lib/constants.rb", | ||
"lib/core_ext/array.rb", | ||
"lib/model.rb", | ||
"lib/railties.rb", | ||
"lib/request.rb", | ||
"lib/response/raise_error.rb", | ||
"lib/response_error.rb", | ||
"lib/vertebrae.rb", | ||
"spec/api_spec.rb", | ||
"spec/configuration_spec.rb", | ||
"spec/dummy/client.rb", | ||
"spec/dummy/dummy.rb", | ||
"spec/logger_spec.rb", | ||
"spec/request_spec.rb", | ||
"spec/spec_helper.rb", | ||
"vertebrae.gemspec" | ||
"README.md" | ||
] | ||
# Specify which files should be added to the gem when it is released. | ||
# The `git ls-files -z` loads the files in the RubyGem that have been added into git. | ||
s.files = Dir.chdir(File.expand_path(__dir__)) do | ||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
end | ||
|
||
s.homepage = "http://github.com/controlshift/vertebrae".freeze | ||
s.licenses = ["MIT".freeze] | ||
s.summary = "API Client Infrastructure".freeze | ||
|
@@ -66,6 +38,7 @@ Gem::Specification.new do |s| | |
s.add_runtime_dependency(%q<faraday_middleware>.freeze, ["> 0.12.2"]) | ||
s.add_runtime_dependency(%q<hashie>.freeze, ["> 3.5.7"]) | ||
s.add_development_dependency(%q<rspec>.freeze, [">= 0"]) | ||
s.add_development_dependency(%q<rake>.freeze, [">= 0"]) | ||
s.add_development_dependency(%q<bundler>.freeze, [">= 0"]) | ||
s.add_development_dependency(%q<webmock>.freeze, [">= 0"]) | ||
s.add_development_dependency(%q<rspec-its>.freeze, [">= 0"]) | ||
|
@@ -76,6 +49,7 @@ Gem::Specification.new do |s| | |
s.add_dependency(%q<faraday_middleware>.freeze, ["> 0.12.2"]) | ||
s.add_dependency(%q<hashie>.freeze, ["> 3.5.7"]) | ||
s.add_dependency(%q<rspec>.freeze, [">= 0"]) | ||
s.add_dependency(%q<rake>.freeze, [">= 0"]) | ||
s.add_dependency(%q<bundler>.freeze, [">= 0"]) | ||
s.add_dependency(%q<webmock>.freeze, [">= 0"]) | ||
s.add_dependency(%q<rspec-its>.freeze, [">= 0"]) | ||
|