shopify_app 6.0.2 → 6.0.3

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
  SHA1:
3
- metadata.gz: 2128cbc693c2918c3f6e8de7f46db48a1eb35970
4
- data.tar.gz: 7c604d8f79f315f2195fa80c9de2df2f97e124e5
3
+ metadata.gz: 0e4b7c91f3be1d41222c4164b7dbd68907e79d23
4
+ data.tar.gz: 6846fbe50432cc495f31910b3b242c02f197d3ec
5
5
  SHA512:
6
- metadata.gz: 67b2bde7fe1c4aba16f6a4d247b91197fc4d60bb67d1ba3cfabfc0230d9c8a6fd5702982d76601c50b0a7e9bd5cbb5a928b946ccb31f293b0101305816cd57b0
7
- data.tar.gz: af165ae01b04a02c143c1d73dae6df405d8671ab83ff4635c638763efbe18bcfaa7860f1acec1eab290eec8ef009d193cafe17f8faa4652e64e45d2c5725d7e1
6
+ metadata.gz: 44d0bbca6dcf75b12d90d5f16817d7c99683937d7a7c5d07c5e2055c219a01b8ac77962092ad0d17518ab9e44e3832760c8f14e1c8e01889b766c3a34130b22d
7
+ data.tar.gz: 066fcdb1cd2aea7c8f45dd920cc1147c79eae415902223d5a43c4e08a160a2289d19f9ea578c7e1919b8237e7ccac8efd44137d51c1baf3f8960461d13555e49
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  class SessionStorage
2
2
  def self.store(session)
3
- shop = self.find_or_initialize_by(shopify_domain: session.url)
3
+ shop = Shop.find_or_initialize_by(shopify_domain: session.url)
4
4
  shop.shopify_token = session.token
5
5
  shop.save!
6
6
  shop.id
@@ -8,7 +8,7 @@ class SessionStorage
8
8
 
9
9
  def self.retrieve(id)
10
10
  return unless id
11
- shop = self.find(id)
11
+ shop = Shop.find(id)
12
12
  ShopifyAPI::Session.new(shop.shopify_domain, shop.shopify_token)
13
13
  rescue ActiveRecord::RecordNotFound
14
14
  nil
@@ -1,3 +1,3 @@
1
1
  module ShopifyApp
2
- VERSION = "6.0.2"
2
+ VERSION = "6.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2
4
+ version: 6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
@@ -30,7 +30,7 @@ cert_chain:
30
30
  fl3hbtVFTqbOlwL9vy1fudXcolIE/ZTcxQ+er07ZFZdKCXayR9PPs64heamfn0fp
31
31
  TConQSX2BnZdhIEYW+cKzEC/bLc=
32
32
  -----END CERTIFICATE-----
33
- date: 2015-05-01 00:00:00.000000000 Z
33
+ date: 2015-05-04 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rails
metadata.gz.sig CHANGED
Binary file