disco_app 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/disco_app/shop.rb +1 -1
- data/lib/disco_app/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c705a8acd188b7b3d9ad788e9209741aad8c77538b9074a4ab941190822b250e
|
4
|
+
data.tar.gz: bd2c8a1857866003c55ae576fc491e786b89789919d8fc6f0068d2b5a036938f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9d649d88fc0731512c5b6bf4d3c3a7463876ef964d8691ceea4b5b68fd11ab0d8cd05eab42dc709aba2c5175011dcb2fed40159170d84be8314724fb3e719e1
|
7
|
+
data.tar.gz: e70046b0e94952fa9a068631bb0e55fb3256c675c563ad7ceea15aa66cbfa46221ca2194b22a926a8437eee97012f1c75602f86bd0a2d7bb16044e234214de0e
|
@@ -14,7 +14,7 @@ module DiscoApp
|
|
14
14
|
|
15
15
|
# Define some useful scopes.
|
16
16
|
scope :status, -> (status) { where status: status }
|
17
|
-
scope :installed, -> { where status:
|
17
|
+
scope :installed, -> { where status: ::Shop.statuses[:installed] }
|
18
18
|
scope :has_active_shopify_plan, -> { where.not(plan_name: [:cancelled, :frozen]) }
|
19
19
|
|
20
20
|
# Alias 'with_shopify_session' as 'temp', as per our existing conventions.
|
data/lib/disco_app/version.rb
CHANGED