eucalyptus 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/eucalyptus.gemspec +2 -2
- data/lib/eucalyptus/ad.rb +10 -6
- data/spec/eucalyptus/ad_spec.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0ac219f3956636cf7cc61c83e54c86f449d5a13
|
4
|
+
data.tar.gz: ed03a0e6574bb409249399a360a5104dd18bd0fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72c66fd379da90d67a3ff59b940e41f49de69dd22ed32e805d3907dcf309b1e407328fc9f5f03aa85e82fb4a6d45a409fcc8d8d26ae07a99c655cdef5ff07c29
|
7
|
+
data.tar.gz: 3e9aafb2fc77cfd1af8a34e29b6cb6568c39084e09dc3bd5a64e2f1780a55e804568381472ab448cd4b516293b31ec0899e6fc9b121d470f3fb07fbf4934a34d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.6
|
data/eucalyptus.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: eucalyptus 0.2.
|
5
|
+
# stub: eucalyptus 0.2.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "eucalyptus"
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.6"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/lib/eucalyptus/ad.rb
CHANGED
@@ -5,17 +5,21 @@ module Eucalyptus
|
|
5
5
|
def self.known_fields
|
6
6
|
[
|
7
7
|
:id,
|
8
|
-
:
|
8
|
+
:account_id,
|
9
|
+
:adgroup_review_feedback,
|
9
10
|
:adgroup_status,
|
11
|
+
:bid_type,
|
10
12
|
:bid_info,
|
11
|
-
:conversion_specs,
|
12
13
|
:campaign_id,
|
14
|
+
:campaign_group_id,
|
15
|
+
:conversion_specs,
|
16
|
+
:created_time,
|
13
17
|
:creative,
|
14
|
-
:
|
15
|
-
:
|
16
|
-
:redownload,
|
18
|
+
:failed_delivery_checks,
|
19
|
+
:targeting,
|
17
20
|
:tracking_specs,
|
18
|
-
:
|
21
|
+
:updated_time,
|
22
|
+
:name
|
19
23
|
]
|
20
24
|
end
|
21
25
|
|
data/spec/eucalyptus/ad_spec.rb
CHANGED
@@ -9,6 +9,15 @@ describe Eucalyptus::Ad do
|
|
9
9
|
|
10
10
|
let(:ad) { Eucalyptus::Ad.all.last }
|
11
11
|
|
12
|
+
describe '#find' do
|
13
|
+
it 'retuns an ad' do
|
14
|
+
VCR.use_cassette("ad") do
|
15
|
+
ad = Eucalyptus::Ad.all.last
|
16
|
+
Eucalyptus::Ad.find(ad.id)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
12
21
|
describe '#insights' do
|
13
22
|
it 'returns an array of insights for the account' do
|
14
23
|
VCR.use_cassette("ad_set_insights") do
|