ishapi 0.1.8.175 → 0.1.8.176

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: 07a4b4e0d9bd0969eeda9a1fe9589212a70bd5c8661e0302d9a1ba31a3f5137b
4
- data.tar.gz: 476d698e3c15ce28c33eae87a072f77853e3ca48008de339fd9aacf9b4e7e37c
3
+ metadata.gz: 534814e2570fd0506905da3c2af5baa3b54b7e23762ae0b1d43c7b733747a46d
4
+ data.tar.gz: 00f9f2f19642d1c51c3a1893d2657c1a77ee5e2254aa6ee4930b0bf33b307b86
5
5
  SHA512:
6
- metadata.gz: af2e387db139204820f396cfa0976223a2cdfd63c1c9a9fe5e43e4f69fb742d4ac99b1b7e2716c229bec19203a259dcd3badde894e669b7030377a1b86264e74
7
- data.tar.gz: ed0a356af8d052cab676e33e71d4efbb1a281acc98f76b57543e9ccdd8b26156ab7ddc4e5ee04cb65311aeb19b155e15d1b67eb635b446e746fe3c83c56279a5
6
+ metadata.gz: 53c030593cf235e01ca9b671b63bd47bfee8db9c2b9a84a8d10db01b401cadda3f6a14b7608f0a23ab888cb2fb8799a511798518060e76707e2accf1e9ca5d3a
7
+ data.tar.gz: 2f44b2869368baa23d513ddc82b6749cc22b1e87b1b720d769a50e4976334261bd3a7682db0728a94f0194c4decab25a13419619a749015a727aff580e1eafca
@@ -20,10 +20,9 @@ json.markers do
20
20
  ## @TODO: this is copy-pasted and should be abstracted.
21
21
  destination = marker.destination
22
22
  json.premium_tier destination.premium_tier
23
+ json.is_premium destination.is_premium
23
24
  json.id destination.id.to_s
24
25
  if destination.is_premium
25
- json.premium_tier destination.premium_tier
26
- json.is_premium destination.premium_tier > 0
27
26
  if current_user && current_user.profile
28
27
  json.is_purchased current_user.profile.has_premium_purchase( destination )
29
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ishapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.175
4
+ version: 0.1.8.176
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-21 00:00:00.000000000 Z
11
+ date: 2022-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails