wco_models 3.1.0.99 → 3.1.0.100

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
  SHA256:
3
- metadata.gz: 68432c9fa2f3adfc44a984725755a6d4c24f8fb5d74f43d86105534123476bf9
4
- data.tar.gz: 2b06c258ba1ce9398fca79563825afc6163773aaf504d50ea9358e26251c0ba1
3
+ metadata.gz: 2f992057b3459389750e637a72ca85fbf5b89c2e43b27914e845c93550579c61
4
+ data.tar.gz: ad1b76da7a02e9ba92dbd3593311b490d3021a1218dbc122536a7ca946184ef3
5
5
  SHA512:
6
- metadata.gz: 7c14b5ad9a168631385b65f112fa725f03f42e8b615f9c42d1496c0976fe0c2a6d723f2eb133ccb9c6554334f3578807cfd62fa213477c660963b3e62660a21b
7
- data.tar.gz: 6dc918ba8b44f12b696614bfd4a127b0da3591f6f32ae58b623471742563f99d0a1fc02f38f5c42668d57d4b69bfc94175fc5d4d88446602bfd25cdf765848f5
6
+ metadata.gz: 1ea7a234b2d0e744882349f53f128bb36d39802b0265b4b68ffb6b99f79bdb078ded3e4d5ef49b53b02088f6fccf2b3eff20b9ce7324fb6542ca257ba8df2237
7
+ data.tar.gz: 1c4471fcd47583f0a479ef797ed0260202c8ca04e89634e538c560b3058fe89938119216333263e4bceadc948087c001c070d598df1b0badbcf63e9ffcdd0950
@@ -12,8 +12,6 @@
12
12
  //= require vendor/jquery.fileupload
13
13
  //= require vendor/jquery-ui.min
14
14
  //
15
- // require select2
16
- //
17
15
  // require ./alerts-notices
18
16
  // require ./collapse-expand
19
17
  // require ./file_upload
@@ -67,10 +67,14 @@ class WcoHosting::ApplianceTmpl
67
67
 
68
68
  has_many :subscriptions, as: :product, class_name: 'Wco::Subscription'
69
69
 
70
+ field :product_id # stripe
71
+
70
72
  # belongs_to :price, class_name: 'Wco::Price', foreign_key: :wco_price_id
71
73
  has_one :price, as: :product, class_name: 'Wco::Price'
72
74
  field :price_id # stripe
73
75
 
74
-
76
+ def to_s
77
+ "#{kind}-#{version}"
78
+ end
75
79
  end
76
80
  AppTmpl = WcoHosting::ApplianceTmpl
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.99
4
+ version: 3.1.0.100
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev