-
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.
Only package essential files in gem release (#146)
* Update outdated dependencies * Update gemspec formatting This matches what bundler will now generate * Move development dependencies to Gemfile * Include instance ZUID in setup script * Only package essential files in gem release
- Loading branch information
1 parent
856351d
commit fd7467a
Showing
5 changed files
with
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
EMAIL="YOUR_EMAIL" | ||
PASSWORD="YOUR_PASSWORD" | ||
INSTANCE_ZUID="" | ||
INSTANCE_ZUID="YOUR_INSTANCE_ZUID" | ||
MODEL_ZUID="" |
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 |
---|---|---|
@@ -1,43 +1,26 @@ | ||
lib = File.expand_path("lib", __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require "zesty/version" | ||
require_relative "lib/zesty/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "zesty" | ||
spec.version = Zesty::VERSION | ||
spec.authors = ["Javier Julio"] | ||
spec.email = ["[email protected]"] | ||
spec.name = "zesty" | ||
spec.version = Zesty::VERSION | ||
spec.authors = ["Javier Julio"] | ||
spec.email = ["[email protected]"] | ||
|
||
spec.summary = %q{A Ruby interface to the Zesty.io API} | ||
spec.description = %q{A Ruby interface to the Zesty.io API} | ||
spec.homepage = "https://github.com/jackpocket/zesty-rb" | ||
spec.license = "MIT" | ||
|
||
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'" | ||
spec.summary = "A Ruby interface to the Zesty.io API" | ||
spec.description = "A Ruby interface to the Zesty.io API. Not all API actions are supported." | ||
spec.homepage = "https://github.com/jackpocket/zesty-rb" | ||
spec.license = "MIT" | ||
|
||
spec.metadata["homepage_uri"] = spec.homepage | ||
spec.metadata["source_code_uri"] = spec.homepage | ||
spec.metadata["changelog_uri"] = "https://github.com/jackpocket/zesty-rb/blob/master/CHANGELOG.md" | ||
spec.metadata["bug_tracker_uri"] = "https://github.com/jackpocket/zesty-rb/issues" | ||
|
||
# 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. | ||
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do | ||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
end | ||
spec.bindir = "exe" | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.files = Dir["README.md", "LICENSE*", "lib/**/*.rb"] | ||
spec.require_paths = ["lib"] | ||
|
||
spec.required_ruby_version = ">= 2.5.0" | ||
|
||
spec.add_dependency "http", ">= 4", "< 6" | ||
|
||
spec.add_development_dependency "bundler", "~> 2.0" | ||
spec.add_development_dependency "rake", "~> 13.0" | ||
spec.add_development_dependency "rspec", "~> 3.0" | ||
spec.add_development_dependency "rspec-json_expectations" | ||
spec.add_development_dependency "dotenv" | ||
spec.add_development_dependency "vcr" | ||
spec.add_development_dependency "webmock" | ||
end |