disco_app 0.6.8
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/images/disco_app/icon.svg +1 -0
- data/app/assets/javascripts/disco_app/components/shopify_admin_link.js.jsx +29 -0
- data/app/assets/javascripts/disco_app/components.js +5 -0
- data/app/assets/javascripts/disco_app/disco_app.js +7 -0
- data/app/assets/javascripts/disco_app/frame.js +152 -0
- data/app/assets/javascripts/disco_app/shopify-turbolinks.js +7 -0
- data/app/assets/stylesheets/disco_app/bootstrap/_custom.scss +54 -0
- data/app/assets/stylesheets/disco_app/bootstrap/_variables.scss +872 -0
- data/app/assets/stylesheets/disco_app/disco/_buttons.scss +31 -0
- data/app/assets/stylesheets/disco_app/disco/_cards.scss +51 -0
- data/app/assets/stylesheets/disco_app/disco/_forms.scss +23 -0
- data/app/assets/stylesheets/disco_app/disco/_grid.scss +58 -0
- data/app/assets/stylesheets/disco_app/disco/_sections.scss +61 -0
- data/app/assets/stylesheets/disco_app/disco/_tables.scss +57 -0
- data/app/assets/stylesheets/disco_app/disco/_tabs.scss +61 -0
- data/app/assets/stylesheets/disco_app/disco/_type.scss +39 -0
- data/app/assets/stylesheets/disco_app/disco/mixins/_flexbox.scss +394 -0
- data/app/assets/stylesheets/disco_app/disco_app.scss +16 -0
- data/app/assets/stylesheets/disco_app/frame/_buttons.scss +54 -0
- data/app/assets/stylesheets/disco_app/frame/_forms.scss +26 -0
- data/app/assets/stylesheets/disco_app/frame/_layout.scss +77 -0
- data/app/assets/stylesheets/disco_app/frame/_type.scss +32 -0
- data/app/assets/stylesheets/disco_app/frame.scss +9 -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/carrier_request_controller.rb +28 -0
- data/app/controllers/disco_app/charges_controller.rb +30 -0
- data/app/controllers/disco_app/frame_controller.rb +9 -0
- data/app/controllers/disco_app/install_controller.rb +26 -0
- data/app/controllers/disco_app/webhooks_controller.rb +42 -0
- data/app/helpers/disco_app/application_helper.rb +28 -0
- data/app/jobs/disco_app/app_installed_job.rb +3 -0
- data/app/jobs/disco_app/app_uninstalled_job.rb +3 -0
- data/app/jobs/disco_app/concerns/app_installed_job.rb +22 -0
- data/app/jobs/disco_app/concerns/app_uninstalled_job.rb +20 -0
- data/app/jobs/disco_app/concerns/shop_update_job.rb +16 -0
- data/app/jobs/disco_app/concerns/synchronise_carrier_service_job.rb +51 -0
- data/app/jobs/disco_app/concerns/synchronise_webhooks_job.rb +53 -0
- data/app/jobs/disco_app/shop_job.rb +27 -0
- data/app/jobs/disco_app/shop_update_job.rb +3 -0
- data/app/jobs/disco_app/synchronise_carrier_service_job.rb +3 -0
- data/app/jobs/disco_app/synchronise_webhooks_job.rb +3 -0
- data/app/models/disco_app/concerns/plan.rb +14 -0
- data/app/models/disco_app/concerns/shop.rb +68 -0
- data/app/models/disco_app/concerns/subscription.rb +14 -0
- data/app/models/disco_app/plan.rb +3 -0
- data/app/models/disco_app/session_storage.rb +18 -0
- data/app/models/disco_app/shop.rb +3 -0
- data/app/models/disco_app/subscription.rb +3 -0
- data/app/services/disco_app/charges_service.rb +73 -0
- data/app/services/disco_app/subscription_service.rb +25 -0
- data/app/services/disco_app/webhook_service.rb +30 -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/frame/frame.html.erb +36 -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/app/views/disco_app/shared/_card.html.erb +14 -0
- data/app/views/disco_app/shared/_section.html.erb +17 -0
- data/app/views/layouts/application.html.erb +18 -0
- data/app/views/layouts/embedded_app.html.erb +41 -0
- data/app/views/layouts/embedded_app_modal.html.erb +17 -0
- data/app/views/sessions/new.html.erb +26 -0
- data/config/routes.rb +26 -0
- data/db/migrate/20150525000000_create_shops_if_not_existent.rb +15 -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/db/migrate/20150814214025_add_more_meta_to_shops.rb +15 -0
- data/db/migrate/20151017231302_create_disco_app_plans.rb +13 -0
- data/db/migrate/20151017232027_create_disco_app_subscriptions.rb +15 -0
- data/db/migrate/20151017234409_move_shop_to_disco_app_engine.rb +5 -0
- data/lib/disco_app/engine.rb +23 -0
- data/lib/disco_app/support/file_fixtures.rb +23 -0
- data/lib/disco_app/test_help.rb +11 -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 +154 -0
- data/lib/generators/disco_app/mailify/mailify_generator.rb +54 -0
- data/lib/generators/disco_app/reactify/reactify_generator.rb +45 -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 +7 -0
- data/lib/generators/disco_app/templates/initializers/shopify_session_repository.rb +7 -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/tasks/carrier_service.rake +10 -0
- data/lib/tasks/start.rake +3 -0
- data/lib/tasks/webhooks.rake +10 -0
- data/test/controllers/disco_app/install_controller_test.rb +50 -0
- data/test/controllers/disco_app/webhooks_controller_test.rb +58 -0
- data/test/controllers/home_controller_test.rb +61 -0
- data/test/disco_app_test.rb +7 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +17 -0
- data/test/dummy/app/assets/stylesheets/application.scss +5 -0
- data/test/dummy/app/controllers/application_controller.rb +6 -0
- data/test/dummy/app/controllers/home_controller.rb +7 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/disco_app/app_uninstalled_job.rb +11 -0
- data/test/dummy/app/models/disco_app/shop.rb +15 -0
- data/test/dummy/app/views/home/index.html.erb +2 -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 +37 -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 +85 -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/disco_app.rb +1 -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/omniauth.rb +9 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/shopify_app.rb +7 -0
- data/test/dummy/config/initializers/shopify_session_repository.rb +7 -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 +8 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/schema.rb +70 -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/fixtures/api/widget_store/shop.json +46 -0
- data/test/fixtures/api/widget_store/webhooks.json +1 -0
- data/test/fixtures/disco_app/plans.yml +32 -0
- data/test/fixtures/disco_app/shops.yml +10 -0
- data/test/fixtures/disco_app/subscriptions.yml +26 -0
- data/test/fixtures/webhooks/app_uninstalled.json +46 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/jobs/disco_app/app_installed_job_test.rb +30 -0
- data/test/jobs/disco_app/app_uninstalled_job_test.rb +32 -0
- data/test/models/disco_app/plan_test.rb +5 -0
- data/test/models/disco_app/shop_test.rb +26 -0
- data/test/models/disco_app/subscription_test.rb +6 -0
- data/test/services/disco_app/subscription_service_test.rb +28 -0
- data/test/support/test_file_fixtures.rb +29 -0
- data/test/test_helper.rb +51 -0
- metadata +484 -0
metadata
ADDED
@@ -0,0 +1,484 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: disco_app
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.8
|
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.4
|
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.4
|
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.2.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 6.2.0
|
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: 3.5.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.5.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: 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: sqlite3
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.3.11
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.3.11
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: dotenv-rails
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 2.0.2
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 2.0.2
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: minitest-reporters
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 1.0.19
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 1.0.19
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: guard
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 2.13.0
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 2.13.0
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: guard-minitest
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: 2.4.4
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: 2.4.4
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: webmock
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 1.22.1
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 1.22.1
|
237
|
+
description: Rails engine for Shopify applications.
|
238
|
+
email:
|
239
|
+
- gavin@gavinballard.com
|
240
|
+
executables: []
|
241
|
+
extensions: []
|
242
|
+
extra_rdoc_files: []
|
243
|
+
files:
|
244
|
+
- Rakefile
|
245
|
+
- app/assets/images/disco_app/icon.svg
|
246
|
+
- app/assets/javascripts/disco_app/components.js
|
247
|
+
- app/assets/javascripts/disco_app/components/shopify_admin_link.js.jsx
|
248
|
+
- app/assets/javascripts/disco_app/disco_app.js
|
249
|
+
- app/assets/javascripts/disco_app/frame.js
|
250
|
+
- app/assets/javascripts/disco_app/shopify-turbolinks.js
|
251
|
+
- app/assets/stylesheets/disco_app/bootstrap/_custom.scss
|
252
|
+
- app/assets/stylesheets/disco_app/bootstrap/_variables.scss
|
253
|
+
- app/assets/stylesheets/disco_app/disco/_buttons.scss
|
254
|
+
- app/assets/stylesheets/disco_app/disco/_cards.scss
|
255
|
+
- app/assets/stylesheets/disco_app/disco/_forms.scss
|
256
|
+
- app/assets/stylesheets/disco_app/disco/_grid.scss
|
257
|
+
- app/assets/stylesheets/disco_app/disco/_sections.scss
|
258
|
+
- app/assets/stylesheets/disco_app/disco/_tables.scss
|
259
|
+
- app/assets/stylesheets/disco_app/disco/_tabs.scss
|
260
|
+
- app/assets/stylesheets/disco_app/disco/_type.scss
|
261
|
+
- app/assets/stylesheets/disco_app/disco/mixins/_flexbox.scss
|
262
|
+
- app/assets/stylesheets/disco_app/disco_app.scss
|
263
|
+
- app/assets/stylesheets/disco_app/frame.scss
|
264
|
+
- app/assets/stylesheets/disco_app/frame/_buttons.scss
|
265
|
+
- app/assets/stylesheets/disco_app/frame/_forms.scss
|
266
|
+
- app/assets/stylesheets/disco_app/frame/_layout.scss
|
267
|
+
- app/assets/stylesheets/disco_app/frame/_type.scss
|
268
|
+
- app/controllers/disco_app/app_proxy_controller.rb
|
269
|
+
- app/controllers/disco_app/authenticated_controller.rb
|
270
|
+
- app/controllers/disco_app/carrier_request_controller.rb
|
271
|
+
- app/controllers/disco_app/charges_controller.rb
|
272
|
+
- app/controllers/disco_app/frame_controller.rb
|
273
|
+
- app/controllers/disco_app/install_controller.rb
|
274
|
+
- app/controllers/disco_app/webhooks_controller.rb
|
275
|
+
- app/helpers/disco_app/application_helper.rb
|
276
|
+
- app/jobs/disco_app/app_installed_job.rb
|
277
|
+
- app/jobs/disco_app/app_uninstalled_job.rb
|
278
|
+
- app/jobs/disco_app/concerns/app_installed_job.rb
|
279
|
+
- app/jobs/disco_app/concerns/app_uninstalled_job.rb
|
280
|
+
- app/jobs/disco_app/concerns/shop_update_job.rb
|
281
|
+
- app/jobs/disco_app/concerns/synchronise_carrier_service_job.rb
|
282
|
+
- app/jobs/disco_app/concerns/synchronise_webhooks_job.rb
|
283
|
+
- app/jobs/disco_app/shop_job.rb
|
284
|
+
- app/jobs/disco_app/shop_update_job.rb
|
285
|
+
- app/jobs/disco_app/synchronise_carrier_service_job.rb
|
286
|
+
- app/jobs/disco_app/synchronise_webhooks_job.rb
|
287
|
+
- app/models/disco_app/concerns/plan.rb
|
288
|
+
- app/models/disco_app/concerns/shop.rb
|
289
|
+
- app/models/disco_app/concerns/subscription.rb
|
290
|
+
- app/models/disco_app/plan.rb
|
291
|
+
- app/models/disco_app/session_storage.rb
|
292
|
+
- app/models/disco_app/shop.rb
|
293
|
+
- app/models/disco_app/subscription.rb
|
294
|
+
- app/services/disco_app/charges_service.rb
|
295
|
+
- app/services/disco_app/subscription_service.rb
|
296
|
+
- app/services/disco_app/webhook_service.rb
|
297
|
+
- app/views/disco_app/charges/activate.html.erb
|
298
|
+
- app/views/disco_app/charges/create.html.erb
|
299
|
+
- app/views/disco_app/charges/new.html.erb
|
300
|
+
- app/views/disco_app/frame/frame.html.erb
|
301
|
+
- app/views/disco_app/install/installing.html.erb
|
302
|
+
- app/views/disco_app/install/uninstalling.html.erb
|
303
|
+
- app/views/disco_app/proxy_errors/404.html.erb
|
304
|
+
- app/views/disco_app/shared/_card.html.erb
|
305
|
+
- app/views/disco_app/shared/_section.html.erb
|
306
|
+
- app/views/layouts/application.html.erb
|
307
|
+
- app/views/layouts/embedded_app.html.erb
|
308
|
+
- app/views/layouts/embedded_app_modal.html.erb
|
309
|
+
- app/views/sessions/new.html.erb
|
310
|
+
- config/routes.rb
|
311
|
+
- db/migrate/20150525000000_create_shops_if_not_existent.rb
|
312
|
+
- db/migrate/20150525162112_add_status_to_shops.rb
|
313
|
+
- db/migrate/20150525171422_add_meta_to_shops.rb
|
314
|
+
- db/migrate/20150629210346_add_charge_status_to_shop.rb
|
315
|
+
- db/migrate/20150814214025_add_more_meta_to_shops.rb
|
316
|
+
- db/migrate/20151017231302_create_disco_app_plans.rb
|
317
|
+
- db/migrate/20151017232027_create_disco_app_subscriptions.rb
|
318
|
+
- db/migrate/20151017234409_move_shop_to_disco_app_engine.rb
|
319
|
+
- lib/disco_app.rb
|
320
|
+
- lib/disco_app/engine.rb
|
321
|
+
- lib/disco_app/support/file_fixtures.rb
|
322
|
+
- lib/disco_app/test_help.rb
|
323
|
+
- lib/disco_app/version.rb
|
324
|
+
- lib/generators/disco_app/USAGE
|
325
|
+
- lib/generators/disco_app/disco_app_generator.rb
|
326
|
+
- lib/generators/disco_app/mailify/mailify_generator.rb
|
327
|
+
- lib/generators/disco_app/reactify/reactify_generator.rb
|
328
|
+
- lib/generators/disco_app/templates/assets/javascripts/application.js
|
329
|
+
- lib/generators/disco_app/templates/assets/stylesheets/application.scss
|
330
|
+
- lib/generators/disco_app/templates/config/puma.rb
|
331
|
+
- lib/generators/disco_app/templates/controllers/home_controller.rb
|
332
|
+
- lib/generators/disco_app/templates/initializers/disco_app.rb
|
333
|
+
- lib/generators/disco_app/templates/initializers/shopify_app.rb
|
334
|
+
- lib/generators/disco_app/templates/initializers/shopify_session_repository.rb
|
335
|
+
- lib/generators/disco_app/templates/root/Procfile
|
336
|
+
- lib/generators/disco_app/templates/views/home/index.html.erb
|
337
|
+
- lib/tasks/carrier_service.rake
|
338
|
+
- lib/tasks/start.rake
|
339
|
+
- lib/tasks/webhooks.rake
|
340
|
+
- test/controllers/disco_app/install_controller_test.rb
|
341
|
+
- test/controllers/disco_app/webhooks_controller_test.rb
|
342
|
+
- test/controllers/home_controller_test.rb
|
343
|
+
- test/disco_app_test.rb
|
344
|
+
- test/dummy/Rakefile
|
345
|
+
- test/dummy/app/assets/javascripts/application.js
|
346
|
+
- test/dummy/app/assets/stylesheets/application.scss
|
347
|
+
- test/dummy/app/controllers/application_controller.rb
|
348
|
+
- test/dummy/app/controllers/home_controller.rb
|
349
|
+
- test/dummy/app/helpers/application_helper.rb
|
350
|
+
- test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
|
351
|
+
- test/dummy/app/models/disco_app/shop.rb
|
352
|
+
- test/dummy/app/views/home/index.html.erb
|
353
|
+
- test/dummy/bin/bundle
|
354
|
+
- test/dummy/bin/rails
|
355
|
+
- test/dummy/bin/rake
|
356
|
+
- test/dummy/bin/setup
|
357
|
+
- test/dummy/config.ru
|
358
|
+
- test/dummy/config/application.rb
|
359
|
+
- test/dummy/config/boot.rb
|
360
|
+
- test/dummy/config/database.yml
|
361
|
+
- test/dummy/config/environment.rb
|
362
|
+
- test/dummy/config/environments/development.rb
|
363
|
+
- test/dummy/config/environments/production.rb
|
364
|
+
- test/dummy/config/environments/test.rb
|
365
|
+
- test/dummy/config/initializers/assets.rb
|
366
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
367
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
368
|
+
- test/dummy/config/initializers/disco_app.rb
|
369
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
370
|
+
- test/dummy/config/initializers/inflections.rb
|
371
|
+
- test/dummy/config/initializers/mime_types.rb
|
372
|
+
- test/dummy/config/initializers/omniauth.rb
|
373
|
+
- test/dummy/config/initializers/session_store.rb
|
374
|
+
- test/dummy/config/initializers/shopify_app.rb
|
375
|
+
- test/dummy/config/initializers/shopify_session_repository.rb
|
376
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
377
|
+
- test/dummy/config/locales/en.yml
|
378
|
+
- test/dummy/config/routes.rb
|
379
|
+
- test/dummy/config/secrets.yml
|
380
|
+
- test/dummy/db/schema.rb
|
381
|
+
- test/dummy/public/404.html
|
382
|
+
- test/dummy/public/422.html
|
383
|
+
- test/dummy/public/500.html
|
384
|
+
- test/dummy/public/favicon.ico
|
385
|
+
- test/fixtures/api/widget_store/shop.json
|
386
|
+
- test/fixtures/api/widget_store/webhooks.json
|
387
|
+
- test/fixtures/disco_app/plans.yml
|
388
|
+
- test/fixtures/disco_app/shops.yml
|
389
|
+
- test/fixtures/disco_app/subscriptions.yml
|
390
|
+
- test/fixtures/webhooks/app_uninstalled.json
|
391
|
+
- test/integration/navigation_test.rb
|
392
|
+
- test/jobs/disco_app/app_installed_job_test.rb
|
393
|
+
- test/jobs/disco_app/app_uninstalled_job_test.rb
|
394
|
+
- test/models/disco_app/plan_test.rb
|
395
|
+
- test/models/disco_app/shop_test.rb
|
396
|
+
- test/models/disco_app/subscription_test.rb
|
397
|
+
- test/services/disco_app/subscription_service_test.rb
|
398
|
+
- test/support/test_file_fixtures.rb
|
399
|
+
- test/test_helper.rb
|
400
|
+
homepage: https://github.com/discolabs/disco_app/
|
401
|
+
licenses:
|
402
|
+
- MIT
|
403
|
+
metadata: {}
|
404
|
+
post_install_message:
|
405
|
+
rdoc_options: []
|
406
|
+
require_paths:
|
407
|
+
- lib
|
408
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
409
|
+
requirements:
|
410
|
+
- - ">="
|
411
|
+
- !ruby/object:Gem::Version
|
412
|
+
version: '0'
|
413
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
414
|
+
requirements:
|
415
|
+
- - ">="
|
416
|
+
- !ruby/object:Gem::Version
|
417
|
+
version: '0'
|
418
|
+
requirements: []
|
419
|
+
rubyforge_project:
|
420
|
+
rubygems_version: 2.7.6
|
421
|
+
signing_key:
|
422
|
+
specification_version: 4
|
423
|
+
summary: Rails engine for Shopify applications.
|
424
|
+
test_files:
|
425
|
+
- test/dummy/public/500.html
|
426
|
+
- test/dummy/public/favicon.ico
|
427
|
+
- test/dummy/public/422.html
|
428
|
+
- test/dummy/public/404.html
|
429
|
+
- test/dummy/bin/rake
|
430
|
+
- test/dummy/bin/rails
|
431
|
+
- test/dummy/bin/setup
|
432
|
+
- test/dummy/bin/bundle
|
433
|
+
- test/dummy/Rakefile
|
434
|
+
- test/dummy/config.ru
|
435
|
+
- test/dummy/app/assets/stylesheets/application.scss
|
436
|
+
- test/dummy/app/assets/javascripts/application.js
|
437
|
+
- test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
|
438
|
+
- test/dummy/app/controllers/home_controller.rb
|
439
|
+
- test/dummy/app/controllers/application_controller.rb
|
440
|
+
- test/dummy/app/helpers/application_helper.rb
|
441
|
+
- test/dummy/app/models/disco_app/shop.rb
|
442
|
+
- test/dummy/app/views/home/index.html.erb
|
443
|
+
- test/dummy/db/schema.rb
|
444
|
+
- test/dummy/config/locales/en.yml
|
445
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
446
|
+
- test/dummy/config/initializers/assets.rb
|
447
|
+
- test/dummy/config/initializers/session_store.rb
|
448
|
+
- test/dummy/config/initializers/inflections.rb
|
449
|
+
- test/dummy/config/initializers/mime_types.rb
|
450
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
451
|
+
- test/dummy/config/initializers/disco_app.rb
|
452
|
+
- test/dummy/config/initializers/shopify_app.rb
|
453
|
+
- test/dummy/config/initializers/shopify_session_repository.rb
|
454
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
455
|
+
- test/dummy/config/initializers/omniauth.rb
|
456
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
457
|
+
- test/dummy/config/secrets.yml
|
458
|
+
- test/dummy/config/routes.rb
|
459
|
+
- test/dummy/config/environments/production.rb
|
460
|
+
- test/dummy/config/environments/test.rb
|
461
|
+
- test/dummy/config/environments/development.rb
|
462
|
+
- test/dummy/config/environment.rb
|
463
|
+
- test/dummy/config/boot.rb
|
464
|
+
- test/dummy/config/database.yml
|
465
|
+
- test/dummy/config/application.rb
|
466
|
+
- test/fixtures/api/widget_store/webhooks.json
|
467
|
+
- test/fixtures/api/widget_store/shop.json
|
468
|
+
- test/fixtures/disco_app/shops.yml
|
469
|
+
- test/fixtures/disco_app/subscriptions.yml
|
470
|
+
- test/fixtures/disco_app/plans.yml
|
471
|
+
- test/fixtures/webhooks/app_uninstalled.json
|
472
|
+
- test/support/test_file_fixtures.rb
|
473
|
+
- test/test_helper.rb
|
474
|
+
- test/disco_app_test.rb
|
475
|
+
- test/jobs/disco_app/app_uninstalled_job_test.rb
|
476
|
+
- test/jobs/disco_app/app_installed_job_test.rb
|
477
|
+
- test/controllers/disco_app/install_controller_test.rb
|
478
|
+
- test/controllers/disco_app/webhooks_controller_test.rb
|
479
|
+
- test/controllers/home_controller_test.rb
|
480
|
+
- test/integration/navigation_test.rb
|
481
|
+
- test/models/disco_app/plan_test.rb
|
482
|
+
- test/models/disco_app/shop_test.rb
|
483
|
+
- test/models/disco_app/subscription_test.rb
|
484
|
+
- test/services/disco_app/subscription_service_test.rb
|