Sha256: b8df89b987b30763315a2e1715e0cd87a966fea97e182a7463ef5abbb7138e11

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "api_client/version"

Gem::Specification.new do |s|
  s.name        = "api_client"
  s.version     = ApiClient::VERSION
  s.authors     = ["Marcin Bunsch"]
  s.email       = ["marcin@futuresimple.com"]
  s.homepage    = "https://github.com/futuresimple/api_client"
  s.summary     = %q{API client builder}
  s.description = %q{API client builder}

  s.rubyforge_project = "api_client"

  # Declare runtime dependencies here:
  def s.add_runtime_dependencies(method)
    if RUBY_PLATFORM == "java"
      send method, 'jrjackson'
    else
      send method, 'yajl-ruby'
    end

    send method, 'hashie', [">= 2.0.5"]
    send method, 'faraday', [">= 0.8.1", "< 1.0.0"]
    send method, 'multi_json', [">= 1.6.1"]
  end

  # Declare development dependencies here:
  s.add_development_dependency 'rspec', '2.14.1'

  if s.respond_to? :specification_version then
    s.specification_version = 3

    if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
      s.add_runtime_dependencies(:add_runtime_dependency)
    else
      s.add_runtime_dependencies(:add_dependency)
    end
  else
    s.add_runtime_dependencies(:add_dependency)
  end

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
api_client-0.5.22 api_client.gemspec