Sha256: 0038cba7367e0cba14141c43398ce9e113ebb6238f1f8f8d20ae14676d7277a7

Contents?: true

Size: 1.56 KB

Versions: 5

Compression:

Stored size: 1.56 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "currency_rate/version"

Gem::Specification.new do |spec|
  spec.name = "currency-rate"
  spec.version = CurrencyRate::VERSION
  spec.authors = ["Roman Snitko"]
  spec.email = "roman.snitko@gmail.com"

  spec.summary = "Converter for fiat and crypto currencies"
  spec.description = "Fetches exchange rates from various sources and does the conversion"
  spec.homepage = "https://gitlab.com/hodlhodl-public/currency-rate"

  # 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 spec.respond_to?(:metadata)
    spec.metadata["allowed_push_host"] = "https://rubygems.org"

    spec.metadata["homepage_uri"] = spec.homepage
    spec.metadata["source_code_uri"] = "https://gitlab.com/hodlhodl-public/currency-rate"
  else
    raise "RubyGems 2.0 or newer is required to protect against " \
      "public gem pushes."
  end

  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.require_paths = ["lib"]

  spec.add_dependency "http", ">= 0"

  spec.add_development_dependency "byebug"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency "webmock"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
currency-rate-1.6.0 currency-rate.gemspec
currency-rate-1.5.4 currency-rate.gemspec
currency-rate-1.5.3 currency-rate.gemspec
currency-rate-1.5.2 currency-rate.gemspec
currency-rate-1.5.1 currency-rate.gemspec