shopify_app 7.0.8 → 7.0.9

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: da348d10e471eddae6424e29c9466ba16ec659f3
4
- data.tar.gz: 7f3510c7908fc70da93db96c624ee79796804366
3
+ metadata.gz: 6716a0798368b5ef8645264b3e2c15c8eccd8dfc
4
+ data.tar.gz: 30f28d2b2e8424e14780bb23066e4db19964f68e
5
5
  SHA512:
6
- metadata.gz: a1e7e6f5c7057742fb317840b21a2aa34271051d48b74b4b066a2fee75c6974a25e7788d941b30535869cd8b22dd8baa0dc8dc6d2c90daf1c0c91ff72f800e24
7
- data.tar.gz: aaba471a1db3cacbda1077f940562f5cd0c4003c6879d82e13f514b1084f3e485aa42f28dac918c060f204a2be359eedef531614cf2030b40e8014062ffb9460
6
+ metadata.gz: d6fadaef635bfbb845906ed29948955f26cfc55340c61ebf42088a1581de915133143b3ea8c433e011143cae4efdf9fe7a540b3c9bedcd04d19c983c98ad6ba2
7
+ data.tar.gz: e9a1504508ac6c9e3cea11d8cb96c6c6bf5558fdbca556494c608b7484edf5434ebab4cf109d13941d2e9992fab020d5ff5793e52e42f497f8d5b52cd560aa0a
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ 7.0.9
2
+ -----
3
+
4
+ * Remove http-equiv meta tag as it causes OAuth issues in Chrome
5
+
1
6
  7.0.5
2
7
  -----
3
8
 
data/README.md CHANGED
@@ -99,7 +99,7 @@ After running the `install` generator, you can start your app with `bundle exec
99
99
  $ rails generate shopify_app:shop_model
100
100
  ```
101
101
 
102
- The install generator doesn't create any database models for you and if you are starting a new app its quite likely that you will want one (most our internally developed apps do!). This generator creates a simple shop model and a migration. It also creates a model called `SessionStorage` which interacts with `ShopifyApp::SessionRepository`. Check out the later section to learn more about `ShopifyApp::SessionRepository`
102
+ The install generator doesn't create any database models for you and if you are starting a new app its quite likely that you will want one (most of our internally developed apps do!). This generator creates a simple shop model and a migration. It also creates a model called `SessionStorage` which interacts with `ShopifyApp::SessionRepository`. Check out the later section to learn more about `ShopifyApp::SessionRepository`
103
103
 
104
104
  *Note that you will need to run rake db:migrate after this generator*
105
105
 
@@ -1,7 +1,7 @@
1
1
  module ShopifyApp
2
2
  class AuthenticatedController < ApplicationController
3
3
  before_action :login_again_if_different_shop
4
- around_filter :shopify_session
4
+ around_action :shopify_session
5
5
  layout ShopifyApp.configuration.embedded_app? ? 'embedded_app' : 'application'
6
6
  end
7
7
  end
@@ -46,7 +46,7 @@ module ShopifyApp
46
46
  def close_session
47
47
  session[:shopify] = nil
48
48
  session[:shopify_domain] = nil
49
- redirect_to_with_fallback login_url
49
+ redirect_to_with_fallback main_or_engine_login_url(shop: params[:shop])
50
50
  end
51
51
 
52
52
  def main_or_engine_login_url(params = {})
@@ -64,7 +64,6 @@ module ShopifyApp
64
64
  <html lang="en">
65
65
  <head>
66
66
  <meta charset="utf-8" />
67
- <meta http-equiv="refresh" content="1; url=#{url_json_no_quotes}">
68
67
  <title>Redirecting…</title>
69
68
  <script type="text/javascript">
70
69
  window.location.href = #{url_json};
@@ -86,7 +85,6 @@ module ShopifyApp
86
85
  <html lang="en">
87
86
  <head>
88
87
  <meta charset="utf-8" />
89
- <meta http-equiv="refresh" content="1; url=#{url_json_no_quotes}">
90
88
  <base target="_top">
91
89
  <title>Redirecting…</title>
92
90
  <script type="text/javascript">
@@ -1,3 +1,3 @@
1
1
  module ShopifyApp
2
- VERSION = '7.0.8'
2
+ VERSION = '7.0.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.8
4
+ version: 7.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails