iZettle/api-model

View on GitHub
api-model.gemspec

Summary

Maintainability
Test Coverage
$:.push File.expand_path("../lib", __FILE__)

Gem::Specification.new do |s|
  s.name        = "api-model"
  s.version     = "2.8.0"
  s.authors     = ["Damien Timewell", "Erik Rothoff Andersson"]
  s.email       = ["mail@damientimewell.com", "erik.rothoff@gmail.com"]
  s.licenses    = ['MIT']
  s.homepage    = "https://github.com/iZettle/api-model"
  s.summary     = "A simple way of interacting with rest APIs"
  s.description = "API model is a simple wrapper for interacting with external APIs. It tries to make it very simple and easy to make API calls and map the responses into objects."

  s.add_dependency 'activesupport', '>= 4.1'
  s.add_dependency 'activemodel', '>= 4.1'
  s.add_dependency 'typhoeus', '>= 1.1'
  s.add_dependency 'virtus', '~> 1.0'
  s.add_dependency 'hash-pipe', '>= 0.5'
  s.add_dependency 'http-cookie', '~> 1.0'

  s.add_development_dependency "rspec", '~> 2.14'
  s.add_development_dependency "pry", '~> 0.9'
  s.add_development_dependency "vcr", '2.8.0'
  s.add_development_dependency "webmock", "1.15.0"

  s.files = `git ls-files`.split("\n")
  s.test_files = `git ls-files -- spec/*`.split("\n")
end