shopify-sinatra-app 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/example/test/app_test.rb +2 -2
- data/lib/sinatra/shopify-sinatra-app.rb +2 -0
- data/shopify-sinatra-app.gemspec +3 -2
- data/test.sh +3 -0
- metadata +25 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 757042f3426b3b4028621b925dd43bd09889dca84a3bcb1f8e045d22ed20ac3a
|
4
|
+
data.tar.gz: db71036af35e5f10ee2c8b6465017620040e4a63bce149ccb6e6bc6d84db637f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 226a90e784be8e6505f96323b7e215556427af3c9f3b5f7e6d960ccf490bb9322177c76715bc2976641320f5fdc97d59424cfe633046137752d73e658c06cb1c
|
7
|
+
data.tar.gz: 5c59c0ccbc7318ada1e77e317f2b8255ca697badf907fcb63ea48c9ae236341945d3011632de95a889d3e2395cc44f83c7ae31d880dc3c3bd1080077ed820d73
|
data/example/test/app_test.rb
CHANGED
@@ -23,8 +23,8 @@ class AppTest < Minitest::Test
|
|
23
23
|
|
24
24
|
def test_root_with_session
|
25
25
|
set_session
|
26
|
-
fake 'https://testshop.myshopify.com/admin/shop.json', body: {myshopify_domain: @shop_name}.to_json
|
27
|
-
fake 'https://testshop.myshopify.com/admin/products.json?limit=10', body: '{}'
|
26
|
+
fake 'https://testshop.myshopify.com/admin/api/2019-04/shop.json', body: {myshopify_domain: @shop_name}.to_json
|
27
|
+
fake 'https://testshop.myshopify.com/admin/api/2019-04/products.json?limit=10', body: '{}'
|
28
28
|
get '/'
|
29
29
|
assert last_response.ok?
|
30
30
|
end
|
data/shopify-sinatra-app.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'shopify-sinatra-app'
|
3
|
-
s.version = '0.
|
3
|
+
s.version = '0.9.0'
|
4
4
|
|
5
5
|
s.summary = 'A classy shopify app'
|
6
6
|
s.description = 'A Sinatra extension for building Shopify Apps. Akin to the shopify_app gem but for Sinatra'
|
@@ -19,8 +19,9 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_runtime_dependency 'activesupport'
|
20
20
|
s.add_runtime_dependency 'attr_encrypted', '~> 3.1.0'
|
21
21
|
|
22
|
-
s.add_runtime_dependency 'shopify_api', '
|
22
|
+
s.add_runtime_dependency 'shopify_api', '>= 7.0.1', '< 9.1.0'
|
23
23
|
s.add_runtime_dependency 'omniauth-shopify-oauth2'
|
24
|
+
s.add_runtime_dependency 'browser_sniffer', '~> 1.1.3'
|
24
25
|
|
25
26
|
s.add_development_dependency 'rake'
|
26
27
|
s.add_development_dependency 'sqlite3'
|
data/test.sh
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopify-sinatra-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Hughes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -84,16 +84,22 @@ dependencies:
|
|
84
84
|
name: shopify_api
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 7.0.1
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 9.1.0
|
90
93
|
type: :runtime
|
91
94
|
prerelease: false
|
92
95
|
version_requirements: !ruby/object:Gem::Requirement
|
93
96
|
requirements:
|
94
|
-
- - "
|
97
|
+
- - ">="
|
95
98
|
- !ruby/object:Gem::Version
|
96
99
|
version: 7.0.1
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 9.1.0
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: omniauth-shopify-oauth2
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +114,20 @@ dependencies:
|
|
108
114
|
- - ">="
|
109
115
|
- !ruby/object:Gem::Version
|
110
116
|
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: browser_sniffer
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 1.1.3
|
124
|
+
type: :runtime
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 1.1.3
|
111
131
|
- !ruby/object:Gem::Dependency
|
112
132
|
name: rake
|
113
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,8 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
250
270
|
- !ruby/object:Gem::Version
|
251
271
|
version: '0'
|
252
272
|
requirements: []
|
253
|
-
|
254
|
-
rubygems_version: 2.7.6
|
273
|
+
rubygems_version: 3.0.3
|
255
274
|
signing_key:
|
256
275
|
specification_version: 4
|
257
276
|
summary: A classy shopify app
|