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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b0a69d63c5a335d5749448b48a83c9d10d87635fb16d293303d5e92917a85fe
4
- data.tar.gz: 640ecdef22f6df3d548b6c0c5fe75b654590853e28775f6d0ae175002fb37af7
3
+ metadata.gz: c705a8acd188b7b3d9ad788e9209741aad8c77538b9074a4ab941190822b250e
4
+ data.tar.gz: bd2c8a1857866003c55ae576fc491e786b89789919d8fc6f0068d2b5a036938f
5
5
  SHA512:
6
- metadata.gz: a77e72901e951e51f7ae2cb5858b41f6df77b8a7098d529b6edf2978e717df8d5b0290b047cd53bc0c867188e82c4bba509f03165de80e80ff365f57a13dd1a2
7
- data.tar.gz: 50e0e8537d04ce213fb3fd941f4909d9ba70b3506216165f8a685c83989dc2b175d347d6d383141600434b0a0c1b1306a22a8ef248147580cf5446ab051b8149
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: ShopifySession.statuses[:installed] }
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.
@@ -1,3 +1,3 @@
1
1
  module DiscoApp
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: disco_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Ballard