bucket_cake 5.2.0 → 5.2.1

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: 4864bb3d260855df5cd646f807906c5c925ab22e
4
- data.tar.gz: 2bec66c3b57295ecbb333bf2b9779cc6c82b4fbc
3
+ metadata.gz: c70c6ebd3e74463c225cf381f435bd9ba555eb2a
4
+ data.tar.gz: 40d780925bac1c782eea33810d0c31662f0fee40
5
5
  SHA512:
6
- metadata.gz: 8857d75b92a998d8dfcc982077fff8a2ba2266a0c80d43074bfc1c82a6c0500ed342daa3085dafb1c121862a2f9b4001c17b8c9f61d0a7a6dd1b9406fa315752
7
- data.tar.gz: 9b4741d815da262b8d9f95473b30c81b5b8da4f268000af1d108bdb3029c16ecbb3f194b92bd89f33861a2781635237469cf2721e3330feaadf1c27d195849ce
6
+ metadata.gz: 1682f264a01266b295152ea1a66cf3f76266a5ae6edcf823ed08c4d0038fe7ac6300a33bb7a1f8419c80fe0ed42ea3945a9cee096ce37ca029c1c653d315efe9
7
+ data.tar.gz: cd5a860472517fdc2f0d2b80ce8fc665c2505b2a36615d9efbceb215d969c504c53a35a609f8bfd5ec2b7df300486b990dd961e4036fd885478f6cbb9144b9ad
@@ -33,7 +33,7 @@ module BucketCake
33
33
  end
34
34
 
35
35
  def items
36
- get source, self.class::PROTOCLASS
36
+ get source, self.class::PROTOCLASS.call
37
37
  end
38
38
 
39
39
  private
@@ -3,27 +3,27 @@ module BucketCake
3
3
  module Entities
4
4
  class Advertisers < Base::Latest
5
5
  FOLDER = 'advertisers'
6
- PROTOCLASS = Cakeproto::Advertiser
6
+ PROTOCLASS = -> { Cakeproto::Advertiser }
7
7
  end
8
8
 
9
9
  class Affiliates < Base::Latest
10
10
  FOLDER = 'affiliates'
11
- PROTOCLASS = Cakeproto::Affiliate
11
+ PROTOCLASS = -> { Cakeproto::Affiliate }
12
12
  end
13
13
 
14
14
  class Campaigns < Base::Latest
15
15
  FOLDER = 'campaigns'
16
- PROTOCLASS = Cakeproto::Campaign
16
+ PROTOCLASS = -> { Cakeproto::Campaign }
17
17
  end
18
18
 
19
19
  class Creatives < Base::Latest
20
20
  FOLDER = 'creatives'
21
- PROTOCLASS = Cakeproto::Creative
21
+ PROTOCLASS = -> { Cakeproto::Creative }
22
22
  end
23
23
 
24
24
  class Offers < Base::Latest
25
25
  FOLDER = 'offers'
26
- PROTOCLASS = Cakeproto::Offer
26
+ PROTOCLASS = -> { Cakeproto::Offer }
27
27
  end
28
28
  end
29
29
  end
@@ -3,21 +3,21 @@ module BucketCake
3
3
  module Facts
4
4
  class Clicks < Base::Range
5
5
  FOLDER = 'clicks'
6
- PROTOCLASS = Cakeproto::Click
6
+ PROTOCLASS = -> { Cakeproto::Click }
7
7
  end
8
8
 
9
9
  class Conversions < Base::Range
10
10
  FOLDER = 'conversions'
11
- PROTOCLASS = Cakeproto::Conversion
11
+ PROTOCLASS = -> { Cakeproto::Conversion }
12
12
  end
13
13
 
14
14
  class CapStates < Base::Range
15
15
  FOLDER = 'cap_states'
16
- PROTOCLASS = Cakeproto::CapState
16
+ PROTOCLASS = -> { Cakeproto::CapState }
17
17
 
18
18
  class Latest < Base::Latest
19
19
  FOLDER = 'cap_states'
20
- PROTOCLASS = Cakeproto::CapState
20
+ PROTOCLASS = -> { Cakeproto::CapState }
21
21
  end
22
22
  end
23
23
  end
@@ -3,42 +3,42 @@ module BucketCake
3
3
  module Values
4
4
  class AffiliateTiers < Base::Latest
5
5
  FOLDER = 'affiliate_tiers'
6
- PROTOCLASS = Cakeproto::IdName
6
+ PROTOCLASS = -> { Cakeproto::IdName }
7
7
  end
8
8
 
9
9
  class BlacklistReasons < Base::Latest
10
10
  FOLDER = 'blacklist_reasons'
11
- PROTOCLASS = Cakeproto::IdName
11
+ PROTOCLASS = -> { Cakeproto::IdName }
12
12
  end
13
13
 
14
14
  class Countries < Base::Latest
15
15
  FOLDER = 'countries'
16
- PROTOCLASS = Cakeproto::Country
16
+ PROTOCLASS = -> { Cakeproto::Country }
17
17
  end
18
18
 
19
19
  class Currencies < Base::Latest
20
20
  FOLDER = 'currencies'
21
- PROTOCLASS = Cakeproto::Currency
21
+ PROTOCLASS = -> { Cakeproto::Currency }
22
22
  end
23
23
 
24
24
  class ExchangeRates < Base::Latest
25
25
  FOLDER = 'exchange_rates'
26
- PROTOCLASS = Cakeproto::ExchangeRate
26
+ PROTOCLASS = -> { Cakeproto::ExchangeRate }
27
27
  end
28
28
 
29
29
  class MediaTypes < Base::Latest
30
30
  FOLDER = 'media_types'
31
- PROTOCLASS = Cakeproto::IdName
31
+ PROTOCLASS = -> { Cakeproto::IdName }
32
32
  end
33
33
 
34
34
  class PaymentTypes < Base::Latest
35
35
  FOLDER = 'payment_types'
36
- PROTOCLASS = Cakeproto::IdName
36
+ PROTOCLASS = -> { Cakeproto::IdName }
37
37
  end
38
38
 
39
39
  class Verticals < Base::Latest
40
40
  FOLDER = 'verticals'
41
- PROTOCLASS = Cakeproto::IdName
41
+ PROTOCLASS = -> { Cakeproto::IdName }
42
42
  end
43
43
  end
44
44
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module BucketCake
3
- VERSION = '5.2.0'
3
+ VERSION = '5.2.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bucket_cake
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2016-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk