omniauth-shopify-oauth2 1.1.4 → 1.1.6

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: c392a50f6fa891ac174ac7c7e7958ecdf5ee0d01
4
- data.tar.gz: df0450c540e19b197281921adae1a073ac1b5d3e
3
+ metadata.gz: f6a9005179b848b37716b51ca6ea27944833b9fd
4
+ data.tar.gz: 79de9f32baae813d82f81f231c9360c1f7c323e5
5
5
  SHA512:
6
- metadata.gz: bf6d6f10356702d2aecf8e79ea67ff7a59d64deb4ed71b62e88051c6d0f9579ad01438ab1eb4077e859a7b3cf6c6d578eabe35eaffd11a9e75140cd06d1a8855
7
- data.tar.gz: 3faf0377495c9abf3bb35164127800cbbe3cdc28e64d9aeb12c32436ad80fe888c8789d2f1c92ef5bf5245594817214b0114d5eb0c28b47008baa7bcb84310af
6
+ metadata.gz: fb01348a5df004ccbe79add65263cdcf0efddc7b94a4e356a1fada738775c815697a0bd8b884d7d06e03149aa9610dc4aff4f74c0478c7ae75e5ada405e55b5d
7
+ data.tar.gz: ff3c5965bfa9c78b4a2f4adb02e809e577ad1dd5a2e2b1d9bd036711c8c2f43c51a7c4ab8337b847867a1b30f1455f0beab2bfab8747bebc9b02853cf715ffaa
checksums.yaml.gz.sig ADDED
Binary file
data.tar.gz.sig ADDED
Binary file
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  pkg/*
2
+ Gemfile.lock
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.1.0
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://api.travis-ci.org/Shopify/omniauth-shopify-oauth2.png?branch=master)](http://travis-ci.org/Shopify/omniauth-shopify-oauth2)
2
+
1
3
  # OmniAuth Shopify
2
4
 
3
5
  Shopify OAuth2 Strategy for OmniAuth 1.0.
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Shopify
3
- VERSION = "1.1.4"
3
+ VERSION = "1.1.6"
4
4
  end
5
5
  end
@@ -47,7 +47,7 @@ module OmniAuth
47
47
  end
48
48
 
49
49
  def callback_url
50
- options.callback_url || super
50
+ options[:callback_url] || super
51
51
  end
52
52
  end
53
53
  end
data/shipit.yml ADDED
@@ -0,0 +1,15 @@
1
+ dependencies:
2
+ override:
3
+ - bundle install --path=./data/bundler
4
+
5
+ deploy:
6
+ override:
7
+ - |
8
+ BUILD=`bundle exec rake build`
9
+ if [ $? != 0 ]; then
10
+ echo $BUILD;
11
+ exit 1;
12
+ fi
13
+ PKG=`echo $BUILD | cut -d" " -f5 | sed -e s/\.$//`;
14
+ VERSION=`bundle exec rake build | cut -d" " -f2`;
15
+ gem push $PKG
@@ -60,6 +60,7 @@ describe OmniAuth::Strategies::Shopify do
60
60
  it "defaults to callback" do
61
61
  url_base = 'http://auth.request.com'
62
62
  @request.stub(:url) { "#{url_base}/page/path" }
63
+ @request.stub(:scheme) { 'http' }
63
64
  subject.stub(:script_name) { "" } # to not depend from Rack env
64
65
  subject.callback_url.should eq("#{url_base}/auth/shopify/callback")
65
66
  end
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-shopify-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Odorcic
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2014-04-17 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ8wDQYDVQQDDAZhZG1p
14
+ bnMxFzAVBgoJkiaJk/IsZAEZFgdzaG9waWZ5MRMwEQYKCZImiZPyLGQBGRYDY29t
15
+ MB4XDTE0MDUxNTIwMzM0OFoXDTE1MDUxNTIwMzM0OF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W+cKzEC/bLc=
32
+ -----END CERTIFICATE-----
33
+ date: 2014-05-16 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: omniauth-oauth2
@@ -60,8 +82,8 @@ extensions: []
60
82
  extra_rdoc_files: []
61
83
  files:
62
84
  - ".gitignore"
85
+ - ".travis.yml"
63
86
  - Gemfile
64
- - Gemfile.lock
65
87
  - README.md
66
88
  - Rakefile
67
89
  - example/Gemfile
@@ -72,6 +94,7 @@ files:
72
94
  - lib/omniauth/shopify/version.rb
73
95
  - lib/omniauth/strategies/shopify.rb
74
96
  - omniauth-shopify-oauth2.gemspec
97
+ - shipit.yml
75
98
  - spec/omniauth/strategies/shopify_spec.rb
76
99
  - spec/spec_helper.rb
77
100
  - spec/support/shared_examples.rb
@@ -95,11 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
118
  version: '0'
96
119
  requirements: []
97
120
  rubyforge_project:
98
- rubygems_version: 2.2.2
121
+ rubygems_version: 2.2.0
99
122
  signing_key:
100
123
  specification_version: 4
101
124
  summary: Shopify strategy for OmniAuth
102
- test_files:
103
- - spec/omniauth/strategies/shopify_spec.rb
104
- - spec/spec_helper.rb
105
- - spec/support/shared_examples.rb
125
+ test_files: []
metadata.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ ,^���f b�k��H����w�L��F|#,0�ц�Ld����
2
+ J��~v*�W���V�5�~�wǚ�^�����A���"�9�8�%xu O�i(7
data/Gemfile.lock DELETED
@@ -1,50 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- omniauth-shopify-oauth2 (1.1.4)
5
- omniauth-oauth2 (~> 1.1.1)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- diff-lcs (1.1.3)
11
- faraday (0.9.0)
12
- multipart-post (>= 1.2, < 3)
13
- hashie (2.1.1)
14
- jwt (0.1.11)
15
- multi_json (>= 1.5)
16
- multi_json (1.9.2)
17
- multi_xml (0.5.5)
18
- multipart-post (2.0.0)
19
- oauth2 (0.9.3)
20
- faraday (>= 0.8, < 0.10)
21
- jwt (~> 0.1.8)
22
- multi_json (~> 1.3)
23
- multi_xml (~> 0.5)
24
- rack (~> 1.2)
25
- omniauth (1.2.1)
26
- hashie (>= 1.2, < 3)
27
- rack (~> 1.0)
28
- omniauth-oauth2 (1.1.2)
29
- faraday (>= 0.8, < 0.10)
30
- multi_json (~> 1.3)
31
- oauth2 (~> 0.9.3)
32
- omniauth (~> 1.2)
33
- rack (1.5.2)
34
- rake (0.9.2.2)
35
- rspec (2.7.0)
36
- rspec-core (~> 2.7.0)
37
- rspec-expectations (~> 2.7.0)
38
- rspec-mocks (~> 2.7.0)
39
- rspec-core (2.7.1)
40
- rspec-expectations (2.7.0)
41
- diff-lcs (~> 1.1.2)
42
- rspec-mocks (2.7.0)
43
-
44
- PLATFORMS
45
- ruby
46
-
47
- DEPENDENCIES
48
- omniauth-shopify-oauth2!
49
- rake
50
- rspec (~> 2.7.0)