ish_models 0.0.33.95 → 0.0.33.96

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 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7401d2a3cc4a7307b3412349efacb2cdee41af38dd8de4eb186e6309934c373f
4
- data.tar.gz: a10804ed4c144bca8fbca9e8feba4d791d94a1078e852c9e8891ac0d604cf46d
3
+ metadata.gz: 6650d9f574db8b4abed311432fcc1080beb6d7fa8b51837ddeba656226652c66
4
+ data.tar.gz: b3a5b1869f029aaace58838e79c6f64ada7e09b66534bd20ce1040b95da87b8d
5
5
  SHA512:
6
- metadata.gz: 4469ecea660c1f7412e4996af018d5a01caf0db1b186bee6fde773fa20fae2007e0d5f2ca790a0643959d4caa66240a71e37f01a668795d7175162e3057c9e89
7
- data.tar.gz: 5b5bd86289210441897094c11a87daef03aea26b8e686f963f6e6ab302fc3068b846ed2e83b360aa8610dd506d41ab53e1c2d64c1cba2a6c1d88e3072a7ac7c0
6
+ metadata.gz: c3bd9c676c04628387b9e77c5ccb51e19b93cbc2b555f2088f74f616afd871a60a09395e43b39df6269cf978243fbe5298e2d55cc9255091efc208704f29ff6b
7
+ data.tar.gz: cece0654e4ecbecb8eec40846f01a936f1c46bff82070c01b20c53e11c56bfd5232123eaf48cc7672cf07516961035fcd4e00cba1b7092542621a76e79d58636
data/lib/video.rb CHANGED
@@ -6,8 +6,7 @@ class Video
6
6
  PER_PAGE = 6
7
7
 
8
8
  field :name, :type => String
9
- field :descr, :type => String
10
- def description; descr; end
9
+ field :descr, :type => String, :as => :description
11
10
 
12
11
  default_scope ->{ where({ :is_public => true, :is_trash => false }).order_by({ :created_at => :desc }) }
13
12
 
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.95
4
+ version: 0.0.33.96
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox