disco_app 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/disco_app/disco_app.js +7 -0
- data/app/assets/stylesheets/disco_app/bootstrap-custom.scss +55 -0
- data/app/assets/stylesheets/disco_app/bootstrap-variables.scss +12 -0
- data/app/assets/stylesheets/disco_app/disco_app.scss +7 -0
- data/app/controllers/disco_app/app_proxy_controller.rb +41 -0
- data/app/controllers/disco_app/authenticated_controller.rb +44 -0
- data/app/controllers/disco_app/charges_controller.rb +30 -0
- data/app/controllers/disco_app/install_controller.rb +26 -0
- data/app/controllers/disco_app/webhooks_controller.rb +40 -0
- data/app/helpers/disco_app/application_helper.rb +4 -0
- data/app/jobs/disco_app/app_installed_job.rb +41 -0
- data/app/jobs/disco_app/app_uninstalled_job.rb +18 -0
- data/app/jobs/disco_app/shop_job.rb +29 -0
- data/app/jobs/disco_app/shop_update_job.rb +16 -0
- data/app/models/disco_app/shop.rb +39 -0
- data/app/services/disco_app/charges_service.rb +73 -0
- data/app/views/disco_app/charges/activate.html.erb +1 -0
- data/app/views/disco_app/charges/create.html.erb +1 -0
- data/app/views/disco_app/charges/new.html.erb +45 -0
- data/app/views/disco_app/install/installing.html.erb +7 -0
- data/app/views/disco_app/install/uninstalling.html.erb +1 -0
- data/app/views/disco_app/proxy_errors/404.html.erb +1 -0
- data/config/routes.rb +19 -0
- data/db/migrate/20150525162112_add_status_to_shops.rb +5 -0
- data/db/migrate/20150525171422_add_meta_to_shops.rb +11 -0
- data/db/migrate/20150629210346_add_charge_status_to_shop.rb +5 -0
- data/lib/disco_app/engine.rb +6 -0
- data/lib/disco_app/version.rb +3 -0
- data/lib/disco_app.rb +4 -0
- data/lib/generators/disco_app/USAGE +5 -0
- data/lib/generators/disco_app/disco_app_generator.rb +182 -0
- data/lib/generators/disco_app/reactify/reactify_generator.rb +31 -0
- data/lib/generators/disco_app/templates/assets/javascripts/application.js +17 -0
- data/lib/generators/disco_app/templates/assets/stylesheets/application.scss +5 -0
- data/lib/generators/disco_app/templates/config/puma.rb +15 -0
- data/lib/generators/disco_app/templates/controllers/home_controller.rb +7 -0
- data/lib/generators/disco_app/templates/initializers/disco_app.rb +1 -0
- data/lib/generators/disco_app/templates/initializers/shopify_app.rb +6 -0
- data/lib/generators/disco_app/templates/jobs/app_installed_job.rb +2 -0
- data/lib/generators/disco_app/templates/jobs/app_uninstalled_job.rb +2 -0
- data/lib/generators/disco_app/templates/jobs/shop_update_job.rb +2 -0
- data/lib/generators/disco_app/templates/models/shop.rb +3 -0
- data/lib/generators/disco_app/templates/root/Procfile +2 -0
- data/lib/generators/disco_app/templates/views/home/index.html.erb +2 -0
- data/lib/generators/disco_app/templates/views/layouts/application.html.erb +18 -0
- data/lib/generators/disco_app/templates/views/layouts/embedded_app.html.erb +33 -0
- data/lib/generators/disco_app/templates/views/sessions/new.html.erb +26 -0
- data/test/disco_app_test.rb +7 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/lib/generators/disco_app/disco_app_generator_test.rb +16 -0
- data/test/test_helper.rb +20 -0
- metadata +336 -0
metadata
ADDED
@@ -0,0 +1,336 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: disco_app
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gavin Ballard
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.2.3
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.2.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: shopify_app
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 6.1.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 6.1.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: puma
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.11.3
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.11.3
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sidekiq
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.4.1
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.4.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bootstrap-sass
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.3.5.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.3.5.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.18.2
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.18.2
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rails_12factor
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.0.3
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.0.3
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: sqlite3
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.3.10
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.3.10
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: dotenv-rails
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.0.2
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.0.2
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: minitest-reporters
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.0.19
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.0.19
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: guard
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 2.13.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 2.13.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: guard-minitest
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 2.4.4
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 2.4.4
|
181
|
+
description: Rails engine for Shopify applications.
|
182
|
+
email:
|
183
|
+
- gavin@gavinballard.com
|
184
|
+
executables: []
|
185
|
+
extensions: []
|
186
|
+
extra_rdoc_files: []
|
187
|
+
files:
|
188
|
+
- Rakefile
|
189
|
+
- app/assets/javascripts/disco_app/disco_app.js
|
190
|
+
- app/assets/stylesheets/disco_app/bootstrap-custom.scss
|
191
|
+
- app/assets/stylesheets/disco_app/bootstrap-variables.scss
|
192
|
+
- app/assets/stylesheets/disco_app/disco_app.scss
|
193
|
+
- app/controllers/disco_app/app_proxy_controller.rb
|
194
|
+
- app/controllers/disco_app/authenticated_controller.rb
|
195
|
+
- app/controllers/disco_app/charges_controller.rb
|
196
|
+
- app/controllers/disco_app/install_controller.rb
|
197
|
+
- app/controllers/disco_app/webhooks_controller.rb
|
198
|
+
- app/helpers/disco_app/application_helper.rb
|
199
|
+
- app/jobs/disco_app/app_installed_job.rb
|
200
|
+
- app/jobs/disco_app/app_uninstalled_job.rb
|
201
|
+
- app/jobs/disco_app/shop_job.rb
|
202
|
+
- app/jobs/disco_app/shop_update_job.rb
|
203
|
+
- app/models/disco_app/shop.rb
|
204
|
+
- app/services/disco_app/charges_service.rb
|
205
|
+
- app/views/disco_app/charges/activate.html.erb
|
206
|
+
- app/views/disco_app/charges/create.html.erb
|
207
|
+
- app/views/disco_app/charges/new.html.erb
|
208
|
+
- app/views/disco_app/install/installing.html.erb
|
209
|
+
- app/views/disco_app/install/uninstalling.html.erb
|
210
|
+
- app/views/disco_app/proxy_errors/404.html.erb
|
211
|
+
- config/routes.rb
|
212
|
+
- db/migrate/20150525162112_add_status_to_shops.rb
|
213
|
+
- db/migrate/20150525171422_add_meta_to_shops.rb
|
214
|
+
- db/migrate/20150629210346_add_charge_status_to_shop.rb
|
215
|
+
- lib/disco_app.rb
|
216
|
+
- lib/disco_app/engine.rb
|
217
|
+
- lib/disco_app/version.rb
|
218
|
+
- lib/generators/disco_app/USAGE
|
219
|
+
- lib/generators/disco_app/disco_app_generator.rb
|
220
|
+
- lib/generators/disco_app/reactify/reactify_generator.rb
|
221
|
+
- lib/generators/disco_app/templates/assets/javascripts/application.js
|
222
|
+
- lib/generators/disco_app/templates/assets/stylesheets/application.scss
|
223
|
+
- lib/generators/disco_app/templates/config/puma.rb
|
224
|
+
- lib/generators/disco_app/templates/controllers/home_controller.rb
|
225
|
+
- lib/generators/disco_app/templates/initializers/disco_app.rb
|
226
|
+
- lib/generators/disco_app/templates/initializers/shopify_app.rb
|
227
|
+
- lib/generators/disco_app/templates/jobs/app_installed_job.rb
|
228
|
+
- lib/generators/disco_app/templates/jobs/app_uninstalled_job.rb
|
229
|
+
- lib/generators/disco_app/templates/jobs/shop_update_job.rb
|
230
|
+
- lib/generators/disco_app/templates/models/shop.rb
|
231
|
+
- lib/generators/disco_app/templates/root/Procfile
|
232
|
+
- lib/generators/disco_app/templates/views/home/index.html.erb
|
233
|
+
- lib/generators/disco_app/templates/views/layouts/application.html.erb
|
234
|
+
- lib/generators/disco_app/templates/views/layouts/embedded_app.html.erb
|
235
|
+
- lib/generators/disco_app/templates/views/sessions/new.html.erb
|
236
|
+
- test/disco_app_test.rb
|
237
|
+
- test/dummy/README.rdoc
|
238
|
+
- test/dummy/Rakefile
|
239
|
+
- test/dummy/app/assets/javascripts/application.js
|
240
|
+
- test/dummy/app/assets/stylesheets/application.css
|
241
|
+
- test/dummy/app/controllers/application_controller.rb
|
242
|
+
- test/dummy/app/helpers/application_helper.rb
|
243
|
+
- test/dummy/app/views/layouts/application.html.erb
|
244
|
+
- test/dummy/bin/bundle
|
245
|
+
- test/dummy/bin/rails
|
246
|
+
- test/dummy/bin/rake
|
247
|
+
- test/dummy/bin/setup
|
248
|
+
- test/dummy/config.ru
|
249
|
+
- test/dummy/config/application.rb
|
250
|
+
- test/dummy/config/boot.rb
|
251
|
+
- test/dummy/config/database.yml
|
252
|
+
- test/dummy/config/environment.rb
|
253
|
+
- test/dummy/config/environments/development.rb
|
254
|
+
- test/dummy/config/environments/production.rb
|
255
|
+
- test/dummy/config/environments/test.rb
|
256
|
+
- test/dummy/config/initializers/assets.rb
|
257
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
258
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
259
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
260
|
+
- test/dummy/config/initializers/inflections.rb
|
261
|
+
- test/dummy/config/initializers/mime_types.rb
|
262
|
+
- test/dummy/config/initializers/session_store.rb
|
263
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
264
|
+
- test/dummy/config/locales/en.yml
|
265
|
+
- test/dummy/config/routes.rb
|
266
|
+
- test/dummy/config/secrets.yml
|
267
|
+
- test/dummy/public/404.html
|
268
|
+
- test/dummy/public/422.html
|
269
|
+
- test/dummy/public/500.html
|
270
|
+
- test/dummy/public/favicon.ico
|
271
|
+
- test/integration/navigation_test.rb
|
272
|
+
- test/lib/generators/disco_app/disco_app_generator_test.rb
|
273
|
+
- test/test_helper.rb
|
274
|
+
homepage: https://github.com/discolabs/disco_app/
|
275
|
+
licenses:
|
276
|
+
- MIT
|
277
|
+
metadata: {}
|
278
|
+
post_install_message:
|
279
|
+
rdoc_options: []
|
280
|
+
require_paths:
|
281
|
+
- lib
|
282
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
283
|
+
requirements:
|
284
|
+
- - ">="
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
version: '0'
|
287
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
288
|
+
requirements:
|
289
|
+
- - ">="
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: '0'
|
292
|
+
requirements: []
|
293
|
+
rubyforge_project:
|
294
|
+
rubygems_version: 2.7.6
|
295
|
+
signing_key:
|
296
|
+
specification_version: 4
|
297
|
+
summary: Rails engine for Shopify applications.
|
298
|
+
test_files:
|
299
|
+
- test/dummy/public/500.html
|
300
|
+
- test/dummy/public/favicon.ico
|
301
|
+
- test/dummy/public/422.html
|
302
|
+
- test/dummy/public/404.html
|
303
|
+
- test/dummy/bin/rake
|
304
|
+
- test/dummy/bin/rails
|
305
|
+
- test/dummy/bin/setup
|
306
|
+
- test/dummy/bin/bundle
|
307
|
+
- test/dummy/Rakefile
|
308
|
+
- test/dummy/config.ru
|
309
|
+
- test/dummy/app/assets/stylesheets/application.css
|
310
|
+
- test/dummy/app/assets/javascripts/application.js
|
311
|
+
- test/dummy/app/controllers/application_controller.rb
|
312
|
+
- test/dummy/app/helpers/application_helper.rb
|
313
|
+
- test/dummy/app/views/layouts/application.html.erb
|
314
|
+
- test/dummy/config/locales/en.yml
|
315
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
316
|
+
- test/dummy/config/initializers/assets.rb
|
317
|
+
- test/dummy/config/initializers/session_store.rb
|
318
|
+
- test/dummy/config/initializers/inflections.rb
|
319
|
+
- test/dummy/config/initializers/mime_types.rb
|
320
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
321
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
322
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
323
|
+
- test/dummy/config/secrets.yml
|
324
|
+
- test/dummy/config/routes.rb
|
325
|
+
- test/dummy/config/environments/production.rb
|
326
|
+
- test/dummy/config/environments/test.rb
|
327
|
+
- test/dummy/config/environments/development.rb
|
328
|
+
- test/dummy/config/environment.rb
|
329
|
+
- test/dummy/config/boot.rb
|
330
|
+
- test/dummy/config/database.yml
|
331
|
+
- test/dummy/config/application.rb
|
332
|
+
- test/dummy/README.rdoc
|
333
|
+
- test/lib/generators/disco_app/disco_app_generator_test.rb
|
334
|
+
- test/test_helper.rb
|
335
|
+
- test/disco_app_test.rb
|
336
|
+
- test/integration/navigation_test.rb
|