disco_app 0.7.0 → 0.7.1

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: 68caa1ce47b61667169703ebd83a0cd91959e663bcfabc1993ec060892139e81
4
- data.tar.gz: 1f4b759c70b234668f9691a628acd56e0dbee57dfc7fe9542ebbc15d25d6862d
3
+ metadata.gz: 25ef8173052fd93fcd533b82787c9f12458471ab3f683200ec7431cbde2a45ac
4
+ data.tar.gz: 52b0ec3760a24c6c7bb93cba6f1ad89649f2e8537d65fedaa68e3be141e3b967
5
5
  SHA512:
6
- metadata.gz: f3c6c70e1e0c8c7e7eea4d729afe768830b6caeecac921a1b2ac0b6b9d224ff686a6a5b7f8312ff8fa66b7a47f8a79261fe645a552e0786afcba2bd7355287c9
7
- data.tar.gz: c957d6a3eafb4214f7fd548dc145b9f301b1d4ac70ec7f36a328c96f7c5c20aeab24ef97fde384c8973acdcf6e7cda948f4dd5781237d72a3693338b80f7bc7f
6
+ metadata.gz: 1b0fb7cfcbce18471c0f589e25897566f839be06a214c487e57c0944fe4b85bf4b4222d1f5a11aad5e515c4ad531321dc5a09f6866f22c9d1a65f45d660cbe20
7
+ data.tar.gz: 1d806e7dacb057b11664599de746929ead7e00e7fa33c8bac90426795c43f57fea20326513ce4c2046372d499a4e109d83e87f79d9056007d59325049cfafd6b
@@ -1,12 +1,14 @@
1
- class DiscoApp::Session < ActiveRecord::SessionStore::Session
1
+ module DiscoApp
2
+ class Session < ActiveRecord::SessionStore::Session
2
3
 
3
- before_save :set_shop_id!
4
+ before_save :set_shop_id!
4
5
 
5
- private
6
+ private
6
7
 
7
- def set_shop_id!
8
- return false unless loaded?
9
- write_attribute(:shop_id, data[:shopify] || data['shopify'])
10
- end
8
+ def set_shop_id!
9
+ return false unless loaded?
10
+ write_attribute(:shop_id, data[:shopify] || data['shopify'])
11
+ end
11
12
 
13
+ end
12
14
  end
@@ -1,3 +1,3 @@
1
1
  module DiscoApp
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
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.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Ballard