|
| 1 | + |
| 2 | +lib = File.expand_path("../lib", __FILE__) |
| 3 | +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
| 4 | +require "exchangerate/version" |
| 5 | + |
| 6 | +Gem::Specification.new do |spec| |
| 7 | + spec.name = "exchangerate-api" |
| 8 | + spec.version = Exchangerate::VERSION |
| 9 | + spec.authors = ["Jiren Patel"] |
| 10 | + spec.email = ["jiren@eloquent.studio"] |
| 11 | + |
| 12 | + spec.summary = "Currency Exchange Rates API Client" |
| 13 | + spec.description = "Currencies Exchange rates api client" |
| 14 | + spec.homepage = "https://github.com/EloquentStudio/exchangerate-api-ruby" |
| 15 | + spec.license = "MIT" |
| 16 | + |
| 17 | + # Specify which files should be added to the gem when it is released. |
| 18 | + # The `git ls-files -z` loads the files in the RubyGem that have been added into git. |
| 19 | + spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do |
| 20 | + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } |
| 21 | + end |
| 22 | + spec.bindir = "exe" |
| 23 | + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } |
| 24 | + spec.require_paths = ["lib"] |
| 25 | + |
| 26 | + |
| 27 | + spec.add_dependency "json", "~> 2.2" |
| 28 | + spec.add_dependency "faraday", "~> 0.17.0" |
| 29 | + spec.add_dependency "faraday_middleware", "~> 0.13.1" |
| 30 | + |
| 31 | + spec.add_development_dependency "bundler", "~> 2.0" |
| 32 | + spec.add_development_dependency "rake", "~> 10.0" |
| 33 | + spec.add_development_dependency "minitest", "~> 5.12.2" |
| 34 | + spec.add_development_dependency "minitest-focus", "~> 1.1.2" |
| 35 | + spec.add_development_dependency "minitest-rg", "~> 5.2" |
| 36 | + spec.add_development_dependency "rubocop", "~> 0.75.0" |
| 37 | + spec.add_development_dependency "simplecov", "~> 0.17.1" |
| 38 | + spec.add_development_dependency "yard", "~> 0.9.20" |
| 39 | +end |
0 commit comments