shopify_app 7.2.11 → 7.3.0

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: 50e18ac4d34b09fc2d49742cc1677832301e1a42
4
- data.tar.gz: 736cad99a7732fddc86519775a3938eecc768714
3
+ metadata.gz: e7ac19c7d6dc8350502dfc1a432ecdab6292305f
4
+ data.tar.gz: 0d46aaddf9e228435f64ffba054cc8066f2ac048
5
5
  SHA512:
6
- metadata.gz: a3562a4dd349192f0801050eaee1a8997fde681c9e19e6ece5c92c94119cb5446bf32c16b46a74648bfd37f056bb7e70a3e984fb1526267e3a0bc27f565ab327
7
- data.tar.gz: 1738f568d2b2af07acdf48ba9d117b81b362c0aecf9a2a7df2f659bd0651f2e8066f802ce81a0525ec8c99a8efc3ab1a069d8c6a539fe372b01e7ff94ff7c1b2
6
+ metadata.gz: 636b704eaee4e2b522b628cf99677073b4c2d1b161689e80f483652203ab0a1420c209093e691e3ad244f256f404020909e850c5cbe76f113816f67ae7695900
7
+ data.tar.gz: 3e35b142261e9b6e8aad531fec7d5a55027ab36d45dd7fe4a2f67d0bc9f6ad9dcfb01a832c22dfa1ddb80924df01afb814217ef4889329622cf6483c9ff327d9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 7.3.0
2
+ -----
3
+ * Bump required omniauth-shopify-oauth2 version to 1.2.0.
4
+ * Always expect params[:shop] to be a string.
5
+
1
6
  7.2.11
2
7
  -----
3
8
  * Remove 'Logged in' flash message [[#425]](https://github.com/Shopify/shopify_app/pull/425)
@@ -27,7 +27,7 @@ module ShopifyApp
27
27
  end
28
28
 
29
29
  def login_again_if_different_shop
30
- if shop_session && params[:shop] && params[:shop].is_a?(String) && shop_session.url != params[:shop]
30
+ if shop_session && params[:shop] && (shop_session.url != params[:shop])
31
31
  session[:shopify] = nil
32
32
  session[:shopify_domain] = nil
33
33
  redirect_to_login
@@ -1,3 +1,3 @@
1
1
  module ShopifyApp
2
- VERSION = '7.2.11'
2
+ VERSION = '7.3.0'
3
3
  end
data/shopify_app.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
 
13
13
  s.add_runtime_dependency('rails', '>= 5.0.0')
14
14
  s.add_runtime_dependency('shopify_api', '>= 4.3.2')
15
- s.add_runtime_dependency('omniauth-shopify-oauth2', '~> 1.1.11')
15
+ s.add_runtime_dependency('omniauth-shopify-oauth2', '~> 1.2.0')
16
16
 
17
17
  s.add_development_dependency('rake')
18
18
  s.add_development_dependency('byebug')
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.2.11
4
+ version: 7.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-28 00:00:00.000000000 Z
11
+ date: 2017-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.11
47
+ version: 1.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.1.11
54
+ version: 1.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement