wco_models 3.1.0.98 → 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: e44f2181d5b05ecc5c9319190b250b9ca2849027fe8cd860a46e919be4a79086
4
- data.tar.gz: 5f3d6b29987b4f9f70a46ce1149d2d56ab7c238e7f4bf21ee8d8dee071ac1173
3
+ metadata.gz: 2f992057b3459389750e637a72ca85fbf5b89c2e43b27914e845c93550579c61
4
+ data.tar.gz: ad1b76da7a02e9ba92dbd3593311b490d3021a1218dbc122536a7ca946184ef3
5
5
  SHA512:
6
- metadata.gz: 249d572896a5309d87c3ec564f5c513844931faf3b1dad13a8bd1e4947be757e8214fef18520a9630cdbb66fa85e084f8be891e1c25a0757651380a148c5ca3d
7
- data.tar.gz: 0c796d533f3e79b24878a6d65ecc7c82cfff22cceccdc119db4da07cd0f53a5bc6cd17e5607d91c6672785c47ec9cea6277fe2075bbd748d173da0bf97c97db6
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
@@ -140,10 +140,10 @@ class WcoEmail::MessageStub
140
140
  @message.save
141
141
  end
142
142
 
143
- ## Attachments
144
- the_mail.attachments.each do |att|
145
- @message.save_attachment( att )
146
- end
143
+ ## Attachments, which are parts (omit!)
144
+ # the_mail.attachments.each do |att|
145
+ # @message.save_attachment( att )
146
+ # end
147
147
 
148
148
  if !@message.save
149
149
  puts! @message.errors.full_messages.join(", "), "Could not save @message"
@@ -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.98
4
+ version: 3.1.0.100
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev