wco_models 3.1.0.36 → 3.1.0.37

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
  SHA256:
3
- metadata.gz: 9927c044de503e08e80fd594856c8999b905ea62cf44760e684ad607af331003
4
- data.tar.gz: b7a1671bba9e35743c35c21eb41d7c593888886627a4b8da9b106d0aac1c6d75
3
+ metadata.gz: 846e223319833c5b8082e5a4a025e9e19996bd49aa2f12eee713aa703a29f772
4
+ data.tar.gz: a76155f4247d01d08d257dc8beff5677de93317d4fb26f713208c42a8f7f3b77
5
5
  SHA512:
6
- metadata.gz: f33072aa0bc60b1cf6817c7d022f09269c1e1028538075677219173441086a7f7dcc377d111c2121a1855b0efe6d0ab4cfddf86517b97f2810766cb36a86e228
7
- data.tar.gz: db46bbebe72aa382367da719e375b7cf2b6005691d2424c870c47a044d7559a17bc8765d4b55b6473096c2e7c8e33f35ab77089ae14e84039696a4cf97ad4972
6
+ metadata.gz: 9dfe93a9ee7efa81bc56d7acd16c1f226f4df418a79c69566abaa7298c73824330a0e38c2e9af7f51c8a9da605401639ef42bcecfd8e9c98726d877704e2de67
7
+ data.tar.gz: d35193f9f49ab9a7a5f6abf6d9d4779d1df863b5f3a436dfcdfcc88a17985a9d2e8ae0f081da178e39dd9dc54b6e5b590038d842e13f09b8f8a29d3ada88250f
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.36
4
+ version: 3.1.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
@@ -274,7 +274,6 @@ files:
274
274
  - app/models/wco/office_action.rb
275
275
  - app/models/wco/photo.rb
276
276
  - app/models/wco/premium_item.rb
277
- - app/models/wco/premium_tier.rb
278
277
  - app/models/wco/price.rb
279
278
  - app/models/wco/product.rb
280
279
  - app/models/wco/profile.rb
@@ -1,13 +0,0 @@
1
-
2
- module Wco::PremiumItem
3
-
4
- def self.included base
5
- base.send :field, :premium_tier, type: Integer, default: 0 # how many unlocks are need, to get access? 0 = free
6
- base.send :has_many, :premium_purchases, class_name: '::Ish::Payment', as: :item
7
- end
8
-
9
- def is_premium
10
- premium_tier > 0
11
- end
12
-
13
- end