omniauth-shopify-oauth2 1.1.16 → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b6fbcbe291d21114d47d6196a722837055e9394
|
|
4
|
+
data.tar.gz: 43eb0e4000a54fd406557cf04202cfb86ad8b116
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a71588eb45084637cc745aa617292732dbb65073d33de2db826648a72484b58d58856d7e6f9577fb7197429a1b836bb21bc7ca311ba3822c936047dca83690e8
|
|
7
|
+
data.tar.gz: cb4ba6c5d535bf5b1eb1906e7367c791d9a424a1615c7fc02106624bb6310ab6537fd584eb13ff32908331e64f52db0bd8676de1fbb89077c644ea8aeadc16fa
|
|
@@ -29,6 +29,12 @@ describe OmniAuth::Strategies::Shopify do
|
|
|
29
29
|
subject.options[:client_options][:site].should eq('https://foo.bar/')
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
+
it 'replaces http scheme by https with an immutable string' do
|
|
33
|
+
@options = {:client_options => {:site => 'http://foo.bar/'.freeze}}
|
|
34
|
+
subject.fix_https
|
|
35
|
+
subject.options[:client_options][:site].should eq('https://foo.bar/')
|
|
36
|
+
end
|
|
37
|
+
|
|
32
38
|
it 'does not replace https scheme' do
|
|
33
39
|
@options = {:client_options => {:site => 'https://foo.bar/'}}
|
|
34
40
|
subject.fix_https
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-shopify-oauth2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Denis Odorcic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth-oauth2
|