google-ads-common 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 0.6.4:
2
+ - Fixed issue #66 (extra fields in OAuth header).
3
+ - Fixed issue #69 (string names converted to Date).
4
+ - Now require Savon 0.9.9.
5
+
1
6
  0.6.3:
2
7
  - Support for CAPTCHA challenge handling.
3
8
  - Added .gemspec and updated packaging process.
data/README CHANGED
@@ -17,7 +17,7 @@ Install it using the gem install command.
17
17
  $ gem install --local google-ads-common-VERSION.gem
18
18
 
19
19
  The following gem libraries are required:
20
- - savon v0.9.7 or greater;
20
+ - savon v0.9.9 or greater;
21
21
  - httpi v0.9.3 or greater;
22
22
  - httpclient v2.2.3 or greater;
23
23
  - oauth v0.4.5 or greater.
@@ -269,8 +269,6 @@ module AdsCommon
269
269
  if !value_str.nil? and !value_str.empty?
270
270
  value = value_str.upcase.to_sym
271
271
  @config.set(key, value)
272
- else
273
- @logger.warn("Empty value for required parameter: '%s'" % key)
274
272
  end
275
273
  end
276
274
 
@@ -31,7 +31,8 @@ module AdsCommon
31
31
  class OAuthHandler < AdsCommon::Auth::BaseHandler
32
32
  IGNORED_FIELDS = [
33
33
  :email, :password, :auth_token,
34
- :oauth_verification_code, :oauth_consumer_secret, :oauth_consumer_key
34
+ :oauth_verification_code, :oauth_consumer_secret, :oauth_consumer_key,
35
+ :oauth_token_secret, :oauth_token
35
36
  ]
36
37
 
37
38
  OAUTH_CONFIG = {
@@ -89,7 +89,7 @@ module AdsCommon
89
89
  app_name = credentials[:userAgent] || credentials[:useragent]
90
90
  # We don't know the library version here. A breaking change needs to be
91
91
  # introduced. This is scheduled for 0.7.0, using Common version for now.
92
- lib_version = '0.6.3'
92
+ lib_version = '0.6.4'
93
93
  soap_user_agent = "Common-Ruby-%s; %s" % [lib_version, app_name]
94
94
  user_agent = "Savon/%s (%s)" % [Savon::Version, soap_user_agent]
95
95
  user_agent += ' (gzip)' if @config.read('connection.enable_gzip', false)
@@ -64,6 +64,7 @@ module AdsCommon
64
64
 
65
65
  # Creates and sets up Savon client.
66
66
  def create_savon_client(endpoint, namespace)
67
+ Nori.advanced_typecasting = false
67
68
  client = Savon::Client.new do |wsdl, httpi|
68
69
  wsdl.endpoint = endpoint
69
70
  wsdl.namespace = namespace
@@ -21,6 +21,6 @@
21
21
 
22
22
  module AdsCommon
23
23
  module ApiConfig
24
- CLIENT_LIB_VERSION = '0.6.3'
24
+ CLIENT_LIB_VERSION = '0.6.4'
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-ads-common
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 6
9
- - 3
10
- version: 0.6.3
8
+ - 4
9
+ version: 0.6.4
11
10
  platform: ruby
12
11
  authors:
13
12
  - Sergio Gomes
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2012-03-13 00:00:00 +04:00
18
+ date: 2012-04-12 00:00:00 +04:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -27,12 +26,11 @@ dependencies:
27
26
  requirements:
28
27
  - - ~>
29
28
  - !ruby/object:Gem::Version
30
- hash: 53
31
29
  segments:
32
30
  - 0
33
31
  - 9
34
- - 7
35
- version: 0.9.7
32
+ - 9
33
+ version: 0.9.9
36
34
  type: :runtime
37
35
  version_requirements: *id001
38
36
  - !ruby/object:Gem::Dependency
@@ -43,7 +41,6 @@ dependencies:
43
41
  requirements:
44
42
  - - ~>
45
43
  - !ruby/object:Gem::Version
46
- hash: 1
47
44
  segments:
48
45
  - 2
49
46
  - 2
@@ -59,7 +56,6 @@ dependencies:
59
56
  requirements:
60
57
  - - ~>
61
58
  - !ruby/object:Gem::Version
62
- hash: 61
63
59
  segments:
64
60
  - 0
65
61
  - 9
@@ -75,7 +71,6 @@ dependencies:
75
71
  requirements:
76
72
  - - ~>
77
73
  - !ruby/object:Gem::Version
78
- hash: 5
79
74
  segments:
80
75
  - 0
81
76
  - 4
@@ -136,7 +131,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
131
  requirements:
137
132
  - - ">="
138
133
  - !ruby/object:Gem::Version
139
- hash: 3
140
134
  segments:
141
135
  - 0
142
136
  version: "0"
@@ -145,7 +139,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
139
  requirements:
146
140
  - - ">="
147
141
  - !ruby/object:Gem::Version
148
- hash: 23
149
142
  segments:
150
143
  - 1
151
144
  - 3