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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 265b7b450e18e45aff7271b02db20d29b1ce4bf9
4
- data.tar.gz: 8b33c32a87f74cedaf94e1f1b6a3d301df32134b
3
+ metadata.gz: f0ac219f3956636cf7cc61c83e54c86f449d5a13
4
+ data.tar.gz: ed03a0e6574bb409249399a360a5104dd18bd0fb
5
5
  SHA512:
6
- metadata.gz: 40e5efd10760d0bfc8f17a300d2c3922ef8e0e1911aeef9accda2bedb529ab9d41ca0fe4860a295387b457d4adb9609a05db3b4572a2686d315b2e55085e7b9c
7
- data.tar.gz: 965301bff973b0a6fef4377094420b1936b8d2d3954de7c35cc66304e6804a8f226d0808329b617fab50015fb4d0f25450b0bbc511101f56f81e58384b6f5c6a
6
+ metadata.gz: 72c66fd379da90d67a3ff59b940e41f49de69dd22ed32e805d3907dcf309b1e407328fc9f5f03aa85e82fb4a6d45a409fcc8d8d26ae07a99c655cdef5ff07c29
7
+ data.tar.gz: 3e9aafb2fc77cfd1af8a34e29b6cb6568c39084e09dc3bd5a64e2f1780a55e804568381472ab448cd4b516293b31ec0899e6fc9b121d470f3fb07fbf4934a34d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
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 ruby lib
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.5"
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
- :name,
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
- :engagement_audiences,
15
- :execution_options,
16
- :redownload,
18
+ :failed_delivery_checks,
19
+ :targeting,
17
20
  :tracking_specs,
18
- :social_prefs
21
+ :updated_time,
22
+ :name
19
23
  ]
20
24
  end
21
25
 
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eucalyptus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oguz Huner