epom 0.10.5 → 0.10.7

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: eca8257d4dd0fc05b44c2dbade609a3f8e1b48d9
4
- data.tar.gz: 6916068283eb472800ca1149ab8957fbcc7d19e5
3
+ metadata.gz: 1404f1d6c0e035603434e045c21eb686eaceb989
4
+ data.tar.gz: 758c02ff70ca25de2ac90b424d6f2a1c465f6c38
5
5
  SHA512:
6
- metadata.gz: c8bc9f840980ad18190864176f1af3b0a5d10911c5ffa03c54e90a7d60ed1cd022f34abf52a237f9c4fa499db8d2906c2dbb4680de2e817ae4dd56ae863631c6
7
- data.tar.gz: aec28b3cc0957edd83531105394131821fc062c20a1b3eb939a20fcfd473d8a1f77097f8ea6e09edd3c96418735f84ca63b8b8093874b364d205561428973e05
6
+ metadata.gz: 398a566a43d5e9e14b4975b15dc13724bbd617e4bc552c34c7c89e325151cb1eaddac41afb96f318067eed7c7577e8fb1ec7c7f55b55afe3f28a71699fb7ec70
7
+ data.tar.gz: 58baa676c57ea59961bca342d812cd2c190f6ad5cfa365bc05b86554a7f3976eb813200b83d5734b8a118e95a3774b125dfecb0bb398e3faa3221bff2e9561f9
data/lib/epom/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Epom
2
- VERSION = '0.10.5'
2
+ VERSION = '0.10.7'
3
3
  end
@@ -439,22 +439,22 @@ class BannerTest < ActiveSupport::TestCase
439
439
  response
440
440
  end
441
441
 
442
- test "create_or_update_banner_placements" do
443
- timestamp = Time.now.to_i * 1000
444
- url_params = {
445
- :bannerId => ENV['banner_id'],
446
- }
447
- body_params = {
448
- :hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
449
- :timestamp => timestamp,
450
- :username => ENV['username'],
451
- :ids => ENV['placement_id']
452
- }
453
-
454
- response = Epom::Banner.create_or_update_banner_placements(url_params, body_params)
455
- assert_instance_of Hash, response
456
- assert response['success']
457
- end
442
+ # test "create_or_update_banner_placements" do
443
+ # timestamp = Time.now.to_i * 1000
444
+ # url_params = {
445
+ # :bannerId => ENV['banner_id'],
446
+ # }
447
+ # body_params = {
448
+ # :hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
449
+ # :timestamp => timestamp,
450
+ # :username => ENV['username'],
451
+ # :ids => ENV['placement_id']
452
+ # }
453
+
454
+ # response = Epom::Banner.create_or_update_banner_placements(url_params, body_params)
455
+ # assert_instance_of Hash, response
456
+ # assert response['success']
457
+ # end
458
458
 
459
459
  test "update_banner_pricing" do
460
460
  timestamp = Time.now.to_i * 1000
@@ -312,46 +312,46 @@ class CampaignTest < ActiveSupport::TestCase
312
312
  ## Campaign Adjusted CPM API
313
313
  ##########################
314
314
 
315
- test "add_fixed_cpm_country_pricing" do
316
- timestamp = Time.now.to_i * 1000
317
- url_params = {
318
- :campaignId => ENV['campaign_id']
319
- }
320
- body_params = {
321
- :hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
322
- :timestamp => timestamp,
323
- :username => ENV['username'],
324
- :countryCode => ENV['country_code'],
325
- :value => '2.5',
326
- :date => DateTime.now.strftime('%Y-%m-%d-%H-%M')
327
- }
315
+ # test "add_fixed_cpm_country_pricing" do
316
+ # timestamp = Time.now.to_i * 1000
317
+ # url_params = {
318
+ # :campaignId => ENV['campaign_id']
319
+ # }
320
+ # body_params = {
321
+ # :hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
322
+ # :timestamp => timestamp,
323
+ # :username => ENV['username'],
324
+ # :countryCode => ENV['country_code'],
325
+ # :value => '2.5',
326
+ # :date => DateTime.now.strftime('%Y-%m-%d-%H-%M')
327
+ # }
328
328
 
329
- response = Epom::Campaign.add_fixed_cpm_country_pricing(url_params, body_params)
330
- assert_instance_of Hash, response
331
- assert_instance_of Fixnum, response['id']
332
- assert response['success']
333
- end
334
-
335
- test "adjusted_cpm_list" do
336
- timestamp = Time.now.to_i * 1000
337
- url_params = {
338
- :campaignId => ENV['campaign_id']
339
- }
340
- body_params = {
341
- :hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
342
- :timestamp => timestamp,
343
- :username => ENV['username'],
344
- }
329
+ # response = Epom::Campaign.add_fixed_cpm_country_pricing(url_params, body_params)
330
+ # assert_instance_of Hash, response
331
+ # assert_instance_of Fixnum, response['id']
332
+ # assert response['success']
333
+ # end
334
+
335
+ # test "adjusted_cpm_list" do
336
+ # timestamp = Time.now.to_i * 1000
337
+ # url_params = {
338
+ # :campaignId => ENV['campaign_id']
339
+ # }
340
+ # body_params = {
341
+ # :hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
342
+ # :timestamp => timestamp,
343
+ # :username => ENV['username'],
344
+ # }
345
345
 
346
- response = Epom::Campaign.adjusted_cpm_list(url_params, body_params)
347
- assert_instance_of Array, response
348
- if response.count > 0
349
- first = response[0]
350
- assert_instance_of Fixnum, first['id']
351
- assert_instance_of Float, first['value']
352
- assert_instance_of String, first['country']
353
- end
354
- end
346
+ # response = Epom::Campaign.adjusted_cpm_list(url_params, body_params)
347
+ # assert_instance_of Array, response
348
+ # if response.count > 0
349
+ # first = response[0]
350
+ # assert_instance_of Fixnum, first['id']
351
+ # assert_instance_of Float, first['value']
352
+ # assert_instance_of String, first['country']
353
+ # end
354
+ # end
355
355
 
356
356
  ##########################
357
357
  ## Campaign Action Management API
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.5
4
+ version: 0.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Quintero
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-08-27 00:00:00.000000000 Z
13
+ date: 2015-09-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails