adroller 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -1
- data/adroller.gemspec +1 -0
- data/lib/adroll/service.rb +8 -2
- data/lib/adroll.rb +1 -0
- data/lib/adroller/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc1dd08ddfa36709c70445d7926e24dff55e8ffb
|
4
|
+
data.tar.gz: c382cf0784f1064529634370bb1a1b67c430b48e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8d3c65f5c5d6f4218deb756df474dfa795a5eaa079b901fc2cc0b20068a9017cf64dfce85d61ed31b564325e7631d6aaf300c40df8c9133c875318f14fbe8d6
|
7
|
+
data.tar.gz: ef729d9f793a20d429b72829de37d521bc2d207db7a8e5e947e71d4780f066927ddd184273c8697b551734d408719209ce6fde9f5e509d14fd2fe0f7af6cc1bc
|
data/Gemfile.lock
CHANGED
@@ -2,6 +2,7 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
adroller (1.0.2)
|
5
|
+
httmultiparty (~> 0.3.13)
|
5
6
|
httparty (~> 0.13.1)
|
6
7
|
|
7
8
|
GEM
|
@@ -25,13 +26,19 @@ GEM
|
|
25
26
|
diff-lcs (1.2.5)
|
26
27
|
factory_girl (4.4.0)
|
27
28
|
activesupport (>= 3.0.0)
|
28
|
-
|
29
|
+
httmultiparty (0.3.16)
|
30
|
+
httparty (>= 0.7.3)
|
31
|
+
mimemagic
|
32
|
+
multipart-post
|
33
|
+
httparty (0.13.7)
|
29
34
|
json (~> 1.8)
|
30
35
|
multi_xml (>= 0.5.2)
|
31
36
|
i18n (0.6.11)
|
32
37
|
json (1.8.1)
|
38
|
+
mimemagic (0.3.0)
|
33
39
|
minitest (5.4.0)
|
34
40
|
multi_xml (0.5.5)
|
41
|
+
multipart-post (2.0.0)
|
35
42
|
rake (10.4.2)
|
36
43
|
rspec (3.0.0)
|
37
44
|
rspec-core (~> 3.0.0)
|
data/adroller.gemspec
CHANGED
@@ -25,4 +25,5 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_development_dependency 'webmock', '~> 1.18', '>= 1.18.0'
|
26
26
|
spec.add_development_dependency 'factory_girl', '~> 4.4', '>= 4.4.0'
|
27
27
|
spec.add_dependency 'httparty', '~> 0.13.1'
|
28
|
+
spec.add_dependency 'httmultiparty', '~> 0.3.13'
|
28
29
|
end
|
data/lib/adroll/service.rb
CHANGED
@@ -16,8 +16,14 @@ module AdRoll
|
|
16
16
|
response = HTTParty.send(request_method, request_uri,
|
17
17
|
basic_auth: basic_auth, query: query_params, debug_output: $stdout)
|
18
18
|
else
|
19
|
-
|
20
|
-
|
19
|
+
if request_uri == 'https://api.adroll.com/v1/ad/create'
|
20
|
+
response = HTTMultiParty.send(request_method, request_uri,
|
21
|
+
basic_auth: basic_auth, body: query_params, debug_output: $stdout)
|
22
|
+
|
23
|
+
else
|
24
|
+
response = HTTParty.send(request_method, request_uri,
|
25
|
+
basic_auth: basic_auth, body: query_params, debug_output: $stdout)
|
26
|
+
end
|
21
27
|
end
|
22
28
|
|
23
29
|
begin
|
data/lib/adroll.rb
CHANGED
data/lib/adroller/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adroller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikolas Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -132,6 +132,20 @@ dependencies:
|
|
132
132
|
- - "~>"
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: 0.13.1
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: httmultiparty
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - "~>"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 0.3.13
|
142
|
+
type: :runtime
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - "~>"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: 0.3.13
|
135
149
|
description: Ruby Gem for Interaction with AdRoll v1 API
|
136
150
|
email:
|
137
151
|
- nikolasliamdavis@gmail.com
|