eucalyptus 1.2.2 → 1.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a421a473b98d85de7ecf390a784b904bbb2d501
4
- data.tar.gz: 250ebce662d6d5ba065dbbd576ef3673647ad1eb
3
+ metadata.gz: debbb0e0ad18ff723000d55374e79ffde2c6fa88
4
+ data.tar.gz: 6e7dd090a43a38fb46dc19de6b820be2549dc17e
5
5
  SHA512:
6
- metadata.gz: 2009d522641868cdbf33914260a36e815c2f10e62fa704f673821f922ede378623bf5b59d9d0aa710b9369340b64dd465e7fba6c22851d06469c4925f86bf024
7
- data.tar.gz: ab0f4dc310ef97251742e7031735ffe078d31827137d0f1588120be4d585e4f46ceea3adbb618853dfa9181c9327368759d9ecb149880e0530a466b00580918d
6
+ metadata.gz: afd9df709b0b4729acb537ce70254cf09571dd5494ddfc2fd25e72e93bd6a2bc48571feadfe2cf698c669c0ba3a5313dbc9c491e72175e46e41e3352e0d1279b
7
+ data.tar.gz: 2a10655940799b2d1f9ee767ba25cb14e0d7c10268c2e90b56a7d1de24bd94e53c748b10874249e90ebd6df55fc1261a724d8135cef4c13966b1b4c3c2e495c3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.3
data/eucalyptus.gemspec CHANGED
@@ -2,16 +2,16 @@
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 1.2.2 ruby lib
5
+ # stub: eucalyptus 1.2.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "eucalyptus"
9
- s.version = "1.2.2"
9
+ s.version = "1.2.3"
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"]
13
13
  s.authors = ["Oguz Huner"]
14
- s.date = "2015-11-13"
14
+ s.date = "2015-11-27"
15
15
  s.description = "An easy interface and abstraction to the Facebook Ads API"
16
16
  s.email = "oguzcanhuner@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -4,7 +4,6 @@ module Eucalyptus
4
4
  class Insight < Resource
5
5
  def self.known_fields
6
6
  [
7
- :clicks,
8
7
  :cpc,
9
8
  :ctr,
10
9
  :reach,
@@ -12,7 +11,7 @@ module Eucalyptus
12
11
  :spend,
13
12
  :cost_per_action_type,
14
13
  :action_values,
15
- :actions
14
+ :inline_link_clicks
16
15
  ]
17
16
  end
18
17
 
@@ -4,10 +4,10 @@ describe Eucalyptus::Insight do
4
4
  describe '.known_fields' do
5
5
  it 'returns an object which responds to available fields' do
6
6
  VCR.use_cassette('account_insights') do
7
- account = Eucalyptus::Account.all.last
7
+ account = Eucalyptus::Account.all.first
8
8
  insights = account.insights.first
9
9
 
10
- expect(insights).to respond_to :clicks
10
+ expect(insights).to respond_to :inline_link_clicks
11
11
  expect(insights).to respond_to :cpc
12
12
  end
13
13
  end
data/spec/spec_helper.rb CHANGED
@@ -26,7 +26,7 @@ RSpec.configure do |config|
26
26
  Eucalyptus.configure do |config|
27
27
  config.access_token = ENV["ACCESS_TOKEN"]
28
28
  config.default_account_id = ENV["DEFAULT_ACCOUNT_ID"]
29
- config.api_version = "v2.3"
29
+ config.api_version = "v2.4"
30
30
  end
31
31
  end
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eucalyptus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oguz Huner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-13 00:00:00.000000000 Z
11
+ date: 2015-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: koala