adapi 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,9 +3,12 @@
3
3
  require 'adapi'
4
4
 
5
5
  # find location by LocationService
6
+ #
7
+ # PS: country is locally translated to country_name if possible
6
8
 
7
9
  $search_params = [
8
10
  { :country => 'CZ' },
11
+ { :country => 'SK' },
9
12
  { :country => 'CZ', :province => 'Prague' },
10
13
  { :country => 'CZ', :province => 'Prague', :city => 'Prague' },
11
14
  { :province => 'Prague' },
data/lib/adapi.rb CHANGED
@@ -24,11 +24,16 @@ require 'adapi/ad/text_ad'
24
24
  require 'adapi/ad_param'
25
25
  require 'adapi/constant_data'
26
26
  require 'adapi/constant_data/language'
27
+ require 'adapi/constant_data/country'
27
28
  require 'adapi/location'
28
29
 
29
30
  # monkeypatch HTTPI - important, check the file!
30
31
  require 'httpi_request_monkeypatch'
31
32
 
33
+ # I can haz hack?! This hotfixes OAuth
34
+ # will be removed when new version of ads-common is released
35
+ require 'ads_common_monkeypatch'
36
+
32
37
  HTTPI.adapter = :curb
33
38
  HTTPI.log = false # supress HTTPI output
34
39
 
@@ -0,0 +1,254 @@
1
+ # encoding: utf-8
2
+
3
+ # FIXME this is hack stemming from the fact that there's not easy way how to
4
+ # search countries by country_code. Once I figure out the more elegant way, I'll
5
+ # remove it
6
+
7
+ module Adapi
8
+ class ConstantData::Location < ConstantData
9
+ class Country
10
+
11
+ COUNTRIES = [
12
+ ["Afghanistan","AF","2004"],
13
+ ["Albania","AL","2008"],
14
+ ["Algeria","DZ","2012"],
15
+ ["American Samoa","AS","2016"],
16
+ ["Andorra","AD","2020"],
17
+ ["Angola","AO","2024"],
18
+ ["Anguilla","AI","2660"],
19
+ ["Antarctica","AQ","2010"],
20
+ ["Antigua and Barbuda","AG","2028"],
21
+ ["Argentina","AR","2032"],
22
+ ["Armenia","AM","2051"],
23
+ ["Aruba","AW","2533"],
24
+ ["Australia","AU","2036"],
25
+ ["Austria","AT","2040"],
26
+ ["Azerbaijan","AZ","2031"],
27
+ ["Bahamas","BS","2044"],
28
+ ["Bahrain","BH","2048"],
29
+ ["Bangladesh","BD","2050"],
30
+ ["Barbados","BB","2052"],
31
+ ["Belarus","BY","2112"],
32
+ ["Belgium","BE","2056"],
33
+ ["Belize","BZ","2084"],
34
+ ["Benin","BJ","2204"],
35
+ ["Bermuda","BM","2060"],
36
+ ["Bhutan","BT","2064"],
37
+ ["Bolivia","BO","2068"],
38
+ ["Bosnia and Herzegovina","BA","2070"],
39
+ ["Botswana","BW","2072"],
40
+ ["Bouvet Island","BV","2074"],
41
+ ["Brazil","BR","2076"],
42
+ ["British Indian Ocean Territory","IO","2086"],
43
+ ["Brunei Darussalam","BN","2096"],
44
+ ["Bulgaria","BG","2100"],
45
+ ["Burkina Faso","BF","2854"],
46
+ ["Burundi","BI","2108"],
47
+ ["Cambodia","KH","2116"],
48
+ ["Cameroon","CM","2120"],
49
+ ["Canada","CA","2124"],
50
+ ["Cape Verde","CV","2132"],
51
+ ["Cayman Islands","KY","2136"],
52
+ ["Central African Republic","CF","2140"],
53
+ ["Chad","TD","2148"],
54
+ ["Chile","CL","2152"],
55
+ ["China","CN","2156"],
56
+ ["Christmas Island","CX","2162"],
57
+ ["Cocos (Keeling) Islands","CC","2166"],
58
+ ["Colombia","CO","2170"],
59
+ ["Comoros","KM","2174"],
60
+ ["Congo","CG","2178"],
61
+ ["Congo, Democratic Republic","CD","2180"],
62
+ ["Cook Islands","CK","2184"],
63
+ ["Costa Rica","CR","2188"],
64
+ ["Cote d'Ivoire","CI","2384"],
65
+ ["Croatia","HR","2191"],
66
+ ["Cyprus","CY","2196"],
67
+ ["Czech Republic","CZ","2203"],
68
+ ["Denmark","DK","2208"],
69
+ ["Djibouti","DJ","2262"],
70
+ ["Dominica","DM","2212"],
71
+ ["Dominican Republic","DO","2214"],
72
+ ["East Timor","TL","2626"],
73
+ ["Ecuador","EC","2218"],
74
+ ["Egypt","EG","2818"],
75
+ ["El Salvador","SV","2222"],
76
+ ["Equatorial Guinea","GQ","2226"],
77
+ ["Eritrea","ER","2232"],
78
+ ["Estonia","EE","2233"],
79
+ ["Ethiopia","ET","2231"],
80
+ ["Falkland Islands (Malvinas)","FK","2238"],
81
+ ["Faroe Islands","FO","2234"],
82
+ ["Fiji","FJ","2242"],
83
+ ["Finland","FI","2246"],
84
+ ["France","FR","2250"],
85
+ ["French Guiana","GF","2254"],
86
+ ["French Polynesia","PF","2258"],
87
+ ["French Southern Territories","TF","2260"],
88
+ ["Gabon","GA","2266"],
89
+ ["Gambia","GM","2270"],
90
+ ["Georgia","GE","2268"],
91
+ ["Germany","DE","2276"],
92
+ ["Ghana","GH","2288"],
93
+ ["Gibraltar","GI","2292"],
94
+ ["Greece","GR","2300"],
95
+ ["Greenland","GL","2304"],
96
+ ["Grenada","GD","2308"],
97
+ ["Guadeloupe","GP","2312"],
98
+ ["Guam","GU","2316"],
99
+ ["Guatemala","GT","2320"],
100
+ ["Guinea","GN","2324"],
101
+ ["Guinea-Bissau","GW","2624"],
102
+ ["Guyana","GY","2328"],
103
+ ["Haiti","HT","2332"],
104
+ ["Heard and McDonald Islands","HM","2334"],
105
+ ["Honduras","HN","2340"],
106
+ ["Hong Kong","HK","2344"],
107
+ ["Hungary","HU","2348"],
108
+ ["Iceland","IS","2352"],
109
+ ["India","IN","2356"],
110
+ ["Indonesia","ID","2360"],
111
+ ["Iraq","IQ","2368"],
112
+ ["Ireland","IE","2372"],
113
+ ["Israel","IL","2376"],
114
+ ["Italy","IT","2380"],
115
+ ["Jamaica","JM","2388"],
116
+ ["Japan","JP","2392"],
117
+ ["Jordan","JO","2400"],
118
+ ["Kazakhstan","KZ","2398"],
119
+ ["Kenya","KE","2404"],
120
+ ["Kiribati","KI","2296"],
121
+ ["Kuwait","KW","2414"],
122
+ ["Kyrgyzstan","KG","2417"],
123
+ ["Lao People's Democratic Republic","LA","2418"],
124
+ ["Latvia","LV","2428"],
125
+ ["Lebanon","LB","2422"],
126
+ ["Lesotho","LS","2426"],
127
+ ["Liberia","LR","2430"],
128
+ ["Libya","LY","2434"],
129
+ ["Liechtenstein","LI","2438"],
130
+ ["Lithuania","LT","2440"],
131
+ ["Luxembourg","LU","2442"],
132
+ ["Macau","MO","2446"],
133
+ ["Macedonia","MK","2807"],
134
+ ["Madagascar","MG","2450"],
135
+ ["Malawi","MW","2454"],
136
+ ["Malaysia","MY","2458"],
137
+ ["Maldives","MV","2462"],
138
+ ["Mali","ML","2466"],
139
+ ["Malta","MT","2470"],
140
+ ["Marshall Islands","MH","2584"],
141
+ ["Martinique","MQ","2474"],
142
+ ["Mauritania","MR","2478"],
143
+ ["Mauritius","MU","2480"],
144
+ ["Mayotte","YT","2175"],
145
+ ["Mexico","MX","2484"],
146
+ ["Micronesia","FM","2583"],
147
+ ["Moldova","MD","2498"],
148
+ ["Monaco","MC","2492"],
149
+ ["Mongolia","MN","2496"],
150
+ ["Montserrat","MS","2500"],
151
+ ["Morocco","MA","2504"],
152
+ ["Mozambique","MZ","2508"],
153
+ ["Namibia","NA","2516"],
154
+ ["Nauru","NR","2520"],
155
+ ["Nepal","NP","2524"],
156
+ ["Netherlands","NL","2528"],
157
+ ["Netherlands Antilles","AN","2530"],
158
+ ["New Caledonia","NC","2540"],
159
+ ["New Zealand","NZ","2554"],
160
+ ["Nicaragua","NI","2558"],
161
+ ["Niger","NE","2562"],
162
+ ["Nigeria","NG","2566"],
163
+ ["Niue","NU","2570"],
164
+ ["Norfolk Island","NF","2574"],
165
+ ["Northern Mariana Islands","MP","2580"],
166
+ ["Norway","NO","2578"],
167
+ ["Oman","OM","2512"],
168
+ ["Pakistan","PK","2586"],
169
+ ["Palau","PW","2585"],
170
+ ["Palestinian Territory","PS","2275"],
171
+ ["Panama","PA","2591"],
172
+ ["Papua New Guinea","PG","2598"],
173
+ ["Paraguay","PY","2600"],
174
+ ["Peru","PE","2604"],
175
+ ["Philippines","PH","2608"],
176
+ ["Pitcairn","PN","2612"],
177
+ ["Poland","PL","2616"],
178
+ ["Portugal","PT","2620"],
179
+ ["Puerto Rico","PR","2630"],
180
+ ["Qatar","QA","2634"],
181
+ ["Reunion","RE","2638"],
182
+ ["Romania","RO","2642"],
183
+ ["Russian Federation","RU","2643"],
184
+ ["Rwanda","RW","2646"],
185
+ ["Saint Kitts and Nevis","KN","2659"],
186
+ ["Saint Lucia","LC","2662"],
187
+ ["Saint Vincent and the Grenadines","VC","2670"],
188
+ ["Samoa","WS","2882"],
189
+ ["San Marino","SM","2674"],
190
+ ["Sao Tome and Principe","ST","2678"],
191
+ ["Saudi Arabia","SA","2682"],
192
+ ["Senegal","SN","2686"],
193
+ ["Serbia and Montenegro","CS","2891"],
194
+ ["Seychelles","SC","2690"],
195
+ ["Sierra Leone","SL","2694"],
196
+ ["Singapore","SG","2702"],
197
+ ["Slovakia","SK","2703"],
198
+ ["Slovenia","SI","2705"],
199
+ ["Solomon Islands","SB","2090"],
200
+ ["Somalia","SO","2706"],
201
+ ["South Africa","ZA","2710"],
202
+ ["South Georgia and The South Sandwich Islands","GS","2239"],
203
+ ["South Korea","KR","2410"],
204
+ ["Spain","ES","2724"],
205
+ ["Sri Lanka","LK","2144"],
206
+ ["St. Helena","SH","2654"],
207
+ ["St. Pierre and Miquelon","PM","2666"],
208
+ ["Suriname","SR","2740"],
209
+ ["Svalbard and Jan Mayen Islands","SJ","2744"],
210
+ ["Swaziland","SZ","2748"],
211
+ ["Sweden","SE","2752"],
212
+ ["Switzerland","CH","2756"],
213
+ ["Taiwan","TW","2158"],
214
+ ["Tajikistan","TJ","2762"],
215
+ ["Tanzania","TZ","2834"],
216
+ ["Thailand","TH","2764"],
217
+ ["Togo","TG","2768"],
218
+ ["Tokelau","TK","2772"],
219
+ ["Tonga","TO","2776"],
220
+ ["Trinidad and Tobago","TT","2780"],
221
+ ["Tunisia","TN","2788"],
222
+ ["Turkey","TR","2792"],
223
+ ["Turkmenistan","TM","2795"],
224
+ ["Turks and Caicos Islands","TC","2796"],
225
+ ["Tuvalu","TV","2798"],
226
+ ["Uganda","UG","2800"],
227
+ ["Ukraine","UA","2804"],
228
+ ["United Arab Emirates","AE","2784"],
229
+ ["United Kingdom","GB","2826"],
230
+ ["United States","US","2840"],
231
+ ["United States Minor Outlying Islands","UM","2581"],
232
+ ["Uruguay","UY","2858"],
233
+ ["Uzbekistan","UZ","2860"],
234
+ ["Vanuatu","VU","2548"],
235
+ ["Vatican","VA","2336"],
236
+ ["Venezuela","VE","2862"],
237
+ ["Viet Nam","VN","2704"],
238
+ ["Virgin Islands (British)","VG","2092"],
239
+ ["Virgin Islands (U.S.)","VI","2850"],
240
+ ["Wallis and Futuna Islands","WF","2876"],
241
+ ["Western Sahara","EH","2732"],
242
+ ["Yemen","YE","2887"],
243
+ ["Zambia","ZM","2894"],
244
+ ["Zimbabwe","ZW","2716"]
245
+ ]
246
+
247
+ def self.find_name_by_country_code(country_code)
248
+ country_code = country_code.upcase
249
+ COUNTRIES.find { |name,code,id| country_code == code }.first rescue nil
250
+ end
251
+
252
+ end
253
+ end
254
+ end
@@ -33,13 +33,21 @@ module Adapi
33
33
 
34
34
  params.symbolize_keys!
35
35
  first_only = (amount.to_sym == :first)
36
+
36
37
  # in which language to retrieve locations
37
38
  params[:locale] ||= 'en'
39
+
38
40
  # support for legacy parameter
39
41
  if params[:province] and not params[:region]
40
42
  params[:region] = params[:province]
41
43
  end
42
44
 
45
+ # if :country parameter is valid country code, replace it with country name
46
+ if params[:country] && (params[:country].size == 2)
47
+ country_name = ConstantData::Location::Country.find_name_by_country_code(params[:country])
48
+ params[:country] = country_name if country_name
49
+ end
50
+
43
51
  # determine by what criteria to search
44
52
  location_type, location_name = nil, nil
45
53
  LOCATIONS_HIERARCHY.each do |param_name|
data/lib/adapi/version.rb CHANGED
@@ -1,10 +1,14 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Adapi
4
- VERSION = "0.0.6"
4
+ VERSION = "0.0.7"
5
5
 
6
6
  # CHANGELOG:
7
7
  #
8
+ # 0.0.7
9
+ # fix Location search by country code
10
+ # hotfix OAuth
11
+ #
8
12
  # 0.0.6
9
13
  # updated to latest adwords-api and ads-common gems, which fix many issues with AdWords API version v201109
10
14
  # fix CampaignCriterion service
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+
3
+ # I can haz hack?! This hotfixes OAuth
4
+ # FIXME remove when new version of ads-common is released
5
+
6
+ # And not only this is monkeypatch, but we're changing constant as well...
7
+ # Look ma, no warnings!
8
+ AdsCommon::Auth::OAuthHandler::IGNORED_FIELDS.send('<<', :oauth_token_secret)
9
+ AdsCommon::Auth::OAuthHandler::IGNORED_FIELDS.send('<<', :oauth_token)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,33 +9,43 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-20 00:00:00.000000000 Z
12
+ date: 2012-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-ads-common
16
- requirement: &5230940 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - =
19
+ - - '='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 0.6.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *5230940
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.6.3
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: google-adwords-api
27
- requirement: &5229860 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
- - - =
35
+ - - '='
31
36
  - !ruby/object:Gem::Version
32
37
  version: 0.5.2
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *5229860
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - '='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.5.2
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: activemodel
38
- requirement: &5229100 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '3.1'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *5229100
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.1'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: activesupport
49
- requirement: &5228260 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '3.1'
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *5228260
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '3.1'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: rake
60
- requirement: &5227180 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: 0.9.2
66
86
  type: :runtime
67
87
  prerelease: false
68
- version_requirements: *5227180
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.9.2
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: curb
71
- requirement: &5226200 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ~>
@@ -76,10 +101,15 @@ dependencies:
76
101
  version: '0.7'
77
102
  type: :runtime
78
103
  prerelease: false
79
- version_requirements: *5226200
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: '0.7'
80
110
  - !ruby/object:Gem::Dependency
81
111
  name: yard
82
- requirement: &8121020 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
83
113
  none: false
84
114
  requirements:
85
115
  - - ~>
@@ -87,10 +117,15 @@ dependencies:
87
117
  version: '0.7'
88
118
  type: :development
89
119
  prerelease: false
90
- version_requirements: *8121020
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '0.7'
91
126
  - !ruby/object:Gem::Dependency
92
127
  name: rcov
93
- requirement: &8117900 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
94
129
  none: false
95
130
  requirements:
96
131
  - - ~>
@@ -98,21 +133,31 @@ dependencies:
98
133
  version: '0.9'
99
134
  type: :development
100
135
  prerelease: false
101
- version_requirements: *8117900
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: '0.9'
102
142
  - !ruby/object:Gem::Dependency
103
143
  name: turn
104
- requirement: &8115180 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
105
145
  none: false
106
146
  requirements:
107
- - - =
147
+ - - '='
108
148
  - !ruby/object:Gem::Version
109
149
  version: 0.8.2
110
150
  type: :development
111
151
  prerelease: false
112
- version_requirements: *8115180
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - '='
156
+ - !ruby/object:Gem::Version
157
+ version: 0.8.2
113
158
  - !ruby/object:Gem::Dependency
114
159
  name: shoulda
115
- requirement: &8102400 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
116
161
  none: false
117
162
  requirements:
118
163
  - - ! '>='
@@ -120,10 +165,15 @@ dependencies:
120
165
  version: '0'
121
166
  type: :development
122
167
  prerelease: false
123
- version_requirements: *8102400
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
124
174
  - !ruby/object:Gem::Dependency
125
175
  name: fakeweb
126
- requirement: &8100640 !ruby/object:Gem::Requirement
176
+ requirement: !ruby/object:Gem::Requirement
127
177
  none: false
128
178
  requirements:
129
179
  - - ! '>='
@@ -131,10 +181,15 @@ dependencies:
131
181
  version: '0'
132
182
  type: :development
133
183
  prerelease: false
134
- version_requirements: *8100640
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
135
190
  - !ruby/object:Gem::Dependency
136
191
  name: factory_girl
137
- requirement: &8099340 !ruby/object:Gem::Requirement
192
+ requirement: !ruby/object:Gem::Requirement
138
193
  none: false
139
194
  requirements:
140
195
  - - ! '>='
@@ -142,10 +197,15 @@ dependencies:
142
197
  version: '0'
143
198
  type: :development
144
199
  prerelease: false
145
- version_requirements: *8099340
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
146
206
  - !ruby/object:Gem::Dependency
147
207
  name: minitest
148
- requirement: &8097340 !ruby/object:Gem::Requirement
208
+ requirement: !ruby/object:Gem::Requirement
149
209
  none: false
150
210
  requirements:
151
211
  - - ! '>='
@@ -153,7 +213,12 @@ dependencies:
153
213
  version: '0'
154
214
  type: :development
155
215
  prerelease: false
156
- version_requirements: *8097340
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ! '>='
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
157
222
  description: This gem provides user-friendly interface to Google Adwords API.
158
223
  email:
159
224
  - lucastej@gmail.com
@@ -203,10 +268,12 @@ files:
203
268
  - lib/adapi/campaign_target.rb
204
269
  - lib/adapi/config.rb
205
270
  - lib/adapi/constant_data.rb
271
+ - lib/adapi/constant_data/country.rb
206
272
  - lib/adapi/constant_data/language.rb
207
273
  - lib/adapi/keyword.rb
208
274
  - lib/adapi/location.rb
209
275
  - lib/adapi/version.rb
276
+ - lib/ads_common_monkeypatch.rb
210
277
  - lib/httpi_request_monkeypatch.rb
211
278
  - test/config/adapi.yml.template
212
279
  - test/config/adwords_api.yml.template
@@ -241,7 +308,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
308
  version: '0'
242
309
  requirements: []
243
310
  rubyforge_project: adapi
244
- rubygems_version: 1.8.15
311
+ rubygems_version: 1.8.21
245
312
  signing_key:
246
313
  specification_version: 3
247
314
  summary: User-friendly interface to Google Adwords API