|
1 |
| -require_relative 'lib/cirro_i_o/client/version' |
| 1 | +require_relative 'lib/cirro_io/client/version' |
2 | 2 |
|
3 | 3 | Gem::Specification.new do |spec|
|
4 |
| - spec.name = "cirro-ruby-client" |
| 4 | + spec.name = 'cirro-ruby-client' |
5 | 5 | spec.version = CirroIO::Client::VERSION
|
6 |
| - spec.authors = ["Cirro Dev Team"] |
7 |
| - spec.email = ["[email protected]"] |
| 6 | + spec.authors = ['Cirro Dev Team'] |
| 7 | + spec.email = ['[email protected]'] |
8 | 8 |
|
9 |
| - spec.summary = "Ruby client library for Cirro API" |
10 |
| - spec.description = "Simple wrapper for Cirro API" |
11 |
| - spec.homepage = "https://cirro.io/api-docs/v1#cirro-api-documentation" |
12 |
| - spec.license = "MIT" |
13 |
| - spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") |
| 9 | + spec.summary = 'Ruby client library for Cirro API' |
| 10 | + spec.description = 'Simple wrapper for Cirro API' |
| 11 | + spec.homepage = 'https://cirro.io/api-docs/v1#cirro-api-documentation' |
| 12 | + spec.license = 'MIT' |
| 13 | + spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0') |
14 | 14 |
|
15 |
| - spec.metadata["homepage_uri"] = spec.homepage |
16 |
| - spec.metadata["source_code_uri"] = "https://github.com/test-IO/cirro-ruby-client" |
17 |
| - spec.metadata["changelog_uri"] = "https://github.com/test-IO/cirro-ruby-client/CHANGELOG.md" |
| 15 | + spec.metadata['homepage_uri'] = spec.homepage |
| 16 | + spec.metadata['source_code_uri'] = 'https://github.com/test-IO/cirro-ruby-client' |
| 17 | + spec.metadata['changelog_uri'] = 'https://github.com/test-IO/cirro-ruby-client/CHANGELOG.md' |
18 | 18 |
|
19 | 19 | # Specify which files should be added to the gem when it is released.
|
20 | 20 | # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21 |
| - spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do |
| 21 | + spec.files = Dir.chdir(File.expand_path(__dir__)) do |
22 | 22 | `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23 | 23 | end
|
24 |
| - spec.bindir = "exe" |
| 24 | + spec.bindir = 'exe' |
25 | 25 | spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26 |
| - spec.require_paths = ["lib"] |
| 26 | + spec.require_paths = ['lib'] |
27 | 27 | end
|
0 commit comments