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 +5 -0
- data/README +1 -1
- data/lib/ads_common/api.rb +0 -2
- data/lib/ads_common/auth/oauth_handler.rb +2 -1
- data/lib/ads_common/savon_headers/base_header_handler.rb +1 -1
- data/lib/ads_common/savon_service.rb +1 -0
- data/lib/ads_common/version.rb +1 -1
- metadata +5 -12
data/ChangeLog
CHANGED
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.
|
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.
|
data/lib/ads_common/api.rb
CHANGED
@@ -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.
|
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)
|
data/lib/ads_common/version.rb
CHANGED
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
|
-
-
|
10
|
-
version: 0.6.
|
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-
|
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
|
-
-
|
35
|
-
version: 0.9.
|
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
|