ishapi 0.1.8.119 → 0.1.8.120

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: 1f5b81ff8ff4d08f7c2047a997030d679336b57fd8fedc4f550353e2aee6eaf7
4
- data.tar.gz: 51a9cfad896137f46ce99db885060d09c5e74f276314ff43a45bffaf2430ad79
3
+ metadata.gz: 3a5914840d2a0f91b63f460d9f578d0f503b98db04038b6578fc4acf696233f4
4
+ data.tar.gz: 2c494403cefa3ef9543ca3087f5b183d7564cf8689ea31bbd153146fde3df036
5
5
  SHA512:
6
- metadata.gz: f7541abed98b9c6ce8d34aa57c2d458447433f00436d084e7eb1677e6ca996eae35a58539f6ecbef9b3467e9796f2d919e4f61e39ff2e2e987a6f7b0365c1cdb
7
- data.tar.gz: 565df196c961730b8890ac98d32a7b22b24db4f25a974c74a100ac980c3c95f0594fea49ae13a5239356c3230e38ea7216ec6460ebb7da0af15a30e65522e891
6
+ metadata.gz: 9158352265eb0a352fa8ab12b9e7aa59ac2d21fb67c0203c87c6d8aa99f790999c4e6cbbaea0af150c4223efeb41b13b23a43c1f1361bd1f2f1720f77cdb1793
7
+ data.tar.gz: f57305a13ebc7996fef660194d53d48504a8780497fc6f3a8023f985ecd2d27923103e26c89a906425a82692f350702ffa6eea2bf7e6fd05a3179b2406466b31
@@ -35,6 +35,11 @@ if video.is_premium
35
35
  json.premium_tier video.premium_tier
36
36
  json.is_premium video.premium_tier > 0
37
37
  if current_user && current_user.profile
38
- json.is_purchased current_user.profile.has_premium_purchase( item.video )
38
+ json.is_purchased current_user.profile.has_premium_purchase( video )
39
39
  end
40
40
  end
41
+
42
+ if video.thumb
43
+ json.photo_s169_url video.thumb.url( :s169 )
44
+ json.photo_thumb2_url video.thumb.url( :thumb2 )
45
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.119
4
+ version: 0.1.8.120
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox