disco_app 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +37 -0
  3. data/app/assets/images/disco_app/icon.svg +1 -0
  4. data/app/assets/javascripts/disco_app/components/shopify_admin_link.js.jsx +29 -0
  5. data/app/assets/javascripts/disco_app/components.js +5 -0
  6. data/app/assets/javascripts/disco_app/disco_app.js +7 -0
  7. data/app/assets/javascripts/disco_app/frame.js +152 -0
  8. data/app/assets/javascripts/disco_app/shopify-turbolinks.js +7 -0
  9. data/app/assets/stylesheets/disco_app/bootstrap/_custom.scss +54 -0
  10. data/app/assets/stylesheets/disco_app/bootstrap/_variables.scss +872 -0
  11. data/app/assets/stylesheets/disco_app/disco/_buttons.scss +31 -0
  12. data/app/assets/stylesheets/disco_app/disco/_cards.scss +51 -0
  13. data/app/assets/stylesheets/disco_app/disco/_forms.scss +23 -0
  14. data/app/assets/stylesheets/disco_app/disco/_grid.scss +58 -0
  15. data/app/assets/stylesheets/disco_app/disco/_sections.scss +61 -0
  16. data/app/assets/stylesheets/disco_app/disco/_tables.scss +57 -0
  17. data/app/assets/stylesheets/disco_app/disco/_tabs.scss +61 -0
  18. data/app/assets/stylesheets/disco_app/disco/_type.scss +39 -0
  19. data/app/assets/stylesheets/disco_app/disco/mixins/_flexbox.scss +394 -0
  20. data/app/assets/stylesheets/disco_app/disco_app.scss +16 -0
  21. data/app/assets/stylesheets/disco_app/frame/_buttons.scss +54 -0
  22. data/app/assets/stylesheets/disco_app/frame/_forms.scss +26 -0
  23. data/app/assets/stylesheets/disco_app/frame/_layout.scss +77 -0
  24. data/app/assets/stylesheets/disco_app/frame/_type.scss +32 -0
  25. data/app/assets/stylesheets/disco_app/frame.scss +9 -0
  26. data/app/controllers/disco_app/app_proxy_controller.rb +41 -0
  27. data/app/controllers/disco_app/authenticated_controller.rb +44 -0
  28. data/app/controllers/disco_app/carrier_request_controller.rb +28 -0
  29. data/app/controllers/disco_app/charges_controller.rb +30 -0
  30. data/app/controllers/disco_app/frame_controller.rb +9 -0
  31. data/app/controllers/disco_app/install_controller.rb +26 -0
  32. data/app/controllers/disco_app/webhooks_controller.rb +42 -0
  33. data/app/helpers/disco_app/application_helper.rb +28 -0
  34. data/app/jobs/disco_app/app_installed_job.rb +3 -0
  35. data/app/jobs/disco_app/app_uninstalled_job.rb +3 -0
  36. data/app/jobs/disco_app/concerns/app_installed_job.rb +22 -0
  37. data/app/jobs/disco_app/concerns/app_uninstalled_job.rb +23 -0
  38. data/app/jobs/disco_app/concerns/shop_update_job.rb +16 -0
  39. data/app/jobs/disco_app/concerns/synchronise_carrier_service_job.rb +51 -0
  40. data/app/jobs/disco_app/concerns/synchronise_webhooks_job.rb +53 -0
  41. data/app/jobs/disco_app/shop_job.rb +27 -0
  42. data/app/jobs/disco_app/shop_update_job.rb +3 -0
  43. data/app/jobs/disco_app/synchronise_carrier_service_job.rb +3 -0
  44. data/app/jobs/disco_app/synchronise_webhooks_job.rb +3 -0
  45. data/app/models/disco_app/concerns/plan.rb +14 -0
  46. data/app/models/disco_app/concerns/shop.rb +71 -0
  47. data/app/models/disco_app/concerns/subscription.rb +14 -0
  48. data/app/models/disco_app/plan.rb +3 -0
  49. data/app/models/disco_app/session_storage.rb +18 -0
  50. data/app/models/disco_app/shop.rb +3 -0
  51. data/app/models/disco_app/subscription.rb +3 -0
  52. data/app/services/disco_app/charges_service.rb +73 -0
  53. data/app/services/disco_app/subscription_service.rb +25 -0
  54. data/app/services/disco_app/webhook_service.rb +30 -0
  55. data/app/views/disco_app/charges/activate.html.erb +1 -0
  56. data/app/views/disco_app/charges/create.html.erb +1 -0
  57. data/app/views/disco_app/charges/new.html.erb +45 -0
  58. data/app/views/disco_app/frame/frame.html.erb +36 -0
  59. data/app/views/disco_app/install/installing.html.erb +7 -0
  60. data/app/views/disco_app/install/uninstalling.html.erb +1 -0
  61. data/app/views/disco_app/proxy_errors/404.html.erb +1 -0
  62. data/app/views/disco_app/shared/_card.html.erb +14 -0
  63. data/app/views/disco_app/shared/_section.html.erb +17 -0
  64. data/app/views/layouts/application.html.erb +18 -0
  65. data/app/views/layouts/embedded_app.html.erb +41 -0
  66. data/app/views/layouts/embedded_app_modal.html.erb +17 -0
  67. data/app/views/sessions/new.html.erb +26 -0
  68. data/config/routes.rb +26 -0
  69. data/db/migrate/20150525000000_create_shops_if_not_existent.rb +15 -0
  70. data/db/migrate/20150525162112_add_status_to_shops.rb +5 -0
  71. data/db/migrate/20150525171422_add_meta_to_shops.rb +11 -0
  72. data/db/migrate/20150629210346_add_charge_status_to_shop.rb +5 -0
  73. data/db/migrate/20150814214025_add_more_meta_to_shops.rb +15 -0
  74. data/db/migrate/20151017231302_create_disco_app_plans.rb +13 -0
  75. data/db/migrate/20151017232027_create_disco_app_subscriptions.rb +15 -0
  76. data/db/migrate/20151017234409_move_shop_to_disco_app_engine.rb +5 -0
  77. data/db/migrate/20160112233706_create_disco_app_sessions.rb +12 -0
  78. data/db/migrate/20160113194418_add_shop_id_to_disco_app_sessions.rb +6 -0
  79. data/lib/disco_app/engine.rb +25 -0
  80. data/lib/disco_app/session.rb +14 -0
  81. data/lib/disco_app/support/file_fixtures.rb +23 -0
  82. data/lib/disco_app/test_help.rb +11 -0
  83. data/lib/disco_app/version.rb +3 -0
  84. data/lib/disco_app.rb +4 -0
  85. data/lib/generators/disco_app/USAGE +5 -0
  86. data/lib/generators/disco_app/disco_app_generator.rb +169 -0
  87. data/lib/generators/disco_app/mailify/mailify_generator.rb +54 -0
  88. data/lib/generators/disco_app/reactify/reactify_generator.rb +45 -0
  89. data/lib/generators/disco_app/rollbarify/rollbarify_generator.rb +26 -0
  90. data/lib/generators/disco_app/rollbarify/templates/initializers/rollbar.rb +12 -0
  91. data/lib/generators/disco_app/templates/assets/javascripts/application.js +17 -0
  92. data/lib/generators/disco_app/templates/assets/stylesheets/application.scss +5 -0
  93. data/lib/generators/disco_app/templates/config/puma.rb +15 -0
  94. data/lib/generators/disco_app/templates/controllers/home_controller.rb +7 -0
  95. data/lib/generators/disco_app/templates/initializers/disco_app.rb +1 -0
  96. data/lib/generators/disco_app/templates/initializers/session_store.rb +2 -0
  97. data/lib/generators/disco_app/templates/initializers/shopify_app.rb +7 -0
  98. data/lib/generators/disco_app/templates/initializers/shopify_session_repository.rb +7 -0
  99. data/lib/generators/disco_app/templates/root/Procfile +2 -0
  100. data/lib/generators/disco_app/templates/views/home/index.html.erb +2 -0
  101. data/lib/tasks/carrier_service.rake +10 -0
  102. data/lib/tasks/sessions.rake +9 -0
  103. data/lib/tasks/start.rake +3 -0
  104. data/lib/tasks/webhooks.rake +10 -0
  105. data/test/controllers/disco_app/install_controller_test.rb +50 -0
  106. data/test/controllers/disco_app/webhooks_controller_test.rb +58 -0
  107. data/test/controllers/home_controller_test.rb +61 -0
  108. data/test/disco_app_test.rb +7 -0
  109. data/test/dummy/Rakefile +6 -0
  110. data/test/dummy/app/assets/javascripts/application.js +17 -0
  111. data/test/dummy/app/assets/stylesheets/application.scss +5 -0
  112. data/test/dummy/app/controllers/application_controller.rb +6 -0
  113. data/test/dummy/app/controllers/home_controller.rb +7 -0
  114. data/test/dummy/app/helpers/application_helper.rb +2 -0
  115. data/test/dummy/app/jobs/disco_app/app_uninstalled_job.rb +11 -0
  116. data/test/dummy/app/models/disco_app/shop.rb +15 -0
  117. data/test/dummy/app/views/home/index.html.erb +2 -0
  118. data/test/dummy/bin/bundle +3 -0
  119. data/test/dummy/bin/rails +4 -0
  120. data/test/dummy/bin/rake +4 -0
  121. data/test/dummy/bin/setup +29 -0
  122. data/test/dummy/config/application.rb +41 -0
  123. data/test/dummy/config/boot.rb +5 -0
  124. data/test/dummy/config/database.yml +25 -0
  125. data/test/dummy/config/environment.rb +5 -0
  126. data/test/dummy/config/environments/development.rb +41 -0
  127. data/test/dummy/config/environments/production.rb +85 -0
  128. data/test/dummy/config/environments/test.rb +42 -0
  129. data/test/dummy/config/initializers/assets.rb +11 -0
  130. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  131. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  132. data/test/dummy/config/initializers/disco_app.rb +1 -0
  133. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  134. data/test/dummy/config/initializers/inflections.rb +16 -0
  135. data/test/dummy/config/initializers/mime_types.rb +4 -0
  136. data/test/dummy/config/initializers/omniauth.rb +9 -0
  137. data/test/dummy/config/initializers/session_store.rb +2 -0
  138. data/test/dummy/config/initializers/shopify_app.rb +7 -0
  139. data/test/dummy/config/initializers/shopify_session_repository.rb +7 -0
  140. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  141. data/test/dummy/config/locales/en.yml +23 -0
  142. data/test/dummy/config/routes.rb +8 -0
  143. data/test/dummy/config/secrets.yml +22 -0
  144. data/test/dummy/config.ru +4 -0
  145. data/test/dummy/db/schema.rb +81 -0
  146. data/test/dummy/public/404.html +67 -0
  147. data/test/dummy/public/422.html +67 -0
  148. data/test/dummy/public/500.html +66 -0
  149. data/test/dummy/public/favicon.ico +0 -0
  150. data/test/fixtures/api/widget_store/shop.json +46 -0
  151. data/test/fixtures/api/widget_store/webhooks.json +1 -0
  152. data/test/fixtures/disco_app/plans.yml +32 -0
  153. data/test/fixtures/disco_app/shops.yml +10 -0
  154. data/test/fixtures/disco_app/subscriptions.yml +26 -0
  155. data/test/fixtures/webhooks/app_uninstalled.json +46 -0
  156. data/test/integration/navigation_test.rb +10 -0
  157. data/test/jobs/disco_app/app_installed_job_test.rb +30 -0
  158. data/test/jobs/disco_app/app_uninstalled_job_test.rb +32 -0
  159. data/test/models/disco_app/plan_test.rb +5 -0
  160. data/test/models/disco_app/session_test.rb +31 -0
  161. data/test/models/disco_app/shop_test.rb +26 -0
  162. data/test/models/disco_app/subscription_test.rb +6 -0
  163. data/test/services/disco_app/subscription_service_test.rb +28 -0
  164. data/test/support/test_file_fixtures.rb +29 -0
  165. data/test/test_helper.rb +51 -0
  166. metadata +507 -0
metadata ADDED
@@ -0,0 +1,507 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: disco_app
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.0
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.5
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.5
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.4.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 6.4.1
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.14.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.14.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: sidekiq
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 4.0.2
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 4.0.2
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: jquery-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 4.0.5
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 4.0.5
97
+ - !ruby/object:Gem::Dependency
98
+ name: turbolinks
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.5.3
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.5.3
111
+ - !ruby/object:Gem::Dependency
112
+ name: pg
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.18.3
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.18.3
125
+ - !ruby/object:Gem::Dependency
126
+ name: rails_12factor
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.0.3
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.0.3
139
+ - !ruby/object:Gem::Dependency
140
+ name: active_utils
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 3.2.0
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 3.2.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: activerecord-session_store
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.1.2
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.1.2
167
+ - !ruby/object:Gem::Dependency
168
+ name: sqlite3
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 1.3.11
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: 1.3.11
181
+ - !ruby/object:Gem::Dependency
182
+ name: dotenv-rails
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: 2.0.2
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: 2.0.2
195
+ - !ruby/object:Gem::Dependency
196
+ name: minitest-reporters
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: 1.0.19
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: 1.0.19
209
+ - !ruby/object:Gem::Dependency
210
+ name: guard
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: 2.13.0
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: 2.13.0
223
+ - !ruby/object:Gem::Dependency
224
+ name: guard-minitest
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: 2.4.4
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - "~>"
235
+ - !ruby/object:Gem::Version
236
+ version: 2.4.4
237
+ - !ruby/object:Gem::Dependency
238
+ name: webmock
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - "~>"
242
+ - !ruby/object:Gem::Version
243
+ version: 1.22.1
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - "~>"
249
+ - !ruby/object:Gem::Version
250
+ version: 1.22.1
251
+ description: Rails engine for Shopify applications.
252
+ email:
253
+ - gavin@gavinballard.com
254
+ executables: []
255
+ extensions: []
256
+ extra_rdoc_files: []
257
+ files:
258
+ - Rakefile
259
+ - app/assets/images/disco_app/icon.svg
260
+ - app/assets/javascripts/disco_app/components.js
261
+ - app/assets/javascripts/disco_app/components/shopify_admin_link.js.jsx
262
+ - app/assets/javascripts/disco_app/disco_app.js
263
+ - app/assets/javascripts/disco_app/frame.js
264
+ - app/assets/javascripts/disco_app/shopify-turbolinks.js
265
+ - app/assets/stylesheets/disco_app/bootstrap/_custom.scss
266
+ - app/assets/stylesheets/disco_app/bootstrap/_variables.scss
267
+ - app/assets/stylesheets/disco_app/disco/_buttons.scss
268
+ - app/assets/stylesheets/disco_app/disco/_cards.scss
269
+ - app/assets/stylesheets/disco_app/disco/_forms.scss
270
+ - app/assets/stylesheets/disco_app/disco/_grid.scss
271
+ - app/assets/stylesheets/disco_app/disco/_sections.scss
272
+ - app/assets/stylesheets/disco_app/disco/_tables.scss
273
+ - app/assets/stylesheets/disco_app/disco/_tabs.scss
274
+ - app/assets/stylesheets/disco_app/disco/_type.scss
275
+ - app/assets/stylesheets/disco_app/disco/mixins/_flexbox.scss
276
+ - app/assets/stylesheets/disco_app/disco_app.scss
277
+ - app/assets/stylesheets/disco_app/frame.scss
278
+ - app/assets/stylesheets/disco_app/frame/_buttons.scss
279
+ - app/assets/stylesheets/disco_app/frame/_forms.scss
280
+ - app/assets/stylesheets/disco_app/frame/_layout.scss
281
+ - app/assets/stylesheets/disco_app/frame/_type.scss
282
+ - app/controllers/disco_app/app_proxy_controller.rb
283
+ - app/controllers/disco_app/authenticated_controller.rb
284
+ - app/controllers/disco_app/carrier_request_controller.rb
285
+ - app/controllers/disco_app/charges_controller.rb
286
+ - app/controllers/disco_app/frame_controller.rb
287
+ - app/controllers/disco_app/install_controller.rb
288
+ - app/controllers/disco_app/webhooks_controller.rb
289
+ - app/helpers/disco_app/application_helper.rb
290
+ - app/jobs/disco_app/app_installed_job.rb
291
+ - app/jobs/disco_app/app_uninstalled_job.rb
292
+ - app/jobs/disco_app/concerns/app_installed_job.rb
293
+ - app/jobs/disco_app/concerns/app_uninstalled_job.rb
294
+ - app/jobs/disco_app/concerns/shop_update_job.rb
295
+ - app/jobs/disco_app/concerns/synchronise_carrier_service_job.rb
296
+ - app/jobs/disco_app/concerns/synchronise_webhooks_job.rb
297
+ - app/jobs/disco_app/shop_job.rb
298
+ - app/jobs/disco_app/shop_update_job.rb
299
+ - app/jobs/disco_app/synchronise_carrier_service_job.rb
300
+ - app/jobs/disco_app/synchronise_webhooks_job.rb
301
+ - app/models/disco_app/concerns/plan.rb
302
+ - app/models/disco_app/concerns/shop.rb
303
+ - app/models/disco_app/concerns/subscription.rb
304
+ - app/models/disco_app/plan.rb
305
+ - app/models/disco_app/session_storage.rb
306
+ - app/models/disco_app/shop.rb
307
+ - app/models/disco_app/subscription.rb
308
+ - app/services/disco_app/charges_service.rb
309
+ - app/services/disco_app/subscription_service.rb
310
+ - app/services/disco_app/webhook_service.rb
311
+ - app/views/disco_app/charges/activate.html.erb
312
+ - app/views/disco_app/charges/create.html.erb
313
+ - app/views/disco_app/charges/new.html.erb
314
+ - app/views/disco_app/frame/frame.html.erb
315
+ - app/views/disco_app/install/installing.html.erb
316
+ - app/views/disco_app/install/uninstalling.html.erb
317
+ - app/views/disco_app/proxy_errors/404.html.erb
318
+ - app/views/disco_app/shared/_card.html.erb
319
+ - app/views/disco_app/shared/_section.html.erb
320
+ - app/views/layouts/application.html.erb
321
+ - app/views/layouts/embedded_app.html.erb
322
+ - app/views/layouts/embedded_app_modal.html.erb
323
+ - app/views/sessions/new.html.erb
324
+ - config/routes.rb
325
+ - db/migrate/20150525000000_create_shops_if_not_existent.rb
326
+ - db/migrate/20150525162112_add_status_to_shops.rb
327
+ - db/migrate/20150525171422_add_meta_to_shops.rb
328
+ - db/migrate/20150629210346_add_charge_status_to_shop.rb
329
+ - db/migrate/20150814214025_add_more_meta_to_shops.rb
330
+ - db/migrate/20151017231302_create_disco_app_plans.rb
331
+ - db/migrate/20151017232027_create_disco_app_subscriptions.rb
332
+ - db/migrate/20151017234409_move_shop_to_disco_app_engine.rb
333
+ - db/migrate/20160112233706_create_disco_app_sessions.rb
334
+ - db/migrate/20160113194418_add_shop_id_to_disco_app_sessions.rb
335
+ - lib/disco_app.rb
336
+ - lib/disco_app/engine.rb
337
+ - lib/disco_app/session.rb
338
+ - lib/disco_app/support/file_fixtures.rb
339
+ - lib/disco_app/test_help.rb
340
+ - lib/disco_app/version.rb
341
+ - lib/generators/disco_app/USAGE
342
+ - lib/generators/disco_app/disco_app_generator.rb
343
+ - lib/generators/disco_app/mailify/mailify_generator.rb
344
+ - lib/generators/disco_app/reactify/reactify_generator.rb
345
+ - lib/generators/disco_app/rollbarify/rollbarify_generator.rb
346
+ - lib/generators/disco_app/rollbarify/templates/initializers/rollbar.rb
347
+ - lib/generators/disco_app/templates/assets/javascripts/application.js
348
+ - lib/generators/disco_app/templates/assets/stylesheets/application.scss
349
+ - lib/generators/disco_app/templates/config/puma.rb
350
+ - lib/generators/disco_app/templates/controllers/home_controller.rb
351
+ - lib/generators/disco_app/templates/initializers/disco_app.rb
352
+ - lib/generators/disco_app/templates/initializers/session_store.rb
353
+ - lib/generators/disco_app/templates/initializers/shopify_app.rb
354
+ - lib/generators/disco_app/templates/initializers/shopify_session_repository.rb
355
+ - lib/generators/disco_app/templates/root/Procfile
356
+ - lib/generators/disco_app/templates/views/home/index.html.erb
357
+ - lib/tasks/carrier_service.rake
358
+ - lib/tasks/sessions.rake
359
+ - lib/tasks/start.rake
360
+ - lib/tasks/webhooks.rake
361
+ - test/controllers/disco_app/install_controller_test.rb
362
+ - test/controllers/disco_app/webhooks_controller_test.rb
363
+ - test/controllers/home_controller_test.rb
364
+ - test/disco_app_test.rb
365
+ - test/dummy/Rakefile
366
+ - test/dummy/app/assets/javascripts/application.js
367
+ - test/dummy/app/assets/stylesheets/application.scss
368
+ - test/dummy/app/controllers/application_controller.rb
369
+ - test/dummy/app/controllers/home_controller.rb
370
+ - test/dummy/app/helpers/application_helper.rb
371
+ - test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
372
+ - test/dummy/app/models/disco_app/shop.rb
373
+ - test/dummy/app/views/home/index.html.erb
374
+ - test/dummy/bin/bundle
375
+ - test/dummy/bin/rails
376
+ - test/dummy/bin/rake
377
+ - test/dummy/bin/setup
378
+ - test/dummy/config.ru
379
+ - test/dummy/config/application.rb
380
+ - test/dummy/config/boot.rb
381
+ - test/dummy/config/database.yml
382
+ - test/dummy/config/environment.rb
383
+ - test/dummy/config/environments/development.rb
384
+ - test/dummy/config/environments/production.rb
385
+ - test/dummy/config/environments/test.rb
386
+ - test/dummy/config/initializers/assets.rb
387
+ - test/dummy/config/initializers/backtrace_silencers.rb
388
+ - test/dummy/config/initializers/cookies_serializer.rb
389
+ - test/dummy/config/initializers/disco_app.rb
390
+ - test/dummy/config/initializers/filter_parameter_logging.rb
391
+ - test/dummy/config/initializers/inflections.rb
392
+ - test/dummy/config/initializers/mime_types.rb
393
+ - test/dummy/config/initializers/omniauth.rb
394
+ - test/dummy/config/initializers/session_store.rb
395
+ - test/dummy/config/initializers/shopify_app.rb
396
+ - test/dummy/config/initializers/shopify_session_repository.rb
397
+ - test/dummy/config/initializers/wrap_parameters.rb
398
+ - test/dummy/config/locales/en.yml
399
+ - test/dummy/config/routes.rb
400
+ - test/dummy/config/secrets.yml
401
+ - test/dummy/db/schema.rb
402
+ - test/dummy/public/404.html
403
+ - test/dummy/public/422.html
404
+ - test/dummy/public/500.html
405
+ - test/dummy/public/favicon.ico
406
+ - test/fixtures/api/widget_store/shop.json
407
+ - test/fixtures/api/widget_store/webhooks.json
408
+ - test/fixtures/disco_app/plans.yml
409
+ - test/fixtures/disco_app/shops.yml
410
+ - test/fixtures/disco_app/subscriptions.yml
411
+ - test/fixtures/webhooks/app_uninstalled.json
412
+ - test/integration/navigation_test.rb
413
+ - test/jobs/disco_app/app_installed_job_test.rb
414
+ - test/jobs/disco_app/app_uninstalled_job_test.rb
415
+ - test/models/disco_app/plan_test.rb
416
+ - test/models/disco_app/session_test.rb
417
+ - test/models/disco_app/shop_test.rb
418
+ - test/models/disco_app/subscription_test.rb
419
+ - test/services/disco_app/subscription_service_test.rb
420
+ - test/support/test_file_fixtures.rb
421
+ - test/test_helper.rb
422
+ homepage: https://github.com/discolabs/disco_app/
423
+ licenses:
424
+ - MIT
425
+ metadata: {}
426
+ post_install_message:
427
+ rdoc_options: []
428
+ require_paths:
429
+ - lib
430
+ required_ruby_version: !ruby/object:Gem::Requirement
431
+ requirements:
432
+ - - ">="
433
+ - !ruby/object:Gem::Version
434
+ version: '0'
435
+ required_rubygems_version: !ruby/object:Gem::Requirement
436
+ requirements:
437
+ - - ">="
438
+ - !ruby/object:Gem::Version
439
+ version: '0'
440
+ requirements: []
441
+ rubyforge_project:
442
+ rubygems_version: 2.7.6
443
+ signing_key:
444
+ specification_version: 4
445
+ summary: Rails engine for Shopify applications.
446
+ test_files:
447
+ - test/dummy/public/500.html
448
+ - test/dummy/public/favicon.ico
449
+ - test/dummy/public/422.html
450
+ - test/dummy/public/404.html
451
+ - test/dummy/bin/rake
452
+ - test/dummy/bin/rails
453
+ - test/dummy/bin/setup
454
+ - test/dummy/bin/bundle
455
+ - test/dummy/Rakefile
456
+ - test/dummy/config.ru
457
+ - test/dummy/app/assets/stylesheets/application.scss
458
+ - test/dummy/app/assets/javascripts/application.js
459
+ - test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
460
+ - test/dummy/app/controllers/home_controller.rb
461
+ - test/dummy/app/controllers/application_controller.rb
462
+ - test/dummy/app/helpers/application_helper.rb
463
+ - test/dummy/app/models/disco_app/shop.rb
464
+ - test/dummy/app/views/home/index.html.erb
465
+ - test/dummy/db/schema.rb
466
+ - test/dummy/config/locales/en.yml
467
+ - test/dummy/config/initializers/filter_parameter_logging.rb
468
+ - test/dummy/config/initializers/assets.rb
469
+ - test/dummy/config/initializers/session_store.rb
470
+ - test/dummy/config/initializers/inflections.rb
471
+ - test/dummy/config/initializers/mime_types.rb
472
+ - test/dummy/config/initializers/wrap_parameters.rb
473
+ - test/dummy/config/initializers/disco_app.rb
474
+ - test/dummy/config/initializers/shopify_app.rb
475
+ - test/dummy/config/initializers/shopify_session_repository.rb
476
+ - test/dummy/config/initializers/backtrace_silencers.rb
477
+ - test/dummy/config/initializers/omniauth.rb
478
+ - test/dummy/config/initializers/cookies_serializer.rb
479
+ - test/dummy/config/secrets.yml
480
+ - test/dummy/config/routes.rb
481
+ - test/dummy/config/environments/production.rb
482
+ - test/dummy/config/environments/test.rb
483
+ - test/dummy/config/environments/development.rb
484
+ - test/dummy/config/environment.rb
485
+ - test/dummy/config/boot.rb
486
+ - test/dummy/config/database.yml
487
+ - test/dummy/config/application.rb
488
+ - test/fixtures/api/widget_store/webhooks.json
489
+ - test/fixtures/api/widget_store/shop.json
490
+ - test/fixtures/disco_app/shops.yml
491
+ - test/fixtures/disco_app/subscriptions.yml
492
+ - test/fixtures/disco_app/plans.yml
493
+ - test/fixtures/webhooks/app_uninstalled.json
494
+ - test/support/test_file_fixtures.rb
495
+ - test/test_helper.rb
496
+ - test/disco_app_test.rb
497
+ - test/jobs/disco_app/app_uninstalled_job_test.rb
498
+ - test/jobs/disco_app/app_installed_job_test.rb
499
+ - test/controllers/disco_app/install_controller_test.rb
500
+ - test/controllers/disco_app/webhooks_controller_test.rb
501
+ - test/controllers/home_controller_test.rb
502
+ - test/integration/navigation_test.rb
503
+ - test/models/disco_app/plan_test.rb
504
+ - test/models/disco_app/shop_test.rb
505
+ - test/models/disco_app/session_test.rb
506
+ - test/models/disco_app/subscription_test.rb
507
+ - test/services/disco_app/subscription_service_test.rb