sinatra-shopified 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/.travis.yml +5 -2
- data/.yardopts +0 -0
- data/Appraisals +7 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +0 -0
- data/LICENSE +0 -0
- data/README.md +14 -5
- data/Rakefile +0 -0
- data/db/migrate/20160303165323_create_shop.rb +1 -1
- data/db/seeds.rb +0 -0
- data/gemfiles/sinatra_1.gemfile +7 -0
- data/gemfiles/sinatra_1.gemfile.lock +115 -0
- data/gemfiles/sinatra_2.gemfile +7 -0
- data/gemfiles/sinatra_2.gemfile.lock +117 -0
- data/lib/sinatra/shopified.rb +16 -12
- data/lib/sinatra/shopified/helpers.rb +2 -2
- data/lib/sinatra/shopified/models.rb +0 -0
- data/lib/sinatra/shopified/version.rb +1 -1
- data/sinatra-shopified.gemspec +21 -23
- metadata +30 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a2a4e5249cd2f11dca0cf6c0f7d786a7d9219d8
|
4
|
+
data.tar.gz: 2d2a69d3c8a0133fe437206f7b27fbcdfd0bb9a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 534e50f40e35df48fdc6800904401d5afcc738a6850af8755ec06caa0b6c6c14320349901b0445b663e793f5f4db1063f6273c1029b5eb2f571ded14c1f807cb
|
7
|
+
data.tar.gz: 192fc968e6ba891ca5082091241445a9938332fcd7891c1c611f5b4952a1a206af3a585a4be53c017812ee5ca4d84ba79f0882fdaf7d2bed86af9c2a27645865
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/.yardopts
CHANGED
File without changes
|
data/Appraisals
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
CHANGED
File without changes
|
data/LICENSE
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
# Sinatra::Shopified
|
2
2
|
|
3
|
-
[![Build Status](https://secure.travis-ci.org/
|
3
|
+
[![Build Status](https://secure.travis-ci.org/ohmybrew/sinatra-shopified.svg?branch=master)](http://travis-ci.org/ohmybrew/sinatra-shopified) [![Docs](https://inch-ci.org/github/ohmybrew/sinatra-shopified.svg?branch=master)](https://inch-ci.org/github/ohmybrew/sinatra-shopified) [![Gem Version](https://badge.fury.io/rb/sinatra-shopified.svg)](https://badge.fury.io/rb/sinatra-shopified)
|
4
4
|
|
5
5
|
This is a work-in-progress extension for Sinatra which provides some basic helpers and routes to create a Sinatra-powered Shopify application.
|
6
6
|
|
7
|
+
Sinatra 1 and Sinatra 2 are both supported.
|
8
|
+
|
7
9
|
## Installation
|
8
10
|
|
9
11
|
### Gem Installation
|
@@ -11,7 +13,7 @@ This is a work-in-progress extension for Sinatra which provides some basic helpe
|
|
11
13
|
Add this line to your application's Gemfile:
|
12
14
|
|
13
15
|
``` ruby
|
14
|
-
gem
|
16
|
+
gem 'sinatra-shopified'
|
15
17
|
```
|
16
18
|
|
17
19
|
Then, execute `bundle` to install then Gem.
|
@@ -23,14 +25,14 @@ This assumes you have ActiveRecord up and running and you are using a modular-st
|
|
23
25
|
In your Sinatra application, load the Gem:
|
24
26
|
|
25
27
|
``` ruby
|
26
|
-
require
|
28
|
+
require 'sinatra/shopified'
|
27
29
|
```
|
28
30
|
|
29
31
|
Now, register it. As an example:
|
30
32
|
|
31
33
|
``` ruby
|
32
|
-
require
|
33
|
-
require
|
34
|
+
require 'sinatra/base'
|
35
|
+
require 'sinatra/shopified'
|
34
36
|
|
35
37
|
class MyCoolApp < Sinatra::Base
|
36
38
|
# ...
|
@@ -111,6 +113,13 @@ bundle exec rake db:seed
|
|
111
113
|
bundle exec rake test
|
112
114
|
```
|
113
115
|
|
116
|
+
For Appraisal testing:
|
117
|
+
|
118
|
+
```bash
|
119
|
+
appraisal install
|
120
|
+
appraisal rake test
|
121
|
+
```
|
122
|
+
|
114
123
|
## Usage
|
115
124
|
|
116
125
|
There are a couple noteable helper methods.
|
data/Rakefile
CHANGED
File without changes
|
data/db/seeds.rb
CHANGED
File without changes
|
@@ -0,0 +1,115 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
sinatra-shopified (0.11.0)
|
5
|
+
shopify_api (>= 4.0)
|
6
|
+
sinatra (>= 1.4)
|
7
|
+
sinatra-activerecord (~> 2.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activemodel (5.1.2)
|
13
|
+
activesupport (= 5.1.2)
|
14
|
+
activemodel-serializers-xml (1.0.1)
|
15
|
+
activemodel (> 5.x)
|
16
|
+
activerecord (> 5.x)
|
17
|
+
activesupport (> 5.x)
|
18
|
+
builder (~> 3.1)
|
19
|
+
activerecord (5.1.2)
|
20
|
+
activemodel (= 5.1.2)
|
21
|
+
activesupport (= 5.1.2)
|
22
|
+
arel (~> 8.0)
|
23
|
+
activeresource (5.0.0)
|
24
|
+
activemodel (>= 5.0, < 6)
|
25
|
+
activemodel-serializers-xml (~> 1.0)
|
26
|
+
activesupport (>= 5.0, < 6)
|
27
|
+
activesupport (5.1.2)
|
28
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
29
|
+
i18n (~> 0.7)
|
30
|
+
minitest (~> 5.1)
|
31
|
+
tzinfo (~> 1.1)
|
32
|
+
addressable (2.5.1)
|
33
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
34
|
+
appraisal (2.2.0)
|
35
|
+
bundler
|
36
|
+
rake
|
37
|
+
thor (>= 0.14.0)
|
38
|
+
arel (8.0.0)
|
39
|
+
builder (3.2.3)
|
40
|
+
coderay (1.1.1)
|
41
|
+
concurrent-ruby (1.0.5)
|
42
|
+
crack (0.4.3)
|
43
|
+
safe_yaml (~> 1.0.0)
|
44
|
+
docile (1.1.5)
|
45
|
+
hashdiff (0.3.4)
|
46
|
+
i18n (0.8.4)
|
47
|
+
inch (0.7.1)
|
48
|
+
pry
|
49
|
+
sparkr (>= 0.2.0)
|
50
|
+
term-ansicolor
|
51
|
+
yard (~> 0.8.7.5)
|
52
|
+
json (2.1.0)
|
53
|
+
method_source (0.8.2)
|
54
|
+
minitest (5.10.2)
|
55
|
+
pry (0.10.4)
|
56
|
+
coderay (~> 1.1.0)
|
57
|
+
method_source (~> 0.8.1)
|
58
|
+
slop (~> 3.4)
|
59
|
+
public_suffix (2.0.5)
|
60
|
+
rack (1.6.8)
|
61
|
+
rack-protection (1.5.3)
|
62
|
+
rack
|
63
|
+
rack-test (0.6.3)
|
64
|
+
rack (>= 1.0)
|
65
|
+
rake (10.5.0)
|
66
|
+
safe_yaml (1.0.4)
|
67
|
+
shopify_api (4.9.0)
|
68
|
+
activeresource (>= 3.0.0)
|
69
|
+
rack
|
70
|
+
simplecov (0.14.1)
|
71
|
+
docile (~> 1.1.0)
|
72
|
+
json (>= 1.8, < 3)
|
73
|
+
simplecov-html (~> 0.10.0)
|
74
|
+
simplecov-html (0.10.1)
|
75
|
+
sinatra (1.4.8)
|
76
|
+
rack (~> 1.5)
|
77
|
+
rack-protection (~> 1.4)
|
78
|
+
tilt (>= 1.3, < 3)
|
79
|
+
sinatra-activerecord (2.0.13)
|
80
|
+
activerecord (>= 3.2)
|
81
|
+
sinatra (>= 1.0)
|
82
|
+
slop (3.6.0)
|
83
|
+
sparkr (0.4.1)
|
84
|
+
sqlite3 (1.3.13)
|
85
|
+
term-ansicolor (1.6.0)
|
86
|
+
tins (~> 1.0)
|
87
|
+
thor (0.19.4)
|
88
|
+
thread_safe (0.3.6)
|
89
|
+
tilt (2.0.7)
|
90
|
+
tins (1.14.0)
|
91
|
+
tzinfo (1.2.3)
|
92
|
+
thread_safe (~> 0.1)
|
93
|
+
webmock (1.24.6)
|
94
|
+
addressable (>= 2.3.6)
|
95
|
+
crack (>= 0.3.2)
|
96
|
+
hashdiff
|
97
|
+
yard (0.8.7.6)
|
98
|
+
|
99
|
+
PLATFORMS
|
100
|
+
ruby
|
101
|
+
|
102
|
+
DEPENDENCIES
|
103
|
+
appraisal
|
104
|
+
inch (~> 0.7)
|
105
|
+
rack-test (~> 0.6)
|
106
|
+
rake (~> 10.5)
|
107
|
+
simplecov (~> 0.11)
|
108
|
+
sinatra (~> 1.4)
|
109
|
+
sinatra-shopified!
|
110
|
+
sqlite3 (~> 1.3)
|
111
|
+
webmock (~> 1.24)
|
112
|
+
yard (~> 0.8)
|
113
|
+
|
114
|
+
BUNDLED WITH
|
115
|
+
1.14.6
|
@@ -0,0 +1,117 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
sinatra-shopified (0.11.0)
|
5
|
+
shopify_api (>= 4.0)
|
6
|
+
sinatra (>= 1.4)
|
7
|
+
sinatra-activerecord (~> 2.0)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
activemodel (5.1.2)
|
13
|
+
activesupport (= 5.1.2)
|
14
|
+
activemodel-serializers-xml (1.0.1)
|
15
|
+
activemodel (> 5.x)
|
16
|
+
activerecord (> 5.x)
|
17
|
+
activesupport (> 5.x)
|
18
|
+
builder (~> 3.1)
|
19
|
+
activerecord (5.1.2)
|
20
|
+
activemodel (= 5.1.2)
|
21
|
+
activesupport (= 5.1.2)
|
22
|
+
arel (~> 8.0)
|
23
|
+
activeresource (5.0.0)
|
24
|
+
activemodel (>= 5.0, < 6)
|
25
|
+
activemodel-serializers-xml (~> 1.0)
|
26
|
+
activesupport (>= 5.0, < 6)
|
27
|
+
activesupport (5.1.2)
|
28
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
29
|
+
i18n (~> 0.7)
|
30
|
+
minitest (~> 5.1)
|
31
|
+
tzinfo (~> 1.1)
|
32
|
+
addressable (2.5.1)
|
33
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
34
|
+
appraisal (2.2.0)
|
35
|
+
bundler
|
36
|
+
rake
|
37
|
+
thor (>= 0.14.0)
|
38
|
+
arel (8.0.0)
|
39
|
+
builder (3.2.3)
|
40
|
+
coderay (1.1.1)
|
41
|
+
concurrent-ruby (1.0.5)
|
42
|
+
crack (0.4.3)
|
43
|
+
safe_yaml (~> 1.0.0)
|
44
|
+
docile (1.1.5)
|
45
|
+
hashdiff (0.3.4)
|
46
|
+
i18n (0.8.4)
|
47
|
+
inch (0.7.1)
|
48
|
+
pry
|
49
|
+
sparkr (>= 0.2.0)
|
50
|
+
term-ansicolor
|
51
|
+
yard (~> 0.8.7.5)
|
52
|
+
json (2.1.0)
|
53
|
+
method_source (0.8.2)
|
54
|
+
minitest (5.10.2)
|
55
|
+
mustermann (1.0.0)
|
56
|
+
pry (0.10.4)
|
57
|
+
coderay (~> 1.1.0)
|
58
|
+
method_source (~> 0.8.1)
|
59
|
+
slop (~> 3.4)
|
60
|
+
public_suffix (2.0.5)
|
61
|
+
rack (2.0.3)
|
62
|
+
rack-protection (2.0.0)
|
63
|
+
rack
|
64
|
+
rack-test (0.6.3)
|
65
|
+
rack (>= 1.0)
|
66
|
+
rake (10.5.0)
|
67
|
+
safe_yaml (1.0.4)
|
68
|
+
shopify_api (4.9.0)
|
69
|
+
activeresource (>= 3.0.0)
|
70
|
+
rack
|
71
|
+
simplecov (0.14.1)
|
72
|
+
docile (~> 1.1.0)
|
73
|
+
json (>= 1.8, < 3)
|
74
|
+
simplecov-html (~> 0.10.0)
|
75
|
+
simplecov-html (0.10.1)
|
76
|
+
sinatra (2.0.0)
|
77
|
+
mustermann (~> 1.0)
|
78
|
+
rack (~> 2.0)
|
79
|
+
rack-protection (= 2.0.0)
|
80
|
+
tilt (~> 2.0)
|
81
|
+
sinatra-activerecord (2.0.13)
|
82
|
+
activerecord (>= 3.2)
|
83
|
+
sinatra (>= 1.0)
|
84
|
+
slop (3.6.0)
|
85
|
+
sparkr (0.4.1)
|
86
|
+
sqlite3 (1.3.13)
|
87
|
+
term-ansicolor (1.6.0)
|
88
|
+
tins (~> 1.0)
|
89
|
+
thor (0.19.4)
|
90
|
+
thread_safe (0.3.6)
|
91
|
+
tilt (2.0.7)
|
92
|
+
tins (1.14.0)
|
93
|
+
tzinfo (1.2.3)
|
94
|
+
thread_safe (~> 0.1)
|
95
|
+
webmock (1.24.6)
|
96
|
+
addressable (>= 2.3.6)
|
97
|
+
crack (>= 0.3.2)
|
98
|
+
hashdiff
|
99
|
+
yard (0.8.7.6)
|
100
|
+
|
101
|
+
PLATFORMS
|
102
|
+
ruby
|
103
|
+
|
104
|
+
DEPENDENCIES
|
105
|
+
appraisal
|
106
|
+
inch (~> 0.7)
|
107
|
+
rack-test (~> 0.6)
|
108
|
+
rake (~> 10.5)
|
109
|
+
simplecov (~> 0.11)
|
110
|
+
sinatra (~> 2.0)
|
111
|
+
sinatra-shopified!
|
112
|
+
sqlite3 (~> 1.3)
|
113
|
+
webmock (~> 1.24)
|
114
|
+
yard (~> 0.8)
|
115
|
+
|
116
|
+
BUNDLED WITH
|
117
|
+
1.14.6
|
data/lib/sinatra/shopified.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
6
|
-
require
|
1
|
+
require 'shopify_api'
|
2
|
+
require 'sinatra/base'
|
3
|
+
require 'sinatra/activerecord'
|
4
|
+
require 'sinatra/shopified/version'
|
5
|
+
require 'sinatra/shopified/helpers'
|
6
|
+
require 'sinatra/shopified/models'
|
7
7
|
|
8
8
|
# Sinatra module namespace
|
9
9
|
module Sinatra
|
@@ -19,25 +19,29 @@ module Sinatra
|
|
19
19
|
app.set :protection, except: :frame_options
|
20
20
|
|
21
21
|
# Setup Shopify session with the app's credentials
|
22
|
-
ShopifyAPI::Session.setup(api_key: ENV[
|
22
|
+
ShopifyAPI::Session.setup(api_key: ENV['SHOPIFY_API_KEY'], secret: ENV['SHOPIFY_API_SECRET'])
|
23
23
|
|
24
24
|
# Auth controller which handles creating shop sessions,
|
25
25
|
# hanlding app permissions, and more
|
26
|
-
app.get
|
26
|
+
app.get '/auth' do
|
27
27
|
# Setup our session
|
28
|
-
session[:shopify_domain] = params[:shop] if params.key?(
|
28
|
+
session[:shopify_domain] = params[:shop] if params.key?('shop')
|
29
29
|
api_session = ShopifyAPI::Session.new session[:shopify_domain]
|
30
30
|
|
31
|
-
if params.key?
|
31
|
+
if params.key? 'code'
|
32
32
|
# Create the shop if its new, update the token, and activate the session
|
33
33
|
Models::Shop.create(shop: session[:shopify_domain]) unless current_shop
|
34
|
+
|
35
|
+
# Sinatra 2 issue
|
36
|
+
params.delete('captures') if params.key?('captures')
|
37
|
+
|
34
38
|
current_shop.update_attribute :token, api_session.request_token(params)
|
35
39
|
shopify_session_activate
|
36
40
|
|
37
|
-
redirect to(ENV[
|
41
|
+
redirect to(ENV['SHOPIFY_APP_REDIRECT_AFTER_AUTH'])
|
38
42
|
else
|
39
43
|
# No code, lets ask for app permissions
|
40
|
-
redirect api_session.create_permission_url(ENV[
|
44
|
+
redirect api_session.create_permission_url(ENV['SHOPIFY_API_SCOPE'].split(','), to('/auth', true))
|
41
45
|
end
|
42
46
|
end
|
43
47
|
|
@@ -27,7 +27,7 @@ module Sinatra
|
|
27
27
|
# Allowing using a temporary session for a shop
|
28
28
|
# @param [Object] shop the shop's object
|
29
29
|
# @example
|
30
|
-
# shop = Shopify::Models::Shop.find(shop:
|
30
|
+
# shop = Shopify::Models::Shop.find(shop: 'coolshop.myshopify.com')
|
31
31
|
# shopify_session_with shop do
|
32
32
|
# ShopifyAPI::Product.find 42
|
33
33
|
# end
|
@@ -63,7 +63,7 @@ module Sinatra
|
|
63
63
|
# @param [String] redirect_url the URL to redirect to
|
64
64
|
# @return [String] the Javascript for redirecting
|
65
65
|
# @example
|
66
|
-
# esdk_redirect
|
66
|
+
# esdk_redirect '/admin/products'
|
67
67
|
def esdk_redirect(redirect_url)
|
68
68
|
"<script type='text/javascript'>top.window.location.href = '#{redirect_url}';</script>"
|
69
69
|
end
|
File without changes
|
data/sinatra-shopified.gemspec
CHANGED
@@ -1,32 +1,30 @@
|
|
1
1
|
lib = File.expand_path('../lib', __FILE__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require
|
3
|
+
require 'sinatra/shopified/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name =
|
6
|
+
spec.name = 'sinatra-shopified'
|
7
7
|
spec.version = Sinatra::Shopified::VERSION
|
8
|
-
spec.authors = [
|
9
|
-
spec.
|
10
|
-
spec.
|
11
|
-
|
12
|
-
spec.
|
13
|
-
spec.
|
14
|
-
spec.homepage = "https://github.com/tyler-king/sinatra-shopified"
|
15
|
-
spec.license = "MIT"
|
16
|
-
|
8
|
+
spec.authors = ['Tyler King']
|
9
|
+
spec.email = ['tyler.n.king@gmail.com']
|
10
|
+
spec.summary = 'Shopify apps with Sinatra'
|
11
|
+
spec.description = 'Provides some boilerplate helpers and routes for Shopify apps with Sinatra 1 & Sinatra 2'
|
12
|
+
spec.homepage = 'https://github.com/ohmybrew/sinatra-shopified'
|
13
|
+
spec.license = 'MIT'
|
17
14
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
-
spec.bindir =
|
15
|
+
spec.bindir = 'exe'
|
19
16
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
-
spec.require_paths = [
|
17
|
+
spec.require_paths = ['lib']
|
21
18
|
|
22
|
-
spec.add_dependency
|
23
|
-
spec.add_dependency
|
24
|
-
spec.add_dependency
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.add_development_dependency
|
28
|
-
spec.add_development_dependency
|
29
|
-
spec.add_development_dependency
|
30
|
-
spec.add_development_dependency
|
31
|
-
spec.add_development_dependency
|
19
|
+
spec.add_dependency 'shopify_api', '>= 4.0'
|
20
|
+
spec.add_dependency 'sinatra', '>= 1.4'
|
21
|
+
spec.add_dependency 'sinatra-activerecord', '~> 2.0'
|
22
|
+
spec.add_development_dependency 'yard', '~> 0.8'
|
23
|
+
spec.add_development_dependency 'inch', '~> 0.7'
|
24
|
+
spec.add_development_dependency 'rake', '~> 10.5'
|
25
|
+
spec.add_development_dependency 'rack-test', '~> 0.6'
|
26
|
+
spec.add_development_dependency 'webmock', '~> 1.24'
|
27
|
+
spec.add_development_dependency 'sqlite3', '~> 1.3'
|
28
|
+
spec.add_development_dependency 'simplecov', '~> 0.11'
|
29
|
+
spec.add_development_dependency 'appraisal'
|
32
30
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-shopified
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler King
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shopify_api
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sinatra
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -150,9 +150,24 @@ dependencies:
|
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0.11'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: appraisal
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
description: Provides some boilerplate helpers and routes for Shopify apps with Sinatra
|
168
|
+
1 & Sinatra 2
|
154
169
|
email:
|
155
|
-
- tyler.n.king@
|
170
|
+
- tyler.n.king@gmail.com
|
156
171
|
executables: []
|
157
172
|
extensions: []
|
158
173
|
extra_rdoc_files: []
|
@@ -160,18 +175,24 @@ files:
|
|
160
175
|
- ".gitignore"
|
161
176
|
- ".travis.yml"
|
162
177
|
- ".yardopts"
|
178
|
+
- Appraisals
|
179
|
+
- CHANGELOG.md
|
163
180
|
- Gemfile
|
164
181
|
- LICENSE
|
165
182
|
- README.md
|
166
183
|
- Rakefile
|
167
184
|
- db/migrate/20160303165323_create_shop.rb
|
168
185
|
- db/seeds.rb
|
186
|
+
- gemfiles/sinatra_1.gemfile
|
187
|
+
- gemfiles/sinatra_1.gemfile.lock
|
188
|
+
- gemfiles/sinatra_2.gemfile
|
189
|
+
- gemfiles/sinatra_2.gemfile.lock
|
169
190
|
- lib/sinatra/shopified.rb
|
170
191
|
- lib/sinatra/shopified/helpers.rb
|
171
192
|
- lib/sinatra/shopified/models.rb
|
172
193
|
- lib/sinatra/shopified/version.rb
|
173
194
|
- sinatra-shopified.gemspec
|
174
|
-
homepage: https://github.com/
|
195
|
+
homepage: https://github.com/ohmybrew/sinatra-shopified
|
175
196
|
licenses:
|
176
197
|
- MIT
|
177
198
|
metadata: {}
|
@@ -191,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
212
|
version: '0'
|
192
213
|
requirements: []
|
193
214
|
rubyforge_project:
|
194
|
-
rubygems_version: 2.
|
215
|
+
rubygems_version: 2.5.1
|
195
216
|
signing_key:
|
196
217
|
specification_version: 4
|
197
218
|
summary: Shopify apps with Sinatra
|