3scale_client.gemspec in 3scale_client-2.3.2 vs 3scale_client.gemspec in 3scale_client-2.3.3

- old
+ new

@@ -1,58 +1,27 @@ -# encoding: UTF-8 +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require '3scale/client/version' -Gem::Specification.new do |s| - s.name = %q{3scale_client} - s.version = "2.3.2" +Gem::Specification.new do |spec| + spec.name = "3scale_client" + spec.version = ThreeScale::Client::VERSION + spec.authors = ["Michal Cichra"] | ['Adam Cigánek', 'Tiago Macedo', 'Joaquin Rivera Padron (joahking)', 'Maria Pilar Guerra'] + spec.email = ["support@3scale.net"] + spec.description = "This gem allows to easily connect an application that provides a Web Service with the 3scale API Management System to authorize it's users and report the usage." + spec.summary = 'Client for 3scale Web Service Management System API' + spec.homepage = "http://www.3scale.net" + spec.license = "MIT" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Adam Cigánek", "Tiago Macedo", "Joaquin Rivera Padron (joahking)"] - s.description = %q{Ruby client for 3scale platform. 3scale is an API Infrastructure service which handles API Keys, Rate Limiting, Analytics, Billing Payments and Developer Management. Includes a configurable API dashboard and developer portal CMS. More information at http://www.3scale.net/ or http://support.3scale.net/. -} - s.email = %q{adam@3scale.net tiago@3scale.net} - s.extra_rdoc_files = [ - "README.rdoc" - ] - s.files = [ - ".gitignore", - "3scale_client.gemspec", - "Gemfile", - "Gemfile.lock", - "LICENCE", - "README.rdoc", - "Rakefile", - "VERSION", - "lib/3scale_client.rb", - "lib/3scale/authorize_response.rb", - "lib/3scale/client.rb", - "lib/3scale/response.rb", - "test/client_test.rb", - "test/remote_test.rb" - ] - s.homepage = %q{http://www.3scale.net} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.6} - s.summary = %q{Client for 3scale Web Service Management System API} - s.test_files = [ - "test/remote_test.rb", - "test/client_test.rb" - ] + spec.files = `git ls-files`.split($/) + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 - - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<nokogiri>, [">= 0"]) - else - s.add_dependency(%q<nokogiri>, [">= 0"]) - end - else - s.add_dependency(%q<nokogiri>, [">= 0"]) - end - - s.add_development_dependency 'fakeweb' - s.add_development_dependency 'jeweler' - s.add_development_dependency 'mocha' + spec.add_development_dependency "bundler", "~> 1.3" + spec.add_development_dependency "rake" + spec.add_development_dependency "rdoc" + spec.add_development_dependency "fakeweb" + spec.add_development_dependency "mocha" + spec.add_dependency 'nokogiri' end -