adcloud 0.7.5.1 → 0.7.5.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
data/adcloud.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.email = ['jan@railslove.com', 'm.schulz@kulturfluss.de']
|
7
7
|
gem.summary = %Q{Wrapper for adcloud API}
|
8
8
|
gem.description = %Q{This is the official adcloud API gem. If you have any problems or requests please contact api@adcloud.com.}
|
9
|
-
gem.homepage = '
|
9
|
+
gem.homepage = 'https://github.com/adcloud/api-client-ruby'
|
10
10
|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
11
11
|
gem.files = `git ls-files`.split("\n") - ['Gemfile.lock']
|
12
12
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -10,8 +10,8 @@ module Adcloud
|
|
10
10
|
attribute :clicks_delivered_today, Integer
|
11
11
|
attribute :impressions_delivered, Integer
|
12
12
|
attribute :impressions_delivered_today, Integer
|
13
|
-
attribute :
|
14
|
-
attribute :
|
13
|
+
attribute :conversions_delivered, Integer
|
14
|
+
attribute :conversions_delivered_today, Integer
|
15
15
|
attribute :performance, Float
|
16
16
|
|
17
17
|
end
|
data/lib/adcloud/version.rb
CHANGED
@@ -7,7 +7,7 @@ describe Adcloud::CampaignPerformanceData do
|
|
7
7
|
let(:connection) { stub }
|
8
8
|
|
9
9
|
describe ".find_by_campaign_ids" do
|
10
|
-
let(:response_data) { { "_meta" => {"page" => 1, "per_page" => 2, "size" => 2, "sort" => {}, "total_count" => 2, "total_pages" => 1, "type" => "Array<CampaignPerformanceData>", "uuid" => "542fe08151374ceaf8e97dfbc22d480d"}, "items" => [{"budget_delivered" => 0.0, "budget_delivered_today" => 0.0, "budget_limit_today" => 100.0, "campaign_id" => 101, "clicks_delivered" => 0, "clicks_delivered_today" => 0, "impressions_delivered" => 0, "impressions_delivered_today" => 0, "
|
10
|
+
let(:response_data) { { "_meta" => {"page" => 1, "per_page" => 2, "size" => 2, "sort" => {}, "total_count" => 2, "total_pages" => 1, "type" => "Array<CampaignPerformanceData>", "uuid" => "542fe08151374ceaf8e97dfbc22d480d"}, "items" => [{"budget_delivered" => 0.0, "budget_delivered_today" => 0.0, "budget_limit_today" => 100.0, "campaign_id" => 101, "clicks_delivered" => 0, "clicks_delivered_today" => 0, "impressions_delivered" => 0, "impressions_delivered_today" => 0, "conversions_delivered" => 0, "conversions_delivered_today" => 0, "performance" => 0.0 }, {"budget_delivered" => 0.0, "budget_delivered_today" => 0.0, "budget_limit_today" => 100.0, "campaign_id" => 102, "clicks_delivered" => 0, "clicks_delivered_today" => 0, "impressions_delivered" => 0, "impressions_delivered_today" => 0, "conversions_delivered" => 0, "conversions_delivered_today" => 0, "performance" => 0.0 } ] } }
|
11
11
|
|
12
12
|
before do
|
13
13
|
subject.stubs(:connection => connection)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.5.
|
4
|
+
version: 0.7.5.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-12-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: minitest
|
@@ -212,7 +212,7 @@ files:
|
|
212
212
|
- test/adcloud/webhook_test.rb
|
213
213
|
- test/adcloud_test.rb
|
214
214
|
- test/test_helper.rb
|
215
|
-
homepage:
|
215
|
+
homepage: https://github.com/adcloud/api-client-ruby
|
216
216
|
licenses: []
|
217
217
|
post_install_message:
|
218
218
|
rdoc_options: []
|