Updating dependencies.
This commit is contained in:
parent
0020c0d006
commit
5e751681dd
4
Gemfile
4
Gemfile
|
@ -2,11 +2,11 @@ source :rubygems
|
||||||
|
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
gem 'signet', '>= 0.3.4'
|
gem 'signet', '>= 0.4.0'
|
||||||
gem 'addressable', '>= 2.2.3'
|
gem 'addressable', '>= 2.2.3'
|
||||||
gem 'uuidtools', '>= 2.1.0'
|
gem 'uuidtools', '>= 2.1.0'
|
||||||
gem 'autoparse', '>= 0.3.1'
|
gem 'autoparse', '>= 0.3.1'
|
||||||
gem 'faraday', '~> 0.7.0'
|
gem 'faraday', '~> 0.8.1'
|
||||||
gem 'multi_json', '>= 1.3.0'
|
gem 'multi_json', '>= 1.3.0'
|
||||||
gem 'extlib', '>= 0.9.15'
|
gem 'extlib', '>= 0.9.15'
|
||||||
gem 'jruby-openssl', :platforms => :jruby
|
gem 'jruby-openssl', :platforms => :jruby
|
||||||
|
|
2
Rakefile
2
Rakefile
|
@ -29,7 +29,7 @@ PKG_FILES = FileList[
|
||||||
'[A-Z]*', 'Rakefile'
|
'[A-Z]*', 'Rakefile'
|
||||||
].exclude(/database\.yml/).exclude(/[_\.]git$/)
|
].exclude(/database\.yml/).exclude(/[_\.]git$/)
|
||||||
|
|
||||||
RCOV_ENABLED = (RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
|
RCOV_ENABLED = !!(RUBY_PLATFORM != 'java' && RUBY_VERSION =~ /^1\.8/)
|
||||||
if RCOV_ENABLED
|
if RCOV_ENABLED
|
||||||
task :default => 'spec:rcov'
|
task :default => 'spec:rcov'
|
||||||
else
|
else
|
||||||
|
|
|
@ -11,7 +11,7 @@ OAUTH_SERVER_PORT = 12736
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'optparse'
|
require 'optparse'
|
||||||
|
|
||||||
gem 'faraday', '~> 0.7.0'
|
gem 'faraday', '~> 0.8.1'
|
||||||
require 'faraday'
|
require 'faraday'
|
||||||
require 'faraday/utils'
|
require 'faraday/utils'
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ HTML
|
||||||
end
|
end
|
||||||
|
|
||||||
def client
|
def client
|
||||||
gem 'signet', '~> 0.3.0'
|
gem 'signet', '~> 0.4.0'
|
||||||
require 'signet/oauth_1/client'
|
require 'signet/oauth_1/client'
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
require 'irb'
|
require 'irb'
|
||||||
|
@ -281,7 +281,7 @@ HTML
|
||||||
]
|
]
|
||||||
|
|
||||||
def oauth_1_login
|
def oauth_1_login
|
||||||
gem 'signet', '~> 0.3.0'
|
gem 'signet', '~> 0.4.0'
|
||||||
require 'signet/oauth_1/client'
|
require 'signet/oauth_1/client'
|
||||||
require 'launchy'
|
require 'launchy'
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
|
@ -349,7 +349,7 @@ HTML
|
||||||
end
|
end
|
||||||
|
|
||||||
def oauth_2_login
|
def oauth_2_login
|
||||||
gem 'signet', '~> 0.3.0'
|
gem 'signet', '~> 0.4.0'
|
||||||
require 'signet/oauth_2/client'
|
require 'signet/oauth_2/client'
|
||||||
require 'launchy'
|
require 'launchy'
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
|
|
|
@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.authors = ["Bob Aman"]
|
s.authors = ["Bob Aman"]
|
||||||
s.date = "2012-06-14"
|
s.date = "2012-06-19"
|
||||||
s.description = "The Google API Ruby Client makes it trivial to discover and access supported\nAPIs.\n"
|
s.description = "The Google API Ruby Client makes it trivial to discover and access supported\nAPIs.\n"
|
||||||
s.email = "bobaman@google.com"
|
s.email = "bobaman@google.com"
|
||||||
s.executables = ["google-api"]
|
s.executables = ["google-api"]
|
||||||
|
@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
||||||
s.homepage = "http://code.google.com/p/google-api-ruby-client/"
|
s.homepage = "http://code.google.com/p/google-api-ruby-client/"
|
||||||
s.rdoc_options = ["--main", "README.md"]
|
s.rdoc_options = ["--main", "README.md"]
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
s.rubygems_version = "1.8.24"
|
s.rubygems_version = "1.8.15"
|
||||||
s.summary = "Package Summary"
|
s.summary = "Package Summary"
|
||||||
|
|
||||||
if s.respond_to? :specification_version then
|
if s.respond_to? :specification_version then
|
||||||
|
@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
||||||
s.add_runtime_dependency(%q<signet>, [">= 0.3.4"])
|
s.add_runtime_dependency(%q<signet>, [">= 0.3.4"])
|
||||||
s.add_runtime_dependency(%q<addressable>, [">= 2.2.3"])
|
s.add_runtime_dependency(%q<addressable>, [">= 2.2.3"])
|
||||||
s.add_runtime_dependency(%q<autoparse>, [">= 0.3.1"])
|
s.add_runtime_dependency(%q<autoparse>, [">= 0.3.1"])
|
||||||
s.add_runtime_dependency(%q<faraday>, ["~> 0.7.0"])
|
s.add_runtime_dependency(%q<faraday>, ["~> 0.8.1"])
|
||||||
s.add_runtime_dependency(%q<multi_json>, [">= 1.3.0"])
|
s.add_runtime_dependency(%q<multi_json>, [">= 1.3.0"])
|
||||||
s.add_runtime_dependency(%q<extlib>, [">= 0.9.15"])
|
s.add_runtime_dependency(%q<extlib>, [">= 0.9.15"])
|
||||||
s.add_runtime_dependency(%q<uuidtools>, [">= 2.1.0"])
|
s.add_runtime_dependency(%q<uuidtools>, [">= 2.1.0"])
|
||||||
|
@ -37,7 +37,7 @@ Gem::Specification.new do |s|
|
||||||
s.add_dependency(%q<signet>, [">= 0.3.4"])
|
s.add_dependency(%q<signet>, [">= 0.3.4"])
|
||||||
s.add_dependency(%q<addressable>, [">= 2.2.3"])
|
s.add_dependency(%q<addressable>, [">= 2.2.3"])
|
||||||
s.add_dependency(%q<autoparse>, [">= 0.3.1"])
|
s.add_dependency(%q<autoparse>, [">= 0.3.1"])
|
||||||
s.add_dependency(%q<faraday>, ["~> 0.7.0"])
|
s.add_dependency(%q<faraday>, ["~> 0.8.1"])
|
||||||
s.add_dependency(%q<multi_json>, [">= 1.3.0"])
|
s.add_dependency(%q<multi_json>, [">= 1.3.0"])
|
||||||
s.add_dependency(%q<extlib>, [">= 0.9.15"])
|
s.add_dependency(%q<extlib>, [">= 0.9.15"])
|
||||||
s.add_dependency(%q<uuidtools>, [">= 2.1.0"])
|
s.add_dependency(%q<uuidtools>, [">= 2.1.0"])
|
||||||
|
@ -50,7 +50,7 @@ Gem::Specification.new do |s|
|
||||||
s.add_dependency(%q<signet>, [">= 0.3.4"])
|
s.add_dependency(%q<signet>, [">= 0.3.4"])
|
||||||
s.add_dependency(%q<addressable>, [">= 2.2.3"])
|
s.add_dependency(%q<addressable>, [">= 2.2.3"])
|
||||||
s.add_dependency(%q<autoparse>, [">= 0.3.1"])
|
s.add_dependency(%q<autoparse>, [">= 0.3.1"])
|
||||||
s.add_dependency(%q<faraday>, ["~> 0.7.0"])
|
s.add_dependency(%q<faraday>, ["~> 0.8.1"])
|
||||||
s.add_dependency(%q<multi_json>, [">= 1.3.0"])
|
s.add_dependency(%q<multi_json>, [">= 1.3.0"])
|
||||||
s.add_dependency(%q<extlib>, [">= 0.9.15"])
|
s.add_dependency(%q<extlib>, [">= 0.9.15"])
|
||||||
s.add_dependency(%q<uuidtools>, [">= 2.1.0"])
|
s.add_dependency(%q<uuidtools>, [">= 2.1.0"])
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
gem 'faraday', '~> 0.7.0'
|
gem 'faraday', '~> 0.8.1'
|
||||||
require 'faraday'
|
require 'faraday'
|
||||||
require 'faraday/utils'
|
require 'faraday/utils'
|
||||||
require 'multi_json'
|
require 'multi_json'
|
||||||
|
@ -113,7 +113,7 @@ module Google
|
||||||
def authorization=(new_authorization)
|
def authorization=(new_authorization)
|
||||||
case new_authorization
|
case new_authorization
|
||||||
when :oauth_1, :oauth
|
when :oauth_1, :oauth
|
||||||
gem 'signet', '~> 0.3.0'
|
gem 'signet', '~> 0.4.0'
|
||||||
require 'signet/oauth_1/client'
|
require 'signet/oauth_1/client'
|
||||||
# NOTE: Do not rely on this default value, as it may change
|
# NOTE: Do not rely on this default value, as it may change
|
||||||
new_authorization = Signet::OAuth1::Client.new(
|
new_authorization = Signet::OAuth1::Client.new(
|
||||||
|
@ -127,7 +127,7 @@ module Google
|
||||||
:client_credential_secret => 'anonymous'
|
:client_credential_secret => 'anonymous'
|
||||||
)
|
)
|
||||||
when :two_legged_oauth_1, :two_legged_oauth
|
when :two_legged_oauth_1, :two_legged_oauth
|
||||||
gem 'signet', '~> 0.3.0'
|
gem 'signet', '~> 0.4.0'
|
||||||
require 'signet/oauth_1/client'
|
require 'signet/oauth_1/client'
|
||||||
# NOTE: Do not rely on this default value, as it may change
|
# NOTE: Do not rely on this default value, as it may change
|
||||||
new_authorization = Signet::OAuth1::Client.new(
|
new_authorization = Signet::OAuth1::Client.new(
|
||||||
|
@ -136,7 +136,7 @@ module Google
|
||||||
:two_legged => true
|
:two_legged => true
|
||||||
)
|
)
|
||||||
when :oauth_2
|
when :oauth_2
|
||||||
gem 'signet', '~> 0.3.0'
|
gem 'signet', '~> 0.4.0'
|
||||||
require 'signet/oauth_2/client'
|
require 'signet/oauth_2/client'
|
||||||
# NOTE: Do not rely on this default value, as it may change
|
# NOTE: Do not rely on this default value, as it may change
|
||||||
new_authorization = Signet::OAuth2::Client.new(
|
new_authorization = Signet::OAuth2::Client.new(
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
gem 'faraday', '~> 0.7.0'
|
gem 'faraday', '~> 0.8.1'
|
||||||
require 'faraday'
|
require 'faraday'
|
||||||
require 'faraday/utils'
|
require 'faraday/utils'
|
||||||
require 'multi_json'
|
require 'multi_json'
|
||||||
|
|
|
@ -17,12 +17,12 @@
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
gem 'faraday', '~> 0.7.0'
|
gem 'faraday', '~> 0.8.1'
|
||||||
require 'faraday'
|
require 'faraday'
|
||||||
require 'faraday/utils'
|
require 'faraday/utils'
|
||||||
require 'multi_json'
|
require 'multi_json'
|
||||||
|
|
||||||
gem 'signet', '~> 0.3.0'
|
gem 'signet', '~> 0.4.0'
|
||||||
require 'signet/oauth_1/client'
|
require 'signet/oauth_1/client'
|
||||||
|
|
||||||
require 'google/api_client'
|
require 'google/api_client'
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
gem 'faraday', '~> 0.7.0'
|
gem 'faraday', '~> 0.8.1'
|
||||||
require 'faraday'
|
require 'faraday'
|
||||||
require 'faraday/utils'
|
require 'faraday/utils'
|
||||||
|
|
||||||
gem 'signet', '~> 0.3.0'
|
gem 'signet', '~> 0.4.0'
|
||||||
require 'signet/oauth_1/client'
|
require 'signet/oauth_1/client'
|
||||||
|
|
||||||
require 'google/api_client'
|
require 'google/api_client'
|
||||||
|
|
|
@ -24,10 +24,10 @@ namespace :gem do
|
||||||
s.rdoc_options.concat ['--main', 'README.md']
|
s.rdoc_options.concat ['--main', 'README.md']
|
||||||
|
|
||||||
# Dependencies used in the main library
|
# Dependencies used in the main library
|
||||||
s.add_runtime_dependency('signet', '>= 0.3.4')
|
s.add_runtime_dependency('signet', '>= 0.4.0')
|
||||||
s.add_runtime_dependency('addressable', '>= 2.2.3')
|
s.add_runtime_dependency('addressable', '>= 2.2.3')
|
||||||
s.add_runtime_dependency('autoparse', '>= 0.3.1')
|
s.add_runtime_dependency('autoparse', '>= 0.3.1')
|
||||||
s.add_runtime_dependency('faraday', '~> 0.7.0')
|
s.add_runtime_dependency('faraday', '~> 0.8.1')
|
||||||
s.add_runtime_dependency('multi_json', '>= 1.3.0')
|
s.add_runtime_dependency('multi_json', '>= 1.3.0')
|
||||||
s.add_runtime_dependency('extlib', '>= 0.9.15')
|
s.add_runtime_dependency('extlib', '>= 0.9.15')
|
||||||
s.add_runtime_dependency('uuidtools', '>= 2.1.0')
|
s.add_runtime_dependency('uuidtools', '>= 2.1.0')
|
||||||
|
|
|
@ -5,6 +5,9 @@ CLOBBER.include('coverage', 'specdoc')
|
||||||
|
|
||||||
namespace :spec do
|
namespace :spec do
|
||||||
RSpec::Core::RakeTask.new(:all) do |t|
|
RSpec::Core::RakeTask.new(:all) do |t|
|
||||||
|
t.pattern = FileList['spec/**/*_spec.rb']
|
||||||
|
t.rspec_opts = ['--color', '--format', 'documentation']
|
||||||
|
t.rcov = false
|
||||||
end
|
end
|
||||||
|
|
||||||
desc 'Generate HTML Specdocs for all specs.'
|
desc 'Generate HTML Specdocs for all specs.'
|
||||||
|
|
Loading…
Reference in New Issue