https://github.com/RubyMoney/money
Revision caa41e0c61fff2e32affec5d9b918403ecf03aaf authored by Juanito Fatas on 07 May 2015, 03:44:56 UTC, committed by Juanito Fatas on 07 May 2015, 03:45:42 UTC
1 parent 838832a
Raw File
Tip revision: caa41e0c61fff2e32affec5d9b918403ecf03aaf authored by Juanito Fatas on 07 May 2015, 03:44:56 UTC
Add spec for Money::Currency::Loader
Tip revision: caa41e0
money.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "money/version"

Gem::Specification.new do |s|
  s.name        = "money"
  s.version     = Money::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Shane Emmons"]
  s.email       = ["shane@emmons.io"]
  s.homepage    = "http://rubymoney.github.io/money"
  s.summary     = "A Ruby Library for dealing with money and currency conversion."
  s.description = "A Ruby Library for dealing with money and currency conversion."
  s.license     = "MIT"

  s.post_install_message = <<MSG
Please note the following API changes in Money version 6

 - Money#amount, Money#dollars methods now return instances of BigDecimal (rather than Float).

Please read the migration notes at https://github.com/RubyMoney/money#migration-notes
and choose the migration that best suits your application.

Test responsibly :-)
MSG

  s.add_dependency 'i18n', ['>= 0.6.4', '<= 0.7.0']

  s.add_development_dependency "bundler", "~> 1.3"
  s.add_development_dependency "rake"
  s.add_development_dependency "rspec", "~> 3.2.0"
  s.add_development_dependency "yard", "~> 0.8"
  s.add_development_dependency "kramdown", "~> 1.1"

  s.files         = `git ls-files`.split($/)
  s.executables   = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
  s.test_files    = s.files.grep(%r{^(test|spec|features)/})
  s.require_paths = ["lib"]
end
back to top