ish_models 0.0.33.260 → 0.0.33.261

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: 6291450aa3af2a529bc54e193556c1463ee7cfaad5161ad2e777cfe39c09b9dd
4
- data.tar.gz: 36613413540c6348a4b752b1c1d3b32c6ff0d4f00023a92e398a45db1bcea500
3
+ metadata.gz: fa73b63b2bd92ef84cfee8e0056d5eaac0e2f69ba25dde1a0a0fc2edb86ed422
4
+ data.tar.gz: 4f28cdfcf23e2de3e6d719505a536fe964504004cfd49dac8bc2c317b9ac88cf
5
5
  SHA512:
6
- metadata.gz: 786129d1e89cff3d9584f90a031421a2bd491780a47c9cc2043d4ab8f38219bb86f5f14447682f697ad9efb69d43c5afce4ad0bc5a6be5549038c151dd70f8e2
7
- data.tar.gz: f25a822b37ae6f9209318e7c550600792921fa9c82e8561a06563d2f9d3f6f6ddfcd8565063da20d66a6121dd2a8781ac4666e16855795cd589d68dd2c4446bb
6
+ metadata.gz: 6263da5a648720bbfae0b1e7ffee71fe8ac60602da6425a309de8acb62cf51777d90e645a58fbd846e717e258624480df8d70ac4003edff2ce09d6d78fc72357
7
+ data.tar.gz: 3fe0182f64af98d808ec64f49b32153c1da3bcab65afb1981eaa8e5820ad4449d6f4b647806abfb830bf7959b021aefcc9797158ba719eeb77acd8c997ac5e7f
data/lib/gallery.rb CHANGED
@@ -28,6 +28,7 @@ class Gallery
28
28
 
29
29
  field :lang, :default => 'en'
30
30
  field :username
31
+ field :lead_id, type: :integer
31
32
 
32
33
  field :slug
33
34
  index({ :slug => -1 }, { :unique => true })
data/lib/video.rb CHANGED
@@ -30,6 +30,8 @@ class Video
30
30
 
31
31
  field :is_public, :type => Boolean, :default => false
32
32
 
33
+ field :lead_id, type: :integer
34
+
33
35
  field :x, type: Float
34
36
  field :y, type: Float
35
37
  field :z, type: Float
data/lib/wco/product.rb CHANGED
@@ -16,7 +16,7 @@ class Wco::Product
16
16
  has_many :subscriptions, class_name: '::Wco::Subscription', inverse_of: :subscription
17
17
 
18
18
  def self.list
19
- [ [nil,nil] ] + self.all.map { |i| [i.name, i.price_id] }
19
+ [ [nil,nil] ] + self.all.map { |i| [i.name, i.id] }
20
20
  end
21
21
 
22
22
  end
@@ -3,7 +3,12 @@ class Wco::Subscription
3
3
  include Mongoid::Document
4
4
  include Mongoid::Timestamps
5
5
 
6
+ field :customer_id, type: :string # stripe
7
+ field :price_id, type: :string # stripe
8
+
6
9
  # belongs_to :organization, class_name: '::Wco::Organization', inverse_of: :subscriptions
7
10
  belongs_to :product, class_name: '::Wco::Product', inverse_of: :subscriptions
8
11
 
9
12
  end
13
+
14
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.260
4
+ version: 0.0.33.261
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox