ish_models 0.0.33.180 → 0.0.33.181

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/video.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab9ab58fbdd675ba653fecc53922fe73e06f1f8664f96b71b4be65eaff96f937
4
- data.tar.gz: b41ae3d27c737d8555666e8bb8a36ba10e24d8ff9fb4f31e1ed490392ad1231b
3
+ metadata.gz: 35c779eec7fc64840dfadc7ca7d585f6c4a583295e85c278580b53c3c0c0775a
4
+ data.tar.gz: 86dc21c7dca66c81652521a0d4ff86ab110bdbe819351835763f2bd40cdc320c
5
5
  SHA512:
6
- metadata.gz: bb011cfb98cd182ff924472416b69a578e70c7c63f48da960b70221ed7d38d32d0611ae6a447f969db087c177b14d7f135f9d276ea98ba651e5d679bcd20eaf7
7
- data.tar.gz: 8f64e5052dbca35cfea1ebefc000f712003b92c1a48a096e743ef84b13f891b8bf03ddde64989594407e0574a5fc75a525b56983e8e18c8a82cca633e373734a
6
+ metadata.gz: be8bc0b1e9e652f25308acb2c6c90ab0703e310bab8e51ad2f86404897444c6502d2910d1a5eae7862e5c6147a6716af1987f53cffcb0736b8f2974e9dde10db
7
+ data.tar.gz: a1bd576a1ef3d754f3216c0c6de25199872171783932ee8ad1628475dc1688f28c236ef86c078227ca7040ae42141622f028f1aecb8317726274b1c4d9370a91
data/lib/video.rb CHANGED
@@ -35,7 +35,7 @@ class Video
35
35
  field :lang, :type => String, :default => 'en'
36
36
 
37
37
  field :youtube_id, :type => String
38
- validates :youtube_id, :uniqueness => true
38
+ validates :youtube_id, :uniqueness => true, allow_nil: true
39
39
 
40
40
 
41
41
  belongs_to :user_profile, :optional => true, :class_name => 'Ish::UserProfile', :inverse_of => :videos
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.180
4
+ version: 0.0.33.181
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox