google-ads-common 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/README.md +5 -5
- data/lib/ads_common/api.rb +1 -3
- data/lib/ads_common/api_config.rb +0 -3
- data/lib/ads_common/auth/base_handler.rb +0 -2
- data/lib/ads_common/auth/oauth2_handler.rb +0 -2
- data/lib/ads_common/auth/oauth2_service_account_handler.rb +0 -2
- data/lib/ads_common/build/savon_abstract_generator.rb +0 -2
- data/lib/ads_common/build/savon_generator.rb +0 -2
- data/lib/ads_common/build/savon_registry.rb +0 -2
- data/lib/ads_common/build/savon_registry_generator.rb +0 -2
- data/lib/ads_common/build/savon_service_generator.rb +0 -2
- data/lib/ads_common/config.rb +0 -2
- data/lib/ads_common/credential_handler.rb +0 -2
- data/lib/ads_common/errors.rb +1 -4
- data/lib/ads_common/http.rb +0 -2
- data/lib/ads_common/parameters_validator.rb +0 -2
- data/lib/ads_common/results_extractor.rb +0 -2
- data/lib/ads_common/savon_headers/base_header_handler.rb +0 -2
- data/lib/ads_common/savon_headers/oauth_header_handler.rb +0 -2
- data/lib/ads_common/savon_service.rb +0 -2
- data/lib/ads_common/utils.rb +0 -2
- data/lib/ads_common/version.rb +1 -3
- data/test/coverage.rb +0 -2
- data/test/suite_unittests.rb +0 -2
- data/test/test_config.rb +0 -2
- data/test/test_credential_handler.rb +0 -2
- data/test/test_oauth2_handler.rb +0 -2
- data/test/test_parameters_validator.rb +0 -2
- data/test/test_results_extractor.rb +0 -2
- data/test/test_savon_service.rb +0 -2
- data/test/test_utils.rb +0 -2
- metadata +55 -31
- checksums.yaml +0 -15
data/ChangeLog
CHANGED
data/README.md
CHANGED
@@ -62,7 +62,7 @@ Google Ads Developers Plus page:
|
|
62
62
|
|
63
63
|
# Copyright/License Info
|
64
64
|
|
65
|
-
Copyright 2010-
|
65
|
+
Copyright 2010-2015, Google Inc. All Rights Reserved.
|
66
66
|
|
67
67
|
Licensed under the Apache License, Version 2.0 (the "License");
|
68
68
|
you may not use this file except in compliance with the License.
|
@@ -79,10 +79,10 @@ limitations under the License.
|
|
79
79
|
|
80
80
|
## Authors
|
81
81
|
|
82
|
-
- Sérgio Gomes
|
83
|
-
- Danial Klimkin
|
84
|
-
- Michael Cloonan
|
82
|
+
- Sérgio Gomes
|
83
|
+
- Danial Klimkin
|
84
|
+
- Michael Cloonan
|
85
85
|
|
86
86
|
## Maintainer
|
87
87
|
|
88
|
-
- Michael Cloonan
|
88
|
+
- Michael Cloonan
|
data/lib/ads_common/api.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# Encoding: utf-8
|
2
2
|
#
|
3
|
-
# Authors:: api.dklimkin@gmail.com (Danial Klimkin)
|
4
|
-
#
|
5
3
|
# Copyright:: Copyright 2010, Google Inc. All Rights Reserved.
|
6
4
|
#
|
7
5
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -201,7 +199,7 @@ module AdsCommon
|
|
201
199
|
@config,
|
202
200
|
api_config.environment_config(environment, :oauth_scope)
|
203
201
|
)
|
204
|
-
when :
|
202
|
+
when :OAUTH2_SERVICE_ACCOUNT
|
205
203
|
environment = @config.read('service.environment',
|
206
204
|
api_config.default_environment())
|
207
205
|
AdsCommon::Auth::OAuth2ServiceAccountHandler.new(
|
@@ -1,8 +1,5 @@
|
|
1
1
|
# Encoding: utf-8
|
2
2
|
#
|
3
|
-
# Authors:: api.sgomes@gmail.com (Sérgio Gomes)
|
4
|
-
# api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
3
|
# Copyright:: Copyright 2010, Google Inc. All Rights Reserved.
|
7
4
|
#
|
8
5
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
data/lib/ads_common/config.rb
CHANGED
data/lib/ads_common/errors.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# Encoding: utf-8
|
2
2
|
#
|
3
|
-
# Authors:: api.dklimkin@gmail.com (Danial Klimkin)
|
4
|
-
#
|
5
3
|
# Copyright:: Copyright 2010, Google Inc. All Rights Reserved.
|
6
4
|
#
|
7
5
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -109,9 +107,8 @@ module AdsCommon
|
|
109
107
|
# Superclass for API exceptions. Each client library should implement its
|
110
108
|
# own subclass with extra fields.
|
111
109
|
class ApiException < Error
|
112
|
-
attr_reader :message
|
113
110
|
def initialize(message = nil)
|
114
|
-
|
111
|
+
super(message)
|
115
112
|
end
|
116
113
|
end
|
117
114
|
end
|
data/lib/ads_common/http.rb
CHANGED
data/lib/ads_common/utils.rb
CHANGED
data/lib/ads_common/version.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# Encoding: utf-8
|
2
2
|
#
|
3
|
-
# Authors:: api.dklimkin@gmail.com (Danial Klimkin)
|
4
|
-
#
|
5
3
|
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
6
4
|
#
|
7
5
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -21,6 +19,6 @@
|
|
21
19
|
|
22
20
|
module AdsCommon
|
23
21
|
module ApiConfig
|
24
|
-
CLIENT_LIB_VERSION = '0.10.
|
22
|
+
CLIENT_LIB_VERSION = '0.10.1'
|
25
23
|
end
|
26
24
|
end
|
data/test/coverage.rb
CHANGED
data/test/suite_unittests.rb
CHANGED
data/test/test_config.rb
CHANGED
data/test/test_oauth2_handler.rb
CHANGED
data/test/test_savon_service.rb
CHANGED
data/test/test_utils.rb
CHANGED
metadata
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-ads-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Sergio Gomes
|
8
9
|
- Danial Klimkin
|
10
|
+
- Michael Cloonan
|
9
11
|
autorequire:
|
10
12
|
bindir: bin
|
11
13
|
cert_chain: []
|
12
|
-
date: 2015-
|
14
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
13
15
|
dependencies:
|
14
16
|
- !ruby/object:Gem::Dependency
|
15
17
|
name: savon
|
16
18
|
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
17
20
|
requirements:
|
18
21
|
- - ~>
|
19
22
|
- !ruby/object:Gem::Version
|
@@ -21,6 +24,7 @@ dependencies:
|
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
24
28
|
requirements:
|
25
29
|
- - ~>
|
26
30
|
- !ruby/object:Gem::Version
|
@@ -28,6 +32,7 @@ dependencies:
|
|
28
32
|
- !ruby/object:Gem::Dependency
|
29
33
|
name: httpi
|
30
34
|
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
31
36
|
requirements:
|
32
37
|
- - ~>
|
33
38
|
- !ruby/object:Gem::Version
|
@@ -35,6 +40,7 @@ dependencies:
|
|
35
40
|
type: :runtime
|
36
41
|
prerelease: false
|
37
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
38
44
|
requirements:
|
39
45
|
- - ~>
|
40
46
|
- !ruby/object:Gem::Version
|
@@ -42,6 +48,7 @@ dependencies:
|
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
49
|
name: signet
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
45
52
|
requirements:
|
46
53
|
- - ~>
|
47
54
|
- !ruby/object:Gem::Version
|
@@ -49,80 +56,97 @@ dependencies:
|
|
49
56
|
type: :runtime
|
50
57
|
prerelease: false
|
51
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
52
60
|
requirements:
|
53
61
|
- - ~>
|
54
62
|
- !ruby/object:Gem::Version
|
55
63
|
version: 0.6.0
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: rake
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 10.4.2
|
72
|
+
type: :development
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 10.4.2
|
56
80
|
description: Essential utilities shared by all Ads Ruby client libraries
|
57
|
-
email:
|
58
|
-
- api.dklimkin@gmail.com
|
81
|
+
email:
|
59
82
|
executables: []
|
60
83
|
extensions: []
|
61
84
|
extra_rdoc_files: []
|
62
85
|
files:
|
63
|
-
- COPYING
|
64
|
-
- ChangeLog
|
65
|
-
- README.md
|
66
86
|
- lib/ads_common/api.rb
|
67
|
-
- lib/ads_common/
|
87
|
+
- lib/ads_common/version.rb
|
88
|
+
- lib/ads_common/errors.rb
|
68
89
|
- lib/ads_common/auth/base_handler.rb
|
69
|
-
- lib/ads_common/auth/oauth2_handler.rb
|
70
90
|
- lib/ads_common/auth/oauth2_service_account_handler.rb
|
71
|
-
- lib/ads_common/
|
72
|
-
- lib/ads_common/
|
91
|
+
- lib/ads_common/auth/oauth2_handler.rb
|
92
|
+
- lib/ads_common/credential_handler.rb
|
93
|
+
- lib/ads_common/api_config.rb
|
94
|
+
- lib/ads_common/utils.rb
|
95
|
+
- lib/ads_common/build/savon_service_generator.rb
|
73
96
|
- lib/ads_common/build/savon_registry.rb
|
74
97
|
- lib/ads_common/build/savon_registry_generator.rb
|
75
|
-
- lib/ads_common/build/
|
98
|
+
- lib/ads_common/build/savon_abstract_generator.rb
|
99
|
+
- lib/ads_common/build/savon_generator.rb
|
76
100
|
- lib/ads_common/config.rb
|
77
|
-
- lib/ads_common/credential_handler.rb
|
78
|
-
- lib/ads_common/errors.rb
|
79
|
-
- lib/ads_common/http.rb
|
80
101
|
- lib/ads_common/parameters_validator.rb
|
81
|
-
- lib/ads_common/results_extractor.rb
|
82
102
|
- lib/ads_common/savon_headers/base_header_handler.rb
|
83
103
|
- lib/ads_common/savon_headers/oauth_header_handler.rb
|
104
|
+
- lib/ads_common/results_extractor.rb
|
105
|
+
- lib/ads_common/http.rb
|
84
106
|
- lib/ads_common/savon_service.rb
|
85
|
-
- lib/ads_common/utils.rb
|
86
|
-
- lib/ads_common/version.rb
|
87
|
-
- test/coverage.rb
|
88
107
|
- test/suite_unittests.rb
|
108
|
+
- test/coverage.rb
|
109
|
+
- test/test_results_extractor.rb
|
89
110
|
- test/test_config.rb
|
90
|
-
- test/
|
111
|
+
- test/test_utils.rb
|
91
112
|
- test/test_credential_handler.rb
|
92
113
|
- test/test_oauth2_handler.rb
|
93
|
-
- test/test_parameters_validator.rb
|
94
|
-
- test/test_results_extractor.rb
|
95
114
|
- test/test_savon_service.rb
|
96
|
-
- test/
|
97
|
-
|
115
|
+
- test/test_config.yml
|
116
|
+
- test/test_parameters_validator.rb
|
117
|
+
- COPYING
|
118
|
+
- README.md
|
119
|
+
- ChangeLog
|
120
|
+
homepage: https://github.com/googleads/google-api-ads-ruby
|
98
121
|
licenses:
|
99
122
|
- Apache-2.0
|
100
|
-
metadata: {}
|
101
123
|
post_install_message:
|
102
124
|
rdoc_options: []
|
103
125
|
require_paths:
|
104
126
|
- lib
|
105
127
|
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
106
129
|
requirements:
|
107
130
|
- - ! '>='
|
108
131
|
- !ruby/object:Gem::Version
|
109
132
|
version: '0'
|
110
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
111
135
|
requirements:
|
112
136
|
- - ! '>='
|
113
137
|
- !ruby/object:Gem::Version
|
114
138
|
version: 1.3.6
|
115
139
|
requirements: []
|
116
140
|
rubyforge_project: google-ads-common
|
117
|
-
rubygems_version:
|
141
|
+
rubygems_version: 1.8.23
|
118
142
|
signing_key:
|
119
|
-
specification_version:
|
143
|
+
specification_version: 3
|
120
144
|
summary: Common code for Google Ads APIs
|
121
145
|
test_files:
|
122
|
-
- test/
|
146
|
+
- test/test_results_extractor.rb
|
123
147
|
- test/test_config.rb
|
124
|
-
- test/test_credential_handler.rb
|
125
148
|
- test/test_utils.rb
|
126
|
-
- test/
|
149
|
+
- test/test_credential_handler.rb
|
127
150
|
- test/test_oauth2_handler.rb
|
128
|
-
- test/
|
151
|
+
- test/test_savon_service.rb
|
152
|
+
- test/test_parameters_validator.rb
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
ODExZjI0NTAwNDdmOWY2NzcxNGMwZmJlNDc1ZTg4YmRkYWVmM2VlMg==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YzdhOWY3OGMxMjYxMzJjYTZhY2YwNTMyY2YwZmU4YmVkZjAxMzM5OA==
|
7
|
-
SHA512:
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
MTllZWU2NDdhOWU1YzExNTYxM2ZjNTI5MzA1OTY5NzgwNDBiYzRmMTFiNDQ0
|
10
|
-
NmVhMWQ0NmJiNjY0MjFlNzFmYmRiNjNlYzdhNjgyMjIxN2E5Njc1Zjk3NTVl
|
11
|
-
MTdiMjhkZWQ1YTJjMmQzOTU5YWUwN2U0YjAzNGY5MmYxOWE1N2U=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MjZkNTA3MWE0ZTJlY2U2ODM0OGM2MTg2NGIyYzY5ZDE4MDM3NWEzYjM3Yjk5
|
14
|
-
MmM0ODQ3NDdhNjI5MjE2YWQ1ZGFjMDI0NDViMmEwNzdhY2UxOTIwOTNiZjc0
|
15
|
-
ZTIwNjFmOGQ1YWExNTM2OWM4NjAyNmE2MzY1YTI4YWI4NTM3OTc=
|