sinatra-shopified 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2343b62036985b9109049add0a9645499b1ce6a6
4
+ data.tar.gz: 76739915fe2a7bf9015643e26d7ff3d03435be3c
5
+ SHA512:
6
+ metadata.gz: 14f4e691a67039e50549f50a30cafefda82fc9ea96fb44d75a566dc320150b348f67a1111fa83d77ae0076700cf74f4fef211e99e6141525707663b5597e45d0
7
+ data.tar.gz: 8a6f8ec0c1a1e1ce391da8f3a7df0c53f56d37cd881786d94335bb4345624efee6e04669bc07e389227b268c472c2799122af537019e3626d0869766451810b5
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /Gemfile.lock
3
+ /pkg/
4
+ /sinatra-shopified-*.gem
5
+ /doc
6
+ /.yardoc
7
+ /coverage
8
+ /db/schema.rb
9
+ /db/*.sqlite3
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1
4
+ - 2.2
5
+ env:
6
+ - NO_COVERAGE=true
7
+ before_script:
8
+ - bundle exec rake db:create
9
+ - bundle exec rake db:migrate
10
+ - bundle exec rake db:seed
data/.yardopts ADDED
@@ -0,0 +1 @@
1
+ --markup markdown --protected --private lib/ - README.md LICENSE
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Tyler King
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,187 @@
1
+ # Sinatra::Shopified
2
+
3
+ [![Build Status](https://secure.travis-ci.org/tyler-king/sinatra-shopified.svg?branch=master)](http://travis-ci.org/tyler-king/sinatra-shopified) [![Docs](https://inch-ci.org/github/tyler-king/sinatra-shopified.svg?branch=master)](https://inch-ci.org/github/tyler-king/sinatra-shopified)
4
+
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
+
7
+ ## Installation
8
+
9
+ ### Gem Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ``` ruby
14
+ gem "sinatra-shopified"
15
+ ```
16
+
17
+ Then, execute `bundle` to install then Gem.
18
+
19
+ ### Sinatra Installation
20
+
21
+ This assumes you have ActiveRecord up and running and you are using a modular-style Sinatra application.
22
+
23
+ In your Sinatra application, load the Gem:
24
+
25
+ ``` ruby
26
+ require "sinatra/shopified"
27
+ ```
28
+
29
+ Now, register it. As an example:
30
+
31
+ ``` ruby
32
+ require "sinatra/base"
33
+ require "sinatra/shopified"
34
+
35
+ class MyCoolApp < Sinatra::Base
36
+ # ...
37
+ register Sinatra::Shopified
38
+ # ...
39
+ end
40
+ ```
41
+
42
+ #### ActiveRecord / Database Installation
43
+
44
+ This Gem provides a model of Shop which contains a couple of basic columns (shop domain and token).
45
+
46
+ Here is the migration for ActiveRecord if you wish to use it:
47
+
48
+ ``` ruby
49
+ class Shop < ActiveRecord::Migration
50
+ def up
51
+ create_table :shops do |t|
52
+ t.string :shop
53
+ t.string :token, null: true
54
+ end
55
+ end
56
+
57
+ def down
58
+ drop_table :shops
59
+ end
60
+ end
61
+ ```
62
+
63
+ Alternatively, you can just load in the SQL:
64
+
65
+ ```
66
+ CREATE TABLE `shops` (
67
+ `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
68
+ `shop` text NOT NULL,
69
+ `token` text NULL,
70
+ PRIMARY KEY (`id`)
71
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
72
+ ```
73
+
74
+ You can extends the built-in Shop model if need-be by doing the following in your own app:
75
+
76
+ ``` ruby
77
+ module YourApp
78
+ module Models
79
+ class Shop < Sinatra::Shopified::Models::Shop
80
+ # Your extra code here
81
+ end
82
+ end
83
+ end
84
+ ```
85
+
86
+ ## Configuration
87
+
88
+ This Gem uses environment variables (`ENV`) for the Shopify config. [dotenv](https://rubygems.org/gems/dotenv) Gem is a great way to manage environment variables.
89
+
90
+ Here is a guide for all required environment variables you can set:
91
+
92
+ ``` bash
93
+ SHOPIFY_API_KEY='YOUR APP API KEY'
94
+ SHOPIFY_API_SECRET='YOUR APP API PASSWORD'
95
+ SHOPIFY_API_SCOPE='YOUR APP SCOPES' # Comma-separated example: "read_themes,write_themes"
96
+ SHOPIFY_APP_REDIRECT_AFTER_AUTH='/' # Where to redirect after authentication is completed (example: /admin)
97
+ ```
98
+
99
+ ## Code Documentation
100
+
101
+ YARD is used for documentation. Simply run `bundle exec yardoc` to generate the documentation of the code and open `doc/index.html` in your browser.
102
+
103
+ ## Testing
104
+
105
+ For initial runs, simply setup the database, migrate the db, and load the seeds in.
106
+
107
+ ```bash
108
+ bundle exec rake db:create
109
+ bundle exec rake db:migrate
110
+ bundle exec rake db:seed
111
+ bundle exec rake test
112
+ ```
113
+
114
+ ## Usage
115
+
116
+ There are a couple noteable helper methods.
117
+
118
+ #### current_shop
119
+
120
+ This will return the current authenticated shop from your database
121
+
122
+ ``` ruby
123
+ You are <%= current_shop.shop %>
124
+ ```
125
+
126
+ #### authorize_shop
127
+
128
+ This is a helper method you can run which will ensure the shop can access the page. If it can, it will activate the shop's session with Shopify. If it can not, it will redirect the shop to the auth page.
129
+
130
+ You can place this anywhere you need to use the Shopify API, such as at the top of a route.
131
+
132
+ ``` ruby
133
+ class PendingController < Sinatra::Base
134
+ # ...
135
+ register Sinatra::Shopified
136
+ # ...
137
+ get "/admin" do
138
+ authorize_shop
139
+
140
+ product = ShopifyAPI::Product.find 1787887
141
+ # ...
142
+ end
143
+ # ...
144
+ end
145
+ ```
146
+
147
+ or, use it in a before filter:
148
+
149
+ ``` ruby
150
+ # ...
151
+ before do
152
+ authorize_shop if request.path.include? "/admin"
153
+ end
154
+ # ...
155
+ ```
156
+
157
+ #### esdk_redirect
158
+
159
+ If you are using ESDK and need to escape the iFrame to do a redirect (maybe go to /admin/products, an off-site link) this method can help.
160
+
161
+ ``` ruby
162
+ return esdk_redirect "https://#{current_shop.shop}/admin/products"
163
+ ```
164
+
165
+ #### shopify_session_with
166
+
167
+ Useful for if you wish to temporarily use the Shopify API with another shop.
168
+
169
+ ``` ruby
170
+ shop = Shopified::Models::Shop.find_by(shop: "coolshop.myshopify.com")
171
+ shopify_session_with shop do
172
+ ShopifyAPI::Product.find 42
173
+ end
174
+ ```
175
+
176
+ ## Routes
177
+
178
+ This module adds one route.
179
+
180
+ #### /auth
181
+
182
+ With the use of `authorize_shop` or simply visting `/auth`. When creating your app in the Partner section, set this as the `redirect_uri`.
183
+
184
+ ## License
185
+
186
+ The Gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
187
+
data/Rakefile ADDED
@@ -0,0 +1,25 @@
1
+ begin
2
+ require "bundler/setup"
3
+ rescue LoadError
4
+ puts "You must `gem install bundler` and `bundle install` to run rake tasks"
5
+ end
6
+
7
+ Bundler::GemHelper.install_tasks
8
+
9
+ require "sinatra/activerecord/rake"
10
+ require "rake/testtask"
11
+
12
+ namespace :db do
13
+ task :load_config do
14
+ require "./test/test_app"
15
+ end
16
+ end
17
+
18
+ Rake::TestTask.new(:test) do |t|
19
+ t.libs << "lib"
20
+ t.libs << "test"
21
+ t.pattern = "test/*_test.rb"
22
+ t.verbose = false
23
+ end
24
+
25
+ task default: :test
@@ -0,0 +1,12 @@
1
+ class CreateShop < ActiveRecord::Migration
2
+ def up
3
+ create_table :shops do |t|
4
+ t.string :shop
5
+ t.string :token, null: true
6
+ end
7
+ end
8
+
9
+ def down
10
+ drop_table :shops
11
+ end
12
+ end
data/db/seeds.rb ADDED
@@ -0,0 +1 @@
1
+ Sinatra::Shopified::Models::Shop.create(shop: "existing_shop.myshopify.com", token: "a_token")
@@ -0,0 +1,53 @@
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
+
8
+ # Sinatra module namespace
9
+ module Sinatra
10
+ # This Gem's module namespace
11
+ module Shopified
12
+ # Register the module with Sinatra
13
+ # @param [Object] app the Sinatra App
14
+ def self.registered(app)
15
+ # Register the helpers for this Gem
16
+ app.helpers Shopified::Helpers
17
+
18
+ # Disable iFrame protection (for ESDK)
19
+ app.set :protection, except: :frame_options
20
+
21
+ # Setup Shopify session with the app's credentials
22
+ ShopifyAPI::Session.setup(api_key: ENV["SHOPIFY_API_KEY"], secret: ENV["SHOPIFY_API_SECRET"])
23
+
24
+ # Auth controller which handles creating shop sessions,
25
+ # hanlding app permissions, and more
26
+ app.get "/auth" do
27
+ # Setup our session
28
+ session[:shopify_domain] = params[:shop] if params.key?("shop")
29
+ api_session = ShopifyAPI::Session.new session[:shopify_domain]
30
+
31
+ if params.key? "code"
32
+ # Create the shop if its new, update the token, and activate the session
33
+ Models::Shop.create(shop: session[:shopify_domain]) unless current_shop
34
+ current_shop.update_attribute :token, api_session.request_token(params)
35
+ shopify_session_activate
36
+
37
+ redirect to(ENV["SHOPIFY_APP_REDIRECT_AFTER_AUTH"])
38
+ else
39
+ # No code, lets ask for app permissions
40
+ redirect api_session.create_permission_url(ENV["SHOPIFY_API_SCOPE"].split(","), to("/auth", true))
41
+ end
42
+ end
43
+
44
+ # Catch ant UnauthrorizedAccess from Shopify and redirect to auth
45
+ app.error ActiveResource::UnauthorizedAccess do
46
+ params[:shop] = session[:shopify_domain] if session[:shopify_domain]
47
+ authorize_shop_fallback
48
+ end
49
+ end
50
+ end
51
+
52
+ register Shopified
53
+ end
@@ -0,0 +1,72 @@
1
+ module Sinatra
2
+ module Shopified
3
+ # Helper module for the Gem
4
+ module Helpers
5
+ # Instance variable for storing shop object
6
+ attr_reader :shop
7
+
8
+ # Grab the current shop from the database
9
+ # @return [Object, nil] the shop object
10
+ def current_shop
11
+ return nil if session[:shopify_domain] == nil
12
+ @shop ||= Models::Shop.find_by(shop: session[:shopify_domain])
13
+ end
14
+
15
+ # Activates Shopify session
16
+ def shopify_session_activate
17
+ api_session = ShopifyAPI::Session.new current_shop.shop, current_shop.token
18
+ ShopifyAPI::Base.activate_session api_session
19
+ end
20
+
21
+ # Clears all sessions
22
+ def shopify_session_clear
23
+ session[:shopify_domain] = nil
24
+ ShopifyAPI::Base.clear_session
25
+ end
26
+
27
+ # Allowing using a temporary session for a shop
28
+ # @param [Object] shop the shop's object
29
+ # @example
30
+ # shop = Shopify::Models::Shop.find(shop: "coolshop.myshopify.com")
31
+ # shopify_session_with shop do
32
+ # ShopifyAPI::Product.find 42
33
+ # end
34
+ def shopify_session_with(shop, &block)
35
+ ShopifyAPI::Session.temp shop.shop, shop.token, &block
36
+ end
37
+
38
+ # Clears session and reidrects to auth
39
+ def authorize_shop_fallback
40
+ shopify_session_clear
41
+ redirect to("/auth?shop=#{params[:shop]}")
42
+ end
43
+
44
+ # Check if shop is authorized to view a page.
45
+ # If they are, we activate the Shopify session.
46
+ # If not, they are redirected to auth.
47
+ def authorize_shop
48
+ if current_shop == nil
49
+ # No session yet, or shop domains are different
50
+ authorize_shop_fallback.call
51
+ end
52
+
53
+ if params[:shop] and session[:shopify_domain] != params[:shop]
54
+ # Shops are different
55
+ authorize_shop_fallback.call
56
+ end
57
+
58
+ # Activate the session
59
+ shopify_session_activate
60
+ end
61
+
62
+ # Forces a redirect to get out of the iFrame for embedded apps
63
+ # @param [String] redirect_url the URL to redirect to
64
+ # @return [String] the Javascript for redirecting
65
+ # @example
66
+ # esdk_redirect "/admin/products"
67
+ def esdk_redirect(redirect_url)
68
+ "<script type='text/javascript'>top.window.location.href = '#{redirect_url}';</script>"
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,19 @@
1
+ module Sinatra
2
+ module Shopified
3
+ # Models for the Gem
4
+ module Models
5
+ # Base Shop model
6
+ class Shop < ActiveRecord::Base
7
+ validates_uniqueness_of :shop
8
+ validates_presence_of :shop
9
+ after_initialize :init
10
+
11
+ private
12
+ # Initializer for a Shop
13
+ def init
14
+ self[:token] ||= nil
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,6 @@
1
+ module Sinatra
2
+ module Shopified
3
+ # Gem version
4
+ VERSION = "0.10.0"
5
+ end
6
+ end
@@ -0,0 +1,32 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "sinatra/shopified/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "sinatra-shopified"
7
+ spec.version = Sinatra::Shopified::VERSION
8
+ spec.authors = ["Tyler King"]
9
+ spec.homepage = "http://tylerking.me/"
10
+ spec.email = ["tyler.n.king@outlook.com"]
11
+
12
+ spec.summary = "Shopify apps with Sinatra"
13
+ spec.description = "Provides some boilerplate helpers and routes for Shopify apps with Sinatra"
14
+ spec.homepage = "https://github.com/tyler-king/sinatra-shopified"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency "shopify_api", "~> 4.0"
23
+ spec.add_dependency "sinatra", "~> 1.4"
24
+ spec.add_dependency "sinatra-activerecord", "~> 2.0"
25
+ spec.add_development_dependency "yard", "~> 0.8"
26
+ spec.add_development_dependency "inch", "~> 0.7"
27
+ spec.add_development_dependency "rake", "~> 10.5"
28
+ spec.add_development_dependency "rack-test", "~> 0.6"
29
+ spec.add_development_dependency "webmock", "~> 1.24"
30
+ spec.add_development_dependency "sqlite3", "~> 1.3"
31
+ spec.add_development_dependency "simplecov", "~> 0.11"
32
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sinatra-shopified
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.10.0
5
+ platform: ruby
6
+ authors:
7
+ - Tyler King
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-03-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: shopify_api
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sinatra
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.4'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sinatra-activerecord
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: yard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.8'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: inch
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.7'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.7'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.5'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.5'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rack-test
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.6'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.6'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.24'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.24'
125
+ - !ruby/object:Gem::Dependency
126
+ name: sqlite3
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.3'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.3'
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.11'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.11'
153
+ description: Provides some boilerplate helpers and routes for Shopify apps with Sinatra
154
+ email:
155
+ - tyler.n.king@outlook.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".travis.yml"
162
+ - ".yardopts"
163
+ - Gemfile
164
+ - LICENSE
165
+ - README.md
166
+ - Rakefile
167
+ - db/migrate/20160303165323_create_shop.rb
168
+ - db/seeds.rb
169
+ - lib/sinatra/shopified.rb
170
+ - lib/sinatra/shopified/helpers.rb
171
+ - lib/sinatra/shopified/models.rb
172
+ - lib/sinatra/shopified/version.rb
173
+ - sinatra-shopified.gemspec
174
+ homepage: https://github.com/tyler-king/sinatra-shopified
175
+ licenses:
176
+ - MIT
177
+ metadata: {}
178
+ post_install_message:
179
+ rdoc_options: []
180
+ require_paths:
181
+ - lib
182
+ required_ruby_version: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ required_rubygems_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ requirements: []
193
+ rubyforge_project:
194
+ rubygems_version: 2.4.6
195
+ signing_key:
196
+ specification_version: 4
197
+ summary: Shopify apps with Sinatra
198
+ test_files: []
199
+ has_rdoc: