beatrichartz/exchange

View on GitHub
exchange.gemspec

Summary

Maintainability
Test Coverage
# -*- encoding: utf-8 -*-
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
require 'exchange/base'

Gem::Specification.new do |s|
  s.name              = "exchange"
  s.version           = Exchange::VERSION
  s.authors           = ["Beat Richartz"]
  s.description       = "Simple Money handling for your ruby app – ISO4217-compatible Currency instantiation, conversion, string formatting and more via an intuitive DSL: 1.in(:usd).to(:eur)"
  s.email             = "attr_accessor@gmail.com"
  s.homepage          = "http://beatrichartz.github.io/exchange"
  s.licenses          = ["MIT"]
  s.require_paths     = ["lib"]
  s.summary           = "Simple Money handling for your ruby app"
  s.extensions        = 'ext/mkrf_conf.rb'
  
  s.files             = `git ls-files`.split("\n")
  s.test_files        = `git ls-files -- spec/*`.split("\n")
  s.require_paths     = ["lib"]
  
  s.add_dependency             "nokogiri", "~> 1", ">= 1.0.0"
  s.add_development_dependency "json", "~> 1", ">= 1.0.0"
  s.add_development_dependency "yard", "~> 0.8"
  s.add_development_dependency "bundler", "~> 1.3"
  if RUBY_ENGINE == 'rbx'
    s.add_development_dependency "rubysl-bigdecimal", "~> 2.0"
    s.add_development_dependency "rubysl-singleton", "~> 2.0"
    s.add_development_dependency "racc", "~> 1.4"
  end    
end