disco_app 0.12.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (354) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +37 -0
  3. data/app/assets/components/disco_app/buttons/model-destroy-button.es6.jsx +31 -0
  4. data/app/assets/components/disco_app/forms/model-form.es6.jsx +64 -0
  5. data/app/assets/components/embedded_app/bar.es6.jsx +31 -0
  6. data/app/assets/components/shopify/buttons/_buttons.scss +547 -0
  7. data/app/assets/components/shopify/buttons/button.es6.jsx +15 -0
  8. data/app/assets/components/shopify/card/_card.scss +342 -0
  9. data/app/assets/components/shopify/card/card-header.es6.jsx +34 -0
  10. data/app/assets/components/shopify/card/card-section.es6.jsx +26 -0
  11. data/app/assets/components/shopify/card/card.es6.jsx +16 -0
  12. data/app/assets/components/shopify/image/_image.scss +82 -0
  13. data/app/assets/components/shopify/table/_table.scss +18 -0
  14. data/app/assets/components/shopify/typography/_typography.scss +23 -0
  15. data/app/assets/components/shopify/typography/ui-heading.es6.jsx +16 -0
  16. data/app/assets/components/shopify/ui-layout/_ui-layout.scss +157 -0
  17. data/app/assets/components/shopify/ui-layout/ui-annotated-section.es6.jsx +29 -0
  18. data/app/assets/components/shopify/ui-layout/ui-empty-state.es6.jsx +35 -0
  19. data/app/assets/components/shopify/ui-layout/ui-footer-help.es6.jsx +13 -0
  20. data/app/assets/components/shopify/ui-layout/ui-layout-item.es6.jsx +11 -0
  21. data/app/assets/components/shopify/ui-layout/ui-layout-section.es6.jsx +19 -0
  22. data/app/assets/components/shopify/ui-layout/ui-layout-sections.es6.jsx +11 -0
  23. data/app/assets/components/shopify/ui-layout/ui-layout.es6.jsx +11 -0
  24. data/app/assets/components/shopify/ui-layout/ui-page-actions.es6.jsx +13 -0
  25. data/app/assets/components/shopify/ui-layout/ui-page-actions__buttons.es6.jsx +27 -0
  26. data/app/assets/components/shopify/ui-stack/_ui-stack.scss +39 -0
  27. data/app/assets/components/shopify/ui-stack/ui-stack-item.es6.jsx +21 -0
  28. data/app/assets/components/shopify/ui-stack/ui-stack.es6.jsx +24 -0
  29. data/app/assets/images/disco_app/icon.svg +1 -0
  30. data/app/assets/images/disco_app/icons.svg +0 -0
  31. data/app/assets/javascripts/disco_app/components/custom/filterable_shop_list.js.jsx +61 -0
  32. data/app/assets/javascripts/disco_app/components/custom/inline-radio-options.es6.jsx +59 -0
  33. data/app/assets/javascripts/disco_app/components/custom/rules-editor.es6.jsx +432 -0
  34. data/app/assets/javascripts/disco_app/components/custom/shop_filter_query.js.jsx +13 -0
  35. data/app/assets/javascripts/disco_app/components/custom/shop_filter_tab.js.jsx +34 -0
  36. data/app/assets/javascripts/disco_app/components/custom/shop_filter_tabs.js.jsx +21 -0
  37. data/app/assets/javascripts/disco_app/components/custom/shop_list.js.jsx +142 -0
  38. data/app/assets/javascripts/disco_app/components/custom/shop_row.js.jsx +43 -0
  39. data/app/assets/javascripts/disco_app/components/custom/shopify_admin_link.js.jsx +29 -0
  40. data/app/assets/javascripts/disco_app/components/ui-kit/forms/base_form.es6.jsx +72 -0
  41. data/app/assets/javascripts/disco_app/components/ui-kit/forms/base_input.es6.jsx +20 -0
  42. data/app/assets/javascripts/disco_app/components/ui-kit/forms/input-checkbox.es6.jsx +30 -0
  43. data/app/assets/javascripts/disco_app/components/ui-kit/forms/input-radio.es6.jsx +30 -0
  44. data/app/assets/javascripts/disco_app/components/ui-kit/forms/input-select.es6.jsx +45 -0
  45. data/app/assets/javascripts/disco_app/components/ui-kit/forms/input-text.es6.jsx +69 -0
  46. data/app/assets/javascripts/disco_app/components/ui-kit/forms/input-textarea.es6.jsx +48 -0
  47. data/app/assets/javascripts/disco_app/components/ui-kit/forms/input-time.es6.jsx +7 -0
  48. data/app/assets/javascripts/disco_app/components/ui-kit/forms/ui-form__element.es6.jsx +17 -0
  49. data/app/assets/javascripts/disco_app/components/ui-kit/forms/ui-form__group.es6.jsx +11 -0
  50. data/app/assets/javascripts/disco_app/components/ui-kit/forms/ui-form__section.es6.jsx +11 -0
  51. data/app/assets/javascripts/disco_app/components/ui-kit/icons/icon-chevron.es6.jsx +33 -0
  52. data/app/assets/javascripts/disco_app/components/ui-kit/icons/next-icon.es6.jsx +19 -0
  53. data/app/assets/javascripts/disco_app/components/ui-kit/input_select.es6.jsx +21 -0
  54. data/app/assets/javascripts/disco_app/components/ui-kit/tables/table.es6.jsx +27 -0
  55. data/app/assets/javascripts/disco_app/components.js +3 -0
  56. data/app/assets/javascripts/disco_app/disco_app.js +9 -0
  57. data/app/assets/javascripts/disco_app/frame.js +152 -0
  58. data/app/assets/javascripts/disco_app/shopify-turbolinks.js +7 -0
  59. data/app/assets/javascripts/disco_app/ui-kit.js +1 -0
  60. data/app/assets/stylesheets/disco_app/admin/_header.scss +75 -0
  61. data/app/assets/stylesheets/disco_app/admin/_layout.scss +32 -0
  62. data/app/assets/stylesheets/disco_app/admin/_nav.scss +184 -0
  63. data/app/assets/stylesheets/disco_app/admin.scss +11 -0
  64. data/app/assets/stylesheets/disco_app/disco_app.scss +26 -0
  65. data/app/assets/stylesheets/disco_app/frame/_buttons.scss +54 -0
  66. data/app/assets/stylesheets/disco_app/frame/_forms.scss +26 -0
  67. data/app/assets/stylesheets/disco_app/frame/_layout.scss +77 -0
  68. data/app/assets/stylesheets/disco_app/frame/_type.scss +25 -0
  69. data/app/assets/stylesheets/disco_app/frame.scss +10 -0
  70. data/app/assets/stylesheets/disco_app/mixins/_flexbox.scss +400 -0
  71. data/app/assets/stylesheets/disco_app/ui-kit/_ui-forms.scss +69 -0
  72. data/app/assets/stylesheets/disco_app/ui-kit/_ui-icons.scss +28 -0
  73. data/app/assets/stylesheets/disco_app/ui-kit/_ui-kit.scss +5121 -0
  74. data/app/assets/stylesheets/disco_app/ui-kit/_ui-layout.scss +15 -0
  75. data/app/assets/stylesheets/disco_app/ui-kit/_ui-tabs.scss +75 -0
  76. data/app/assets/stylesheets/disco_app/ui-kit/_ui-type.scss +13 -0
  77. data/app/clients/disco_app/api_client.rb +27 -0
  78. data/app/clients/disco_app/disco_api_error.rb +2 -0
  79. data/app/controllers/disco_app/admin/app_settings_controller.rb +3 -0
  80. data/app/controllers/disco_app/admin/application_controller.rb +10 -0
  81. data/app/controllers/disco_app/admin/concerns/app_settings_controller.rb +24 -0
  82. data/app/controllers/disco_app/admin/concerns/authenticated_controller.rb +20 -0
  83. data/app/controllers/disco_app/admin/concerns/plans_controller.rb +54 -0
  84. data/app/controllers/disco_app/admin/concerns/shops_controller.rb +7 -0
  85. data/app/controllers/disco_app/admin/concerns/subscriptions_controller.rb +29 -0
  86. data/app/controllers/disco_app/admin/plans_controller.rb +3 -0
  87. data/app/controllers/disco_app/admin/resources/shops_controller.rb +3 -0
  88. data/app/controllers/disco_app/admin/shops_controller.rb +3 -0
  89. data/app/controllers/disco_app/admin/subscriptions_controller.rb +3 -0
  90. data/app/controllers/disco_app/charges_controller.rb +47 -0
  91. data/app/controllers/disco_app/concerns/app_proxy_controller.rb +40 -0
  92. data/app/controllers/disco_app/concerns/authenticated_controller.rb +71 -0
  93. data/app/controllers/disco_app/concerns/carrier_request_controller.rb +35 -0
  94. data/app/controllers/disco_app/frame_controller.rb +9 -0
  95. data/app/controllers/disco_app/install_controller.rb +27 -0
  96. data/app/controllers/disco_app/subscriptions_controller.rb +32 -0
  97. data/app/controllers/disco_app/webhooks_controller.rb +46 -0
  98. data/app/controllers/sessions_controller.rb +33 -0
  99. data/app/helpers/disco_app/application_helper.rb +68 -0
  100. data/app/jobs/disco_app/app_installed_job.rb +3 -0
  101. data/app/jobs/disco_app/app_uninstalled_job.rb +3 -0
  102. data/app/jobs/disco_app/concerns/app_installed_job.rb +39 -0
  103. data/app/jobs/disco_app/concerns/app_uninstalled_job.rb +21 -0
  104. data/app/jobs/disco_app/concerns/render_asset_group_job.rb +8 -0
  105. data/app/jobs/disco_app/concerns/shop_update_job.rb +13 -0
  106. data/app/jobs/disco_app/concerns/subscription_changed_job.rb +8 -0
  107. data/app/jobs/disco_app/concerns/synchronise_carrier_service_job.rb +55 -0
  108. data/app/jobs/disco_app/concerns/synchronise_resources_job.rb +12 -0
  109. data/app/jobs/disco_app/concerns/synchronise_webhooks_job.rb +52 -0
  110. data/app/jobs/disco_app/render_asset_group_job.rb +3 -0
  111. data/app/jobs/disco_app/send_subscription_job.rb +7 -0
  112. data/app/jobs/disco_app/shop_job.rb +27 -0
  113. data/app/jobs/disco_app/shop_update_job.rb +3 -0
  114. data/app/jobs/disco_app/subscription_changed_job.rb +3 -0
  115. data/app/jobs/disco_app/synchronise_carrier_service_job.rb +3 -0
  116. data/app/jobs/disco_app/synchronise_resources_job.rb +3 -0
  117. data/app/jobs/disco_app/synchronise_webhooks_job.rb +3 -0
  118. data/app/models/disco_app/app_settings.rb +3 -0
  119. data/app/models/disco_app/application_charge.rb +18 -0
  120. data/app/models/disco_app/concerns/app_settings.rb +7 -0
  121. data/app/models/disco_app/concerns/can_be_liquified.rb +45 -0
  122. data/app/models/disco_app/concerns/has_metafields.rb +48 -0
  123. data/app/models/disco_app/concerns/plan.rb +26 -0
  124. data/app/models/disco_app/concerns/plan_code.rb +15 -0
  125. data/app/models/disco_app/concerns/renders_assets.rb +166 -0
  126. data/app/models/disco_app/concerns/shop.rb +96 -0
  127. data/app/models/disco_app/concerns/subscription.rb +66 -0
  128. data/app/models/disco_app/concerns/synchronises.rb +58 -0
  129. data/app/models/disco_app/concerns/taggable.rb +16 -0
  130. data/app/models/disco_app/plan.rb +3 -0
  131. data/app/models/disco_app/plan_code.rb +3 -0
  132. data/app/models/disco_app/recurring_application_charge.rb +18 -0
  133. data/app/models/disco_app/session_storage.rb +18 -0
  134. data/app/models/disco_app/shop.rb +3 -0
  135. data/app/models/disco_app/subscription.rb +3 -0
  136. data/app/resources/disco_app/admin/resources/concerns/shop_resource.rb +100 -0
  137. data/app/resources/disco_app/admin/resources/shop_resource.rb +4 -0
  138. data/app/services/disco_app/carrier_request_service.rb +15 -0
  139. data/app/services/disco_app/charges_service.rb +81 -0
  140. data/app/services/disco_app/proxy_service.rb +17 -0
  141. data/app/services/disco_app/request_validation_service.rb +15 -0
  142. data/app/services/disco_app/subscription_service.rb +46 -0
  143. data/app/services/disco_app/webhook_service.rb +30 -0
  144. data/app/views/disco_app/admin/app_settings/edit.html.erb +5 -0
  145. data/app/views/disco_app/admin/plans/_form.html.erb +72 -0
  146. data/app/views/disco_app/admin/plans/_plan_code_fields.html.erb +15 -0
  147. data/app/views/disco_app/admin/plans/edit.html.erb +7 -0
  148. data/app/views/disco_app/admin/plans/index.html.erb +43 -0
  149. data/app/views/disco_app/admin/plans/new.html.erb +7 -0
  150. data/app/views/disco_app/admin/shops/index.html.erb +13 -0
  151. data/app/views/disco_app/admin/subscriptions/edit.html.erb +33 -0
  152. data/app/views/disco_app/charges/activate.html.erb +1 -0
  153. data/app/views/disco_app/charges/create.html.erb +1 -0
  154. data/app/views/disco_app/charges/new.html.erb +23 -0
  155. data/app/views/disco_app/frame/frame.html.erb +36 -0
  156. data/app/views/disco_app/install/installing.html.erb +22 -0
  157. data/app/views/disco_app/install/uninstalling.html.erb +1 -0
  158. data/app/views/disco_app/proxy_errors/404.html.erb +1 -0
  159. data/app/views/disco_app/shared/_card.html.erb +14 -0
  160. data/app/views/disco_app/shared/_icons.html.erb +1 -0
  161. data/app/views/disco_app/shared/_section.html.erb +17 -0
  162. data/app/views/disco_app/subscriptions/new.html.erb +25 -0
  163. data/app/views/layouts/admin/_nav_items.erb +20 -0
  164. data/app/views/layouts/admin.html.erb +67 -0
  165. data/app/views/layouts/application.html.erb +18 -0
  166. data/app/views/layouts/embedded_app.html.erb +50 -0
  167. data/app/views/layouts/embedded_app_modal.html.erb +28 -0
  168. data/app/views/shopify_app/sessions/new.html.erb +42 -0
  169. data/config/routes.rb +64 -0
  170. data/db/migrate/20150525000000_create_shops_if_not_existent.rb +110 -0
  171. data/lib/disco_app/configuration.rb +45 -0
  172. data/lib/disco_app/constants.rb +4 -0
  173. data/lib/disco_app/engine.rb +26 -0
  174. data/lib/disco_app/session.rb +14 -0
  175. data/lib/disco_app/support/file_fixtures.rb +23 -0
  176. data/lib/disco_app/test_help.rb +11 -0
  177. data/lib/disco_app/version.rb +3 -0
  178. data/lib/disco_app.rb +7 -0
  179. data/lib/generators/disco_app/USAGE +5 -0
  180. data/lib/generators/disco_app/disco_app_generator.rb +236 -0
  181. data/lib/generators/disco_app/templates/assets/javascripts/application.js +17 -0
  182. data/lib/generators/disco_app/templates/assets/javascripts/components.js +3 -0
  183. data/lib/generators/disco_app/templates/assets/stylesheets/application.scss +5 -0
  184. data/lib/generators/disco_app/templates/config/database.yml.tt +20 -0
  185. data/lib/generators/disco_app/templates/config/newrelic.yml +26 -0
  186. data/lib/generators/disco_app/templates/config/puma.rb +15 -0
  187. data/lib/generators/disco_app/templates/controllers/home_controller.rb +7 -0
  188. data/lib/generators/disco_app/templates/initializers/disco_app.rb +28 -0
  189. data/lib/generators/disco_app/templates/initializers/rollbar.rb +23 -0
  190. data/lib/generators/disco_app/templates/initializers/session_store.rb +2 -0
  191. data/lib/generators/disco_app/templates/initializers/shopify_app.rb +6 -0
  192. data/lib/generators/disco_app/templates/initializers/shopify_session_repository.rb +7 -0
  193. data/lib/generators/disco_app/templates/root/CHECKS +4 -0
  194. data/lib/generators/disco_app/templates/root/Procfile +2 -0
  195. data/lib/generators/disco_app/templates/views/home/index.html.erb +2 -0
  196. data/lib/tasks/api.rake +10 -0
  197. data/lib/tasks/carrier_service.rake +10 -0
  198. data/lib/tasks/database.rake +8 -0
  199. data/lib/tasks/sessions.rake +9 -0
  200. data/lib/tasks/shops.rake +10 -0
  201. data/lib/tasks/start.rake +3 -0
  202. data/lib/tasks/webhooks.rake +10 -0
  203. data/test/clients/disco_app/api_client_test.rb +22 -0
  204. data/test/controllers/disco_app/admin/shops_controller_test.rb +54 -0
  205. data/test/controllers/disco_app/charges_controller_test.rb +99 -0
  206. data/test/controllers/disco_app/install_controller_test.rb +50 -0
  207. data/test/controllers/disco_app/subscriptions_controller_test.rb +68 -0
  208. data/test/controllers/disco_app/webhooks_controller_test.rb +58 -0
  209. data/test/controllers/home_controller_test.rb +101 -0
  210. data/test/controllers/proxy_controller_test.rb +42 -0
  211. data/test/disco_app_test.rb +7 -0
  212. data/test/dummy/Rakefile +6 -0
  213. data/test/dummy/app/assets/javascripts/application.js +17 -0
  214. data/test/dummy/app/assets/stylesheets/application.scss +5 -0
  215. data/test/dummy/app/controllers/application_controller.rb +6 -0
  216. data/test/dummy/app/controllers/carrier_request_controller.rb +10 -0
  217. data/test/dummy/app/controllers/disco_app/admin/shops_controller.rb +8 -0
  218. data/test/dummy/app/controllers/home_controller.rb +7 -0
  219. data/test/dummy/app/controllers/proxy_controller.rb +8 -0
  220. data/test/dummy/app/helpers/application_helper.rb +2 -0
  221. data/test/dummy/app/jobs/carts_update_job.rb +7 -0
  222. data/test/dummy/app/jobs/disco_app/app_installed_job.rb +16 -0
  223. data/test/dummy/app/jobs/disco_app/app_uninstalled_job.rb +11 -0
  224. data/test/dummy/app/jobs/products_create_job.rb +7 -0
  225. data/test/dummy/app/jobs/products_delete_job.rb +7 -0
  226. data/test/dummy/app/jobs/products_update_job.rb +7 -0
  227. data/test/dummy/app/models/cart.rb +24 -0
  228. data/test/dummy/app/models/disco_app/shop.rb +20 -0
  229. data/test/dummy/app/models/js_configuration.rb +8 -0
  230. data/test/dummy/app/models/product.rb +9 -0
  231. data/test/dummy/app/models/widget_configuration.rb +10 -0
  232. data/test/dummy/app/views/assets/script_tag.js.erb +1 -0
  233. data/test/dummy/app/views/assets/test.js.erb +1 -0
  234. data/test/dummy/app/views/assets/widget.js.erb +2 -0
  235. data/test/dummy/app/views/assets/widget.scss.erb +3 -0
  236. data/test/dummy/app/views/home/index.html.erb +2 -0
  237. data/test/dummy/app/views/snippets/widget.liquid.erb +1 -0
  238. data/test/dummy/bin/bundle +3 -0
  239. data/test/dummy/bin/rails +4 -0
  240. data/test/dummy/bin/rake +4 -0
  241. data/test/dummy/bin/setup +29 -0
  242. data/test/dummy/config/application.rb +38 -0
  243. data/test/dummy/config/boot.rb +5 -0
  244. data/test/dummy/config/database.codeship.yml +23 -0
  245. data/test/dummy/config/database.gitlab-ci.yml +24 -0
  246. data/test/dummy/config/database.yml +20 -0
  247. data/test/dummy/config/environment.rb +5 -0
  248. data/test/dummy/config/environments/development.rb +41 -0
  249. data/test/dummy/config/environments/production.rb +85 -0
  250. data/test/dummy/config/environments/test.rb +42 -0
  251. data/test/dummy/config/initializers/assets.rb +11 -0
  252. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  253. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  254. data/test/dummy/config/initializers/disco_app.rb +28 -0
  255. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  256. data/test/dummy/config/initializers/inflections.rb +16 -0
  257. data/test/dummy/config/initializers/mime_types.rb +4 -0
  258. data/test/dummy/config/initializers/omniauth.rb +7 -0
  259. data/test/dummy/config/initializers/session_store.rb +2 -0
  260. data/test/dummy/config/initializers/shopify_app.rb +6 -0
  261. data/test/dummy/config/initializers/shopify_session_repository.rb +7 -0
  262. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  263. data/test/dummy/config/locales/en.yml +23 -0
  264. data/test/dummy/config/routes.rb +11 -0
  265. data/test/dummy/config/secrets.yml +22 -0
  266. data/test/dummy/config.ru +4 -0
  267. data/test/dummy/db/migrate/20160307182229_create_products.rb +11 -0
  268. data/test/dummy/db/migrate/20160530160739_create_asset_models.rb +19 -0
  269. data/test/dummy/db/migrate/20161105054746_create_carts.rb +13 -0
  270. data/test/dummy/db/schema.rb +152 -0
  271. data/test/dummy/public/404.html +67 -0
  272. data/test/dummy/public/422.html +67 -0
  273. data/test/dummy/public/500.html +66 -0
  274. data/test/dummy/public/favicon.ico +0 -0
  275. data/test/fixtures/api/subscriptions/valid_request.json +40 -0
  276. data/test/fixtures/api/widget_store/assets/create_script_tag_js_request.json +6 -0
  277. data/test/fixtures/api/widget_store/assets/create_script_tag_js_response.json +12 -0
  278. data/test/fixtures/api/widget_store/assets/create_script_tag_request.json +6 -0
  279. data/test/fixtures/api/widget_store/assets/create_script_tag_response.json +10 -0
  280. data/test/fixtures/api/widget_store/assets/create_test_js_request.json +6 -0
  281. data/test/fixtures/api/widget_store/assets/create_test_js_response.json +12 -0
  282. data/test/fixtures/api/widget_store/assets/create_widget_js_request.json +6 -0
  283. data/test/fixtures/api/widget_store/assets/create_widget_js_response.json +12 -0
  284. data/test/fixtures/api/widget_store/assets/create_widget_liquid_request.json +6 -0
  285. data/test/fixtures/api/widget_store/assets/create_widget_liquid_response.json +12 -0
  286. data/test/fixtures/api/widget_store/assets/create_widget_scss_request.json +6 -0
  287. data/test/fixtures/api/widget_store/assets/create_widget_scss_response.json +12 -0
  288. data/test/fixtures/api/widget_store/assets/get_script_tags_empty_request.json +1 -0
  289. data/test/fixtures/api/widget_store/assets/get_script_tags_empty_response.json +1 -0
  290. data/test/fixtures/api/widget_store/assets/get_script_tags_preexisting_request.json +1 -0
  291. data/test/fixtures/api/widget_store/assets/get_script_tags_preexisting_response.json +12 -0
  292. data/test/fixtures/api/widget_store/assets/update_script_tag_request.json +10 -0
  293. data/test/fixtures/api/widget_store/assets/update_script_tag_response.json +10 -0
  294. data/test/fixtures/api/widget_store/carrier_services.json +1 -0
  295. data/test/fixtures/api/widget_store/carrier_services_create.json +8 -0
  296. data/test/fixtures/api/widget_store/charges/activate_application_charge_request.json +16 -0
  297. data/test/fixtures/api/widget_store/charges/activate_application_charge_response.json +1 -0
  298. data/test/fixtures/api/widget_store/charges/activate_recurring_application_charge_request.json +20 -0
  299. data/test/fixtures/api/widget_store/charges/activate_recurring_application_charge_response.json +1 -0
  300. data/test/fixtures/api/widget_store/charges/create_application_charge_request.json +9 -0
  301. data/test/fixtures/api/widget_store/charges/create_application_charge_response.json +16 -0
  302. data/test/fixtures/api/widget_store/charges/create_recurring_application_charge_request.json +9 -0
  303. data/test/fixtures/api/widget_store/charges/create_recurring_application_charge_response.json +20 -0
  304. data/test/fixtures/api/widget_store/charges/create_second_recurring_application_charge_request.json +9 -0
  305. data/test/fixtures/api/widget_store/charges/create_second_recurring_application_charge_response.json +20 -0
  306. data/test/fixtures/api/widget_store/charges/get_accepted_application_charge_response.json +16 -0
  307. data/test/fixtures/api/widget_store/charges/get_accepted_recurring_application_charge_response.json +20 -0
  308. data/test/fixtures/api/widget_store/charges/get_declined_application_charge_response.json +16 -0
  309. data/test/fixtures/api/widget_store/charges/get_declined_recurring_application_charge_response.json +20 -0
  310. data/test/fixtures/api/widget_store/charges/get_pending_application_charge_response.json +16 -0
  311. data/test/fixtures/api/widget_store/charges/get_pending_recurring_application_charge_response.json +20 -0
  312. data/test/fixtures/api/widget_store/products/write_metafields_multiple_namespaces_request.json +31 -0
  313. data/test/fixtures/api/widget_store/products/write_metafields_multiple_namespaces_response.json +1 -0
  314. data/test/fixtures/api/widget_store/products/write_metafields_single_namespace_request.json +19 -0
  315. data/test/fixtures/api/widget_store/products/write_metafields_single_namespace_response.json +1 -0
  316. data/test/fixtures/api/widget_store/shop.json +46 -0
  317. data/test/fixtures/api/widget_store/webhooks.json +1 -0
  318. data/test/fixtures/assets/test.js +1 -0
  319. data/test/fixtures/assets/test.min.js +1 -0
  320. data/test/fixtures/carts.yml +5 -0
  321. data/test/fixtures/disco_app/application_charges.yml +11 -0
  322. data/test/fixtures/disco_app/plan_codes.yml +13 -0
  323. data/test/fixtures/disco_app/plans.yml +37 -0
  324. data/test/fixtures/disco_app/recurring_application_charges.yml +13 -0
  325. data/test/fixtures/disco_app/shops.yml +12 -0
  326. data/test/fixtures/disco_app/subscriptions.yml +25 -0
  327. data/test/fixtures/js_configurations.yml +3 -0
  328. data/test/fixtures/liquid/model.liquid +8 -0
  329. data/test/fixtures/products.yml +4 -0
  330. data/test/fixtures/webhooks/app_uninstalled.json +46 -0
  331. data/test/fixtures/webhooks/cart_updated.json +28 -0
  332. data/test/fixtures/webhooks/product_created.json +167 -0
  333. data/test/fixtures/webhooks/product_deleted.json +3 -0
  334. data/test/fixtures/webhooks/product_updated.json +167 -0
  335. data/test/fixtures/widget_configurations.yml +4 -0
  336. data/test/integration/synchronises_test.rb +62 -0
  337. data/test/jobs/disco_app/app_installed_job_test.rb +57 -0
  338. data/test/jobs/disco_app/app_uninstalled_job_test.rb +30 -0
  339. data/test/jobs/disco_app/send_subscription_job_test.rb +24 -0
  340. data/test/jobs/disco_app/synchronise_carrier_service_job_test.rb +25 -0
  341. data/test/jobs/disco_app/synchronise_webhooks_job_test.rb +30 -0
  342. data/test/models/disco_app/can_be_liquified_test.rb +55 -0
  343. data/test/models/disco_app/has_metafields_test.rb +40 -0
  344. data/test/models/disco_app/plan_test.rb +5 -0
  345. data/test/models/disco_app/renders_assets_test.rb +109 -0
  346. data/test/models/disco_app/session_test.rb +31 -0
  347. data/test/models/disco_app/shop_test.rb +43 -0
  348. data/test/models/disco_app/subscription_test.rb +19 -0
  349. data/test/services/disco_app/charges_service_test.rb +112 -0
  350. data/test/services/disco_app/subscription_service_test.rb +60 -0
  351. data/test/support/test_file_fixtures.rb +29 -0
  352. data/test/support/test_shopify_api.rb +16 -0
  353. data/test/test_helper.rb +58 -0
  354. metadata +987 -0
metadata ADDED
@@ -0,0 +1,987 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: disco_app
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.12.5
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'
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'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sass-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '5.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: uglifier
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: coffee-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '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: '4.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jquery-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '4.2'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '4.2'
83
+ - !ruby/object:Gem::Dependency
84
+ name: turbolinks
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '5.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: shopify_app
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '7.2'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 7.2.3
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '7.2'
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 7.2.3
117
+ - !ruby/object:Gem::Dependency
118
+ name: puma
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '2.14'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '2.14'
131
+ - !ruby/object:Gem::Dependency
132
+ name: sidekiq
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '4.2'
138
+ type: :runtime
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '4.2'
145
+ - !ruby/object:Gem::Dependency
146
+ name: pg
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: 0.19.0
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: 0.19.0
159
+ - !ruby/object:Gem::Dependency
160
+ name: rails_12factor
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: 0.0.3
166
+ type: :runtime
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: 0.0.3
173
+ - !ruby/object:Gem::Dependency
174
+ name: rails-bigint-pk
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '1.2'
180
+ type: :runtime
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '1.2'
187
+ - !ruby/object:Gem::Dependency
188
+ name: active_utils
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '3.2'
194
+ type: :runtime
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: '3.2'
201
+ - !ruby/object:Gem::Dependency
202
+ name: activerecord-session_store
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - "~>"
206
+ - !ruby/object:Gem::Version
207
+ version: '1.0'
208
+ type: :runtime
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - "~>"
213
+ - !ruby/object:Gem::Version
214
+ version: '1.0'
215
+ - !ruby/object:Gem::Dependency
216
+ name: jsonapi-resources
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - "~>"
220
+ - !ruby/object:Gem::Version
221
+ version: '0.8'
222
+ type: :runtime
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - "~>"
227
+ - !ruby/object:Gem::Version
228
+ version: '0.8'
229
+ - !ruby/object:Gem::Dependency
230
+ name: acts_as_singleton
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - "~>"
234
+ - !ruby/object:Gem::Version
235
+ version: 0.0.8
236
+ type: :runtime
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - "~>"
241
+ - !ruby/object:Gem::Version
242
+ version: 0.0.8
243
+ - !ruby/object:Gem::Dependency
244
+ name: react-rails
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - "~>"
248
+ - !ruby/object:Gem::Version
249
+ version: '1.10'
250
+ type: :runtime
251
+ prerelease: false
252
+ version_requirements: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - "~>"
255
+ - !ruby/object:Gem::Version
256
+ version: '1.10'
257
+ - !ruby/object:Gem::Dependency
258
+ name: classnames-rails
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - "~>"
262
+ - !ruby/object:Gem::Version
263
+ version: '2.1'
264
+ type: :runtime
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - "~>"
269
+ - !ruby/object:Gem::Version
270
+ version: '2.1'
271
+ - !ruby/object:Gem::Dependency
272
+ name: render_anywhere
273
+ requirement: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - "~>"
276
+ - !ruby/object:Gem::Version
277
+ version: 0.0.12
278
+ type: :runtime
279
+ prerelease: false
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - "~>"
283
+ - !ruby/object:Gem::Version
284
+ version: 0.0.12
285
+ - !ruby/object:Gem::Dependency
286
+ name: sinatra
287
+ requirement: !ruby/object:Gem::Requirement
288
+ requirements:
289
+ - - "~>"
290
+ - !ruby/object:Gem::Version
291
+ version: '1.4'
292
+ type: :runtime
293
+ prerelease: false
294
+ version_requirements: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - "~>"
297
+ - !ruby/object:Gem::Version
298
+ version: '1.4'
299
+ - !ruby/object:Gem::Dependency
300
+ name: active_link_to
301
+ requirement: !ruby/object:Gem::Requirement
302
+ requirements:
303
+ - - "~>"
304
+ - !ruby/object:Gem::Version
305
+ version: '1.0'
306
+ type: :runtime
307
+ prerelease: false
308
+ version_requirements: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - "~>"
311
+ - !ruby/object:Gem::Version
312
+ version: '1.0'
313
+ - !ruby/object:Gem::Dependency
314
+ name: premailer-rails
315
+ requirement: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - "~>"
318
+ - !ruby/object:Gem::Version
319
+ version: '1.8'
320
+ type: :runtime
321
+ prerelease: false
322
+ version_requirements: !ruby/object:Gem::Requirement
323
+ requirements:
324
+ - - "~>"
325
+ - !ruby/object:Gem::Version
326
+ version: '1.8'
327
+ - !ruby/object:Gem::Dependency
328
+ name: nokogiri
329
+ requirement: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - "~>"
332
+ - !ruby/object:Gem::Version
333
+ version: '1.7'
334
+ type: :runtime
335
+ prerelease: false
336
+ version_requirements: !ruby/object:Gem::Requirement
337
+ requirements:
338
+ - - "~>"
339
+ - !ruby/object:Gem::Version
340
+ version: '1.7'
341
+ - !ruby/object:Gem::Dependency
342
+ name: rollbar
343
+ requirement: !ruby/object:Gem::Requirement
344
+ requirements:
345
+ - - "~>"
346
+ - !ruby/object:Gem::Version
347
+ version: '2.14'
348
+ type: :runtime
349
+ prerelease: false
350
+ version_requirements: !ruby/object:Gem::Requirement
351
+ requirements:
352
+ - - "~>"
353
+ - !ruby/object:Gem::Version
354
+ version: '2.14'
355
+ - !ruby/object:Gem::Dependency
356
+ name: oj
357
+ requirement: !ruby/object:Gem::Requirement
358
+ requirements:
359
+ - - "~>"
360
+ - !ruby/object:Gem::Version
361
+ version: '2.14'
362
+ type: :runtime
363
+ prerelease: false
364
+ version_requirements: !ruby/object:Gem::Requirement
365
+ requirements:
366
+ - - "~>"
367
+ - !ruby/object:Gem::Version
368
+ version: '2.14'
369
+ - !ruby/object:Gem::Dependency
370
+ name: newrelic_rpm
371
+ requirement: !ruby/object:Gem::Requirement
372
+ requirements:
373
+ - - "~>"
374
+ - !ruby/object:Gem::Version
375
+ version: '3.15'
376
+ type: :runtime
377
+ prerelease: false
378
+ version_requirements: !ruby/object:Gem::Requirement
379
+ requirements:
380
+ - - "~>"
381
+ - !ruby/object:Gem::Version
382
+ version: '3.15'
383
+ - !ruby/object:Gem::Dependency
384
+ name: mailgun_rails
385
+ requirement: !ruby/object:Gem::Requirement
386
+ requirements:
387
+ - - "~>"
388
+ - !ruby/object:Gem::Version
389
+ version: '0.8'
390
+ type: :runtime
391
+ prerelease: false
392
+ version_requirements: !ruby/object:Gem::Requirement
393
+ requirements:
394
+ - - "~>"
395
+ - !ruby/object:Gem::Version
396
+ version: '0.8'
397
+ - !ruby/object:Gem::Dependency
398
+ name: dotenv-rails
399
+ requirement: !ruby/object:Gem::Requirement
400
+ requirements:
401
+ - - "~>"
402
+ - !ruby/object:Gem::Version
403
+ version: '2.0'
404
+ type: :development
405
+ prerelease: false
406
+ version_requirements: !ruby/object:Gem::Requirement
407
+ requirements:
408
+ - - "~>"
409
+ - !ruby/object:Gem::Version
410
+ version: '2.0'
411
+ - !ruby/object:Gem::Dependency
412
+ name: minitest-reporters
413
+ requirement: !ruby/object:Gem::Requirement
414
+ requirements:
415
+ - - "~>"
416
+ - !ruby/object:Gem::Version
417
+ version: '1.0'
418
+ type: :development
419
+ prerelease: false
420
+ version_requirements: !ruby/object:Gem::Requirement
421
+ requirements:
422
+ - - "~>"
423
+ - !ruby/object:Gem::Version
424
+ version: '1.0'
425
+ - !ruby/object:Gem::Dependency
426
+ name: webmock
427
+ requirement: !ruby/object:Gem::Requirement
428
+ requirements:
429
+ - - "~>"
430
+ - !ruby/object:Gem::Version
431
+ version: '2.3'
432
+ type: :development
433
+ prerelease: false
434
+ version_requirements: !ruby/object:Gem::Requirement
435
+ requirements:
436
+ - - "~>"
437
+ - !ruby/object:Gem::Version
438
+ version: '2.3'
439
+ - !ruby/object:Gem::Dependency
440
+ name: vcr
441
+ requirement: !ruby/object:Gem::Requirement
442
+ requirements:
443
+ - - "~>"
444
+ - !ruby/object:Gem::Version
445
+ version: '3.0'
446
+ type: :development
447
+ prerelease: false
448
+ version_requirements: !ruby/object:Gem::Requirement
449
+ requirements:
450
+ - - "~>"
451
+ - !ruby/object:Gem::Version
452
+ version: '3.0'
453
+ description: Rails engine for Shopify applications.
454
+ email:
455
+ - gavin@gavinballard.com
456
+ executables: []
457
+ extensions: []
458
+ extra_rdoc_files: []
459
+ files:
460
+ - Rakefile
461
+ - app/assets/components/disco_app/buttons/model-destroy-button.es6.jsx
462
+ - app/assets/components/disco_app/forms/model-form.es6.jsx
463
+ - app/assets/components/embedded_app/bar.es6.jsx
464
+ - app/assets/components/shopify/buttons/_buttons.scss
465
+ - app/assets/components/shopify/buttons/button.es6.jsx
466
+ - app/assets/components/shopify/card/_card.scss
467
+ - app/assets/components/shopify/card/card-header.es6.jsx
468
+ - app/assets/components/shopify/card/card-section.es6.jsx
469
+ - app/assets/components/shopify/card/card.es6.jsx
470
+ - app/assets/components/shopify/image/_image.scss
471
+ - app/assets/components/shopify/table/_table.scss
472
+ - app/assets/components/shopify/typography/_typography.scss
473
+ - app/assets/components/shopify/typography/ui-heading.es6.jsx
474
+ - app/assets/components/shopify/ui-layout/_ui-layout.scss
475
+ - app/assets/components/shopify/ui-layout/ui-annotated-section.es6.jsx
476
+ - app/assets/components/shopify/ui-layout/ui-empty-state.es6.jsx
477
+ - app/assets/components/shopify/ui-layout/ui-footer-help.es6.jsx
478
+ - app/assets/components/shopify/ui-layout/ui-layout-item.es6.jsx
479
+ - app/assets/components/shopify/ui-layout/ui-layout-section.es6.jsx
480
+ - app/assets/components/shopify/ui-layout/ui-layout-sections.es6.jsx
481
+ - app/assets/components/shopify/ui-layout/ui-layout.es6.jsx
482
+ - app/assets/components/shopify/ui-layout/ui-page-actions.es6.jsx
483
+ - app/assets/components/shopify/ui-layout/ui-page-actions__buttons.es6.jsx
484
+ - app/assets/components/shopify/ui-stack/_ui-stack.scss
485
+ - app/assets/components/shopify/ui-stack/ui-stack-item.es6.jsx
486
+ - app/assets/components/shopify/ui-stack/ui-stack.es6.jsx
487
+ - app/assets/images/disco_app/icon.svg
488
+ - app/assets/images/disco_app/icons.svg
489
+ - app/assets/javascripts/disco_app/components.js
490
+ - app/assets/javascripts/disco_app/components/custom/filterable_shop_list.js.jsx
491
+ - app/assets/javascripts/disco_app/components/custom/inline-radio-options.es6.jsx
492
+ - app/assets/javascripts/disco_app/components/custom/rules-editor.es6.jsx
493
+ - app/assets/javascripts/disco_app/components/custom/shop_filter_query.js.jsx
494
+ - app/assets/javascripts/disco_app/components/custom/shop_filter_tab.js.jsx
495
+ - app/assets/javascripts/disco_app/components/custom/shop_filter_tabs.js.jsx
496
+ - app/assets/javascripts/disco_app/components/custom/shop_list.js.jsx
497
+ - app/assets/javascripts/disco_app/components/custom/shop_row.js.jsx
498
+ - app/assets/javascripts/disco_app/components/custom/shopify_admin_link.js.jsx
499
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/base_form.es6.jsx
500
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/base_input.es6.jsx
501
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/input-checkbox.es6.jsx
502
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/input-radio.es6.jsx
503
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/input-select.es6.jsx
504
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/input-text.es6.jsx
505
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/input-textarea.es6.jsx
506
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/input-time.es6.jsx
507
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/ui-form__element.es6.jsx
508
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/ui-form__group.es6.jsx
509
+ - app/assets/javascripts/disco_app/components/ui-kit/forms/ui-form__section.es6.jsx
510
+ - app/assets/javascripts/disco_app/components/ui-kit/icons/icon-chevron.es6.jsx
511
+ - app/assets/javascripts/disco_app/components/ui-kit/icons/next-icon.es6.jsx
512
+ - app/assets/javascripts/disco_app/components/ui-kit/input_select.es6.jsx
513
+ - app/assets/javascripts/disco_app/components/ui-kit/tables/table.es6.jsx
514
+ - app/assets/javascripts/disco_app/disco_app.js
515
+ - app/assets/javascripts/disco_app/frame.js
516
+ - app/assets/javascripts/disco_app/shopify-turbolinks.js
517
+ - app/assets/javascripts/disco_app/ui-kit.js
518
+ - app/assets/stylesheets/disco_app/admin.scss
519
+ - app/assets/stylesheets/disco_app/admin/_header.scss
520
+ - app/assets/stylesheets/disco_app/admin/_layout.scss
521
+ - app/assets/stylesheets/disco_app/admin/_nav.scss
522
+ - app/assets/stylesheets/disco_app/disco_app.scss
523
+ - app/assets/stylesheets/disco_app/frame.scss
524
+ - app/assets/stylesheets/disco_app/frame/_buttons.scss
525
+ - app/assets/stylesheets/disco_app/frame/_forms.scss
526
+ - app/assets/stylesheets/disco_app/frame/_layout.scss
527
+ - app/assets/stylesheets/disco_app/frame/_type.scss
528
+ - app/assets/stylesheets/disco_app/mixins/_flexbox.scss
529
+ - app/assets/stylesheets/disco_app/ui-kit/_ui-forms.scss
530
+ - app/assets/stylesheets/disco_app/ui-kit/_ui-icons.scss
531
+ - app/assets/stylesheets/disco_app/ui-kit/_ui-kit.scss
532
+ - app/assets/stylesheets/disco_app/ui-kit/_ui-layout.scss
533
+ - app/assets/stylesheets/disco_app/ui-kit/_ui-tabs.scss
534
+ - app/assets/stylesheets/disco_app/ui-kit/_ui-type.scss
535
+ - app/clients/disco_app/api_client.rb
536
+ - app/clients/disco_app/disco_api_error.rb
537
+ - app/controllers/disco_app/admin/app_settings_controller.rb
538
+ - app/controllers/disco_app/admin/application_controller.rb
539
+ - app/controllers/disco_app/admin/concerns/app_settings_controller.rb
540
+ - app/controllers/disco_app/admin/concerns/authenticated_controller.rb
541
+ - app/controllers/disco_app/admin/concerns/plans_controller.rb
542
+ - app/controllers/disco_app/admin/concerns/shops_controller.rb
543
+ - app/controllers/disco_app/admin/concerns/subscriptions_controller.rb
544
+ - app/controllers/disco_app/admin/plans_controller.rb
545
+ - app/controllers/disco_app/admin/resources/shops_controller.rb
546
+ - app/controllers/disco_app/admin/shops_controller.rb
547
+ - app/controllers/disco_app/admin/subscriptions_controller.rb
548
+ - app/controllers/disco_app/charges_controller.rb
549
+ - app/controllers/disco_app/concerns/app_proxy_controller.rb
550
+ - app/controllers/disco_app/concerns/authenticated_controller.rb
551
+ - app/controllers/disco_app/concerns/carrier_request_controller.rb
552
+ - app/controllers/disco_app/frame_controller.rb
553
+ - app/controllers/disco_app/install_controller.rb
554
+ - app/controllers/disco_app/subscriptions_controller.rb
555
+ - app/controllers/disco_app/webhooks_controller.rb
556
+ - app/controllers/sessions_controller.rb
557
+ - app/helpers/disco_app/application_helper.rb
558
+ - app/jobs/disco_app/app_installed_job.rb
559
+ - app/jobs/disco_app/app_uninstalled_job.rb
560
+ - app/jobs/disco_app/concerns/app_installed_job.rb
561
+ - app/jobs/disco_app/concerns/app_uninstalled_job.rb
562
+ - app/jobs/disco_app/concerns/render_asset_group_job.rb
563
+ - app/jobs/disco_app/concerns/shop_update_job.rb
564
+ - app/jobs/disco_app/concerns/subscription_changed_job.rb
565
+ - app/jobs/disco_app/concerns/synchronise_carrier_service_job.rb
566
+ - app/jobs/disco_app/concerns/synchronise_resources_job.rb
567
+ - app/jobs/disco_app/concerns/synchronise_webhooks_job.rb
568
+ - app/jobs/disco_app/render_asset_group_job.rb
569
+ - app/jobs/disco_app/send_subscription_job.rb
570
+ - app/jobs/disco_app/shop_job.rb
571
+ - app/jobs/disco_app/shop_update_job.rb
572
+ - app/jobs/disco_app/subscription_changed_job.rb
573
+ - app/jobs/disco_app/synchronise_carrier_service_job.rb
574
+ - app/jobs/disco_app/synchronise_resources_job.rb
575
+ - app/jobs/disco_app/synchronise_webhooks_job.rb
576
+ - app/models/disco_app/app_settings.rb
577
+ - app/models/disco_app/application_charge.rb
578
+ - app/models/disco_app/concerns/app_settings.rb
579
+ - app/models/disco_app/concerns/can_be_liquified.rb
580
+ - app/models/disco_app/concerns/has_metafields.rb
581
+ - app/models/disco_app/concerns/plan.rb
582
+ - app/models/disco_app/concerns/plan_code.rb
583
+ - app/models/disco_app/concerns/renders_assets.rb
584
+ - app/models/disco_app/concerns/shop.rb
585
+ - app/models/disco_app/concerns/subscription.rb
586
+ - app/models/disco_app/concerns/synchronises.rb
587
+ - app/models/disco_app/concerns/taggable.rb
588
+ - app/models/disco_app/plan.rb
589
+ - app/models/disco_app/plan_code.rb
590
+ - app/models/disco_app/recurring_application_charge.rb
591
+ - app/models/disco_app/session_storage.rb
592
+ - app/models/disco_app/shop.rb
593
+ - app/models/disco_app/subscription.rb
594
+ - app/resources/disco_app/admin/resources/concerns/shop_resource.rb
595
+ - app/resources/disco_app/admin/resources/shop_resource.rb
596
+ - app/services/disco_app/carrier_request_service.rb
597
+ - app/services/disco_app/charges_service.rb
598
+ - app/services/disco_app/proxy_service.rb
599
+ - app/services/disco_app/request_validation_service.rb
600
+ - app/services/disco_app/subscription_service.rb
601
+ - app/services/disco_app/webhook_service.rb
602
+ - app/views/disco_app/admin/app_settings/edit.html.erb
603
+ - app/views/disco_app/admin/plans/_form.html.erb
604
+ - app/views/disco_app/admin/plans/_plan_code_fields.html.erb
605
+ - app/views/disco_app/admin/plans/edit.html.erb
606
+ - app/views/disco_app/admin/plans/index.html.erb
607
+ - app/views/disco_app/admin/plans/new.html.erb
608
+ - app/views/disco_app/admin/shops/index.html.erb
609
+ - app/views/disco_app/admin/subscriptions/edit.html.erb
610
+ - app/views/disco_app/charges/activate.html.erb
611
+ - app/views/disco_app/charges/create.html.erb
612
+ - app/views/disco_app/charges/new.html.erb
613
+ - app/views/disco_app/frame/frame.html.erb
614
+ - app/views/disco_app/install/installing.html.erb
615
+ - app/views/disco_app/install/uninstalling.html.erb
616
+ - app/views/disco_app/proxy_errors/404.html.erb
617
+ - app/views/disco_app/shared/_card.html.erb
618
+ - app/views/disco_app/shared/_icons.html.erb
619
+ - app/views/disco_app/shared/_section.html.erb
620
+ - app/views/disco_app/subscriptions/new.html.erb
621
+ - app/views/layouts/admin.html.erb
622
+ - app/views/layouts/admin/_nav_items.erb
623
+ - app/views/layouts/application.html.erb
624
+ - app/views/layouts/embedded_app.html.erb
625
+ - app/views/layouts/embedded_app_modal.html.erb
626
+ - app/views/shopify_app/sessions/new.html.erb
627
+ - config/routes.rb
628
+ - db/migrate/20150525000000_create_shops_if_not_existent.rb
629
+ - lib/disco_app.rb
630
+ - lib/disco_app/configuration.rb
631
+ - lib/disco_app/constants.rb
632
+ - lib/disco_app/engine.rb
633
+ - lib/disco_app/session.rb
634
+ - lib/disco_app/support/file_fixtures.rb
635
+ - lib/disco_app/test_help.rb
636
+ - lib/disco_app/version.rb
637
+ - lib/generators/disco_app/USAGE
638
+ - lib/generators/disco_app/disco_app_generator.rb
639
+ - lib/generators/disco_app/templates/assets/javascripts/application.js
640
+ - lib/generators/disco_app/templates/assets/javascripts/components.js
641
+ - lib/generators/disco_app/templates/assets/stylesheets/application.scss
642
+ - lib/generators/disco_app/templates/config/database.yml.tt
643
+ - lib/generators/disco_app/templates/config/newrelic.yml
644
+ - lib/generators/disco_app/templates/config/puma.rb
645
+ - lib/generators/disco_app/templates/controllers/home_controller.rb
646
+ - lib/generators/disco_app/templates/initializers/disco_app.rb
647
+ - lib/generators/disco_app/templates/initializers/rollbar.rb
648
+ - lib/generators/disco_app/templates/initializers/session_store.rb
649
+ - lib/generators/disco_app/templates/initializers/shopify_app.rb
650
+ - lib/generators/disco_app/templates/initializers/shopify_session_repository.rb
651
+ - lib/generators/disco_app/templates/root/CHECKS
652
+ - lib/generators/disco_app/templates/root/Procfile
653
+ - lib/generators/disco_app/templates/views/home/index.html.erb
654
+ - lib/tasks/api.rake
655
+ - lib/tasks/carrier_service.rake
656
+ - lib/tasks/database.rake
657
+ - lib/tasks/sessions.rake
658
+ - lib/tasks/shops.rake
659
+ - lib/tasks/start.rake
660
+ - lib/tasks/webhooks.rake
661
+ - test/clients/disco_app/api_client_test.rb
662
+ - test/controllers/disco_app/admin/shops_controller_test.rb
663
+ - test/controllers/disco_app/charges_controller_test.rb
664
+ - test/controllers/disco_app/install_controller_test.rb
665
+ - test/controllers/disco_app/subscriptions_controller_test.rb
666
+ - test/controllers/disco_app/webhooks_controller_test.rb
667
+ - test/controllers/home_controller_test.rb
668
+ - test/controllers/proxy_controller_test.rb
669
+ - test/disco_app_test.rb
670
+ - test/dummy/Rakefile
671
+ - test/dummy/app/assets/javascripts/application.js
672
+ - test/dummy/app/assets/stylesheets/application.scss
673
+ - test/dummy/app/controllers/application_controller.rb
674
+ - test/dummy/app/controllers/carrier_request_controller.rb
675
+ - test/dummy/app/controllers/disco_app/admin/shops_controller.rb
676
+ - test/dummy/app/controllers/home_controller.rb
677
+ - test/dummy/app/controllers/proxy_controller.rb
678
+ - test/dummy/app/helpers/application_helper.rb
679
+ - test/dummy/app/jobs/carts_update_job.rb
680
+ - test/dummy/app/jobs/disco_app/app_installed_job.rb
681
+ - test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
682
+ - test/dummy/app/jobs/products_create_job.rb
683
+ - test/dummy/app/jobs/products_delete_job.rb
684
+ - test/dummy/app/jobs/products_update_job.rb
685
+ - test/dummy/app/models/cart.rb
686
+ - test/dummy/app/models/disco_app/shop.rb
687
+ - test/dummy/app/models/js_configuration.rb
688
+ - test/dummy/app/models/product.rb
689
+ - test/dummy/app/models/widget_configuration.rb
690
+ - test/dummy/app/views/assets/script_tag.js.erb
691
+ - test/dummy/app/views/assets/test.js.erb
692
+ - test/dummy/app/views/assets/widget.js.erb
693
+ - test/dummy/app/views/assets/widget.scss.erb
694
+ - test/dummy/app/views/home/index.html.erb
695
+ - test/dummy/app/views/snippets/widget.liquid.erb
696
+ - test/dummy/bin/bundle
697
+ - test/dummy/bin/rails
698
+ - test/dummy/bin/rake
699
+ - test/dummy/bin/setup
700
+ - test/dummy/config.ru
701
+ - test/dummy/config/application.rb
702
+ - test/dummy/config/boot.rb
703
+ - test/dummy/config/database.codeship.yml
704
+ - test/dummy/config/database.gitlab-ci.yml
705
+ - test/dummy/config/database.yml
706
+ - test/dummy/config/environment.rb
707
+ - test/dummy/config/environments/development.rb
708
+ - test/dummy/config/environments/production.rb
709
+ - test/dummy/config/environments/test.rb
710
+ - test/dummy/config/initializers/assets.rb
711
+ - test/dummy/config/initializers/backtrace_silencers.rb
712
+ - test/dummy/config/initializers/cookies_serializer.rb
713
+ - test/dummy/config/initializers/disco_app.rb
714
+ - test/dummy/config/initializers/filter_parameter_logging.rb
715
+ - test/dummy/config/initializers/inflections.rb
716
+ - test/dummy/config/initializers/mime_types.rb
717
+ - test/dummy/config/initializers/omniauth.rb
718
+ - test/dummy/config/initializers/session_store.rb
719
+ - test/dummy/config/initializers/shopify_app.rb
720
+ - test/dummy/config/initializers/shopify_session_repository.rb
721
+ - test/dummy/config/initializers/wrap_parameters.rb
722
+ - test/dummy/config/locales/en.yml
723
+ - test/dummy/config/routes.rb
724
+ - test/dummy/config/secrets.yml
725
+ - test/dummy/db/migrate/20160307182229_create_products.rb
726
+ - test/dummy/db/migrate/20160530160739_create_asset_models.rb
727
+ - test/dummy/db/migrate/20161105054746_create_carts.rb
728
+ - test/dummy/db/schema.rb
729
+ - test/dummy/public/404.html
730
+ - test/dummy/public/422.html
731
+ - test/dummy/public/500.html
732
+ - test/dummy/public/favicon.ico
733
+ - test/fixtures/api/subscriptions/valid_request.json
734
+ - test/fixtures/api/widget_store/assets/create_script_tag_js_request.json
735
+ - test/fixtures/api/widget_store/assets/create_script_tag_js_response.json
736
+ - test/fixtures/api/widget_store/assets/create_script_tag_request.json
737
+ - test/fixtures/api/widget_store/assets/create_script_tag_response.json
738
+ - test/fixtures/api/widget_store/assets/create_test_js_request.json
739
+ - test/fixtures/api/widget_store/assets/create_test_js_response.json
740
+ - test/fixtures/api/widget_store/assets/create_widget_js_request.json
741
+ - test/fixtures/api/widget_store/assets/create_widget_js_response.json
742
+ - test/fixtures/api/widget_store/assets/create_widget_liquid_request.json
743
+ - test/fixtures/api/widget_store/assets/create_widget_liquid_response.json
744
+ - test/fixtures/api/widget_store/assets/create_widget_scss_request.json
745
+ - test/fixtures/api/widget_store/assets/create_widget_scss_response.json
746
+ - test/fixtures/api/widget_store/assets/get_script_tags_empty_request.json
747
+ - test/fixtures/api/widget_store/assets/get_script_tags_empty_response.json
748
+ - test/fixtures/api/widget_store/assets/get_script_tags_preexisting_request.json
749
+ - test/fixtures/api/widget_store/assets/get_script_tags_preexisting_response.json
750
+ - test/fixtures/api/widget_store/assets/update_script_tag_request.json
751
+ - test/fixtures/api/widget_store/assets/update_script_tag_response.json
752
+ - test/fixtures/api/widget_store/carrier_services.json
753
+ - test/fixtures/api/widget_store/carrier_services_create.json
754
+ - test/fixtures/api/widget_store/charges/activate_application_charge_request.json
755
+ - test/fixtures/api/widget_store/charges/activate_application_charge_response.json
756
+ - test/fixtures/api/widget_store/charges/activate_recurring_application_charge_request.json
757
+ - test/fixtures/api/widget_store/charges/activate_recurring_application_charge_response.json
758
+ - test/fixtures/api/widget_store/charges/create_application_charge_request.json
759
+ - test/fixtures/api/widget_store/charges/create_application_charge_response.json
760
+ - test/fixtures/api/widget_store/charges/create_recurring_application_charge_request.json
761
+ - test/fixtures/api/widget_store/charges/create_recurring_application_charge_response.json
762
+ - test/fixtures/api/widget_store/charges/create_second_recurring_application_charge_request.json
763
+ - test/fixtures/api/widget_store/charges/create_second_recurring_application_charge_response.json
764
+ - test/fixtures/api/widget_store/charges/get_accepted_application_charge_response.json
765
+ - test/fixtures/api/widget_store/charges/get_accepted_recurring_application_charge_response.json
766
+ - test/fixtures/api/widget_store/charges/get_declined_application_charge_response.json
767
+ - test/fixtures/api/widget_store/charges/get_declined_recurring_application_charge_response.json
768
+ - test/fixtures/api/widget_store/charges/get_pending_application_charge_response.json
769
+ - test/fixtures/api/widget_store/charges/get_pending_recurring_application_charge_response.json
770
+ - test/fixtures/api/widget_store/products/write_metafields_multiple_namespaces_request.json
771
+ - test/fixtures/api/widget_store/products/write_metafields_multiple_namespaces_response.json
772
+ - test/fixtures/api/widget_store/products/write_metafields_single_namespace_request.json
773
+ - test/fixtures/api/widget_store/products/write_metafields_single_namespace_response.json
774
+ - test/fixtures/api/widget_store/shop.json
775
+ - test/fixtures/api/widget_store/webhooks.json
776
+ - test/fixtures/assets/test.js
777
+ - test/fixtures/assets/test.min.js
778
+ - test/fixtures/carts.yml
779
+ - test/fixtures/disco_app/application_charges.yml
780
+ - test/fixtures/disco_app/plan_codes.yml
781
+ - test/fixtures/disco_app/plans.yml
782
+ - test/fixtures/disco_app/recurring_application_charges.yml
783
+ - test/fixtures/disco_app/shops.yml
784
+ - test/fixtures/disco_app/subscriptions.yml
785
+ - test/fixtures/js_configurations.yml
786
+ - test/fixtures/liquid/model.liquid
787
+ - test/fixtures/products.yml
788
+ - test/fixtures/webhooks/app_uninstalled.json
789
+ - test/fixtures/webhooks/cart_updated.json
790
+ - test/fixtures/webhooks/product_created.json
791
+ - test/fixtures/webhooks/product_deleted.json
792
+ - test/fixtures/webhooks/product_updated.json
793
+ - test/fixtures/widget_configurations.yml
794
+ - test/integration/synchronises_test.rb
795
+ - test/jobs/disco_app/app_installed_job_test.rb
796
+ - test/jobs/disco_app/app_uninstalled_job_test.rb
797
+ - test/jobs/disco_app/send_subscription_job_test.rb
798
+ - test/jobs/disco_app/synchronise_carrier_service_job_test.rb
799
+ - test/jobs/disco_app/synchronise_webhooks_job_test.rb
800
+ - test/models/disco_app/can_be_liquified_test.rb
801
+ - test/models/disco_app/has_metafields_test.rb
802
+ - test/models/disco_app/plan_test.rb
803
+ - test/models/disco_app/renders_assets_test.rb
804
+ - test/models/disco_app/session_test.rb
805
+ - test/models/disco_app/shop_test.rb
806
+ - test/models/disco_app/subscription_test.rb
807
+ - test/services/disco_app/charges_service_test.rb
808
+ - test/services/disco_app/subscription_service_test.rb
809
+ - test/support/test_file_fixtures.rb
810
+ - test/support/test_shopify_api.rb
811
+ - test/test_helper.rb
812
+ homepage: https://github.com/discolabs/disco_app/
813
+ licenses:
814
+ - None
815
+ metadata: {}
816
+ post_install_message:
817
+ rdoc_options: []
818
+ require_paths:
819
+ - lib
820
+ required_ruby_version: !ruby/object:Gem::Requirement
821
+ requirements:
822
+ - - ">="
823
+ - !ruby/object:Gem::Version
824
+ version: '0'
825
+ required_rubygems_version: !ruby/object:Gem::Requirement
826
+ requirements:
827
+ - - ">="
828
+ - !ruby/object:Gem::Version
829
+ version: '0'
830
+ requirements: []
831
+ rubyforge_project:
832
+ rubygems_version: 2.7.6
833
+ signing_key:
834
+ specification_version: 4
835
+ summary: Rails engine for Shopify applications.
836
+ test_files:
837
+ - test/dummy/public/500.html
838
+ - test/dummy/public/favicon.ico
839
+ - test/dummy/public/422.html
840
+ - test/dummy/public/404.html
841
+ - test/dummy/bin/rake
842
+ - test/dummy/bin/rails
843
+ - test/dummy/bin/setup
844
+ - test/dummy/bin/bundle
845
+ - test/dummy/Rakefile
846
+ - test/dummy/config.ru
847
+ - test/dummy/app/assets/stylesheets/application.scss
848
+ - test/dummy/app/assets/javascripts/application.js
849
+ - test/dummy/app/jobs/products_create_job.rb
850
+ - test/dummy/app/jobs/products_update_job.rb
851
+ - test/dummy/app/jobs/disco_app/app_installed_job.rb
852
+ - test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
853
+ - test/dummy/app/jobs/products_delete_job.rb
854
+ - test/dummy/app/jobs/carts_update_job.rb
855
+ - test/dummy/app/controllers/home_controller.rb
856
+ - test/dummy/app/controllers/disco_app/admin/shops_controller.rb
857
+ - test/dummy/app/controllers/carrier_request_controller.rb
858
+ - test/dummy/app/controllers/proxy_controller.rb
859
+ - test/dummy/app/controllers/application_controller.rb
860
+ - test/dummy/app/helpers/application_helper.rb
861
+ - test/dummy/app/models/disco_app/shop.rb
862
+ - test/dummy/app/models/product.rb
863
+ - test/dummy/app/models/widget_configuration.rb
864
+ - test/dummy/app/models/js_configuration.rb
865
+ - test/dummy/app/models/cart.rb
866
+ - test/dummy/app/views/assets/script_tag.js.erb
867
+ - test/dummy/app/views/assets/widget.scss.erb
868
+ - test/dummy/app/views/assets/test.js.erb
869
+ - test/dummy/app/views/assets/widget.js.erb
870
+ - test/dummy/app/views/snippets/widget.liquid.erb
871
+ - test/dummy/app/views/home/index.html.erb
872
+ - test/dummy/db/migrate/20161105054746_create_carts.rb
873
+ - test/dummy/db/migrate/20160530160739_create_asset_models.rb
874
+ - test/dummy/db/migrate/20160307182229_create_products.rb
875
+ - test/dummy/db/schema.rb
876
+ - test/dummy/config/locales/en.yml
877
+ - test/dummy/config/initializers/filter_parameter_logging.rb
878
+ - test/dummy/config/initializers/assets.rb
879
+ - test/dummy/config/initializers/session_store.rb
880
+ - test/dummy/config/initializers/inflections.rb
881
+ - test/dummy/config/initializers/mime_types.rb
882
+ - test/dummy/config/initializers/wrap_parameters.rb
883
+ - test/dummy/config/initializers/disco_app.rb
884
+ - test/dummy/config/initializers/shopify_app.rb
885
+ - test/dummy/config/initializers/shopify_session_repository.rb
886
+ - test/dummy/config/initializers/backtrace_silencers.rb
887
+ - test/dummy/config/initializers/omniauth.rb
888
+ - test/dummy/config/initializers/cookies_serializer.rb
889
+ - test/dummy/config/secrets.yml
890
+ - test/dummy/config/routes.rb
891
+ - test/dummy/config/database.codeship.yml
892
+ - test/dummy/config/environments/production.rb
893
+ - test/dummy/config/environments/test.rb
894
+ - test/dummy/config/environments/development.rb
895
+ - test/dummy/config/environment.rb
896
+ - test/dummy/config/boot.rb
897
+ - test/dummy/config/database.yml
898
+ - test/dummy/config/database.gitlab-ci.yml
899
+ - test/dummy/config/application.rb
900
+ - test/fixtures/liquid/model.liquid
901
+ - test/fixtures/api/subscriptions/valid_request.json
902
+ - test/fixtures/api/widget_store/carrier_services.json
903
+ - test/fixtures/api/widget_store/assets/create_test_js_response.json
904
+ - test/fixtures/api/widget_store/assets/create_widget_js_response.json
905
+ - test/fixtures/api/widget_store/assets/create_test_js_request.json
906
+ - test/fixtures/api/widget_store/assets/update_script_tag_request.json
907
+ - test/fixtures/api/widget_store/assets/create_script_tag_response.json
908
+ - test/fixtures/api/widget_store/assets/create_script_tag_js_response.json
909
+ - test/fixtures/api/widget_store/assets/create_widget_scss_request.json
910
+ - test/fixtures/api/widget_store/assets/update_script_tag_response.json
911
+ - test/fixtures/api/widget_store/assets/create_widget_liquid_request.json
912
+ - test/fixtures/api/widget_store/assets/create_script_tag_js_request.json
913
+ - test/fixtures/api/widget_store/assets/create_script_tag_request.json
914
+ - test/fixtures/api/widget_store/assets/get_script_tags_preexisting_response.json
915
+ - test/fixtures/api/widget_store/assets/create_widget_scss_response.json
916
+ - test/fixtures/api/widget_store/assets/create_widget_liquid_response.json
917
+ - test/fixtures/api/widget_store/assets/get_script_tags_preexisting_request.json
918
+ - test/fixtures/api/widget_store/assets/get_script_tags_empty_response.json
919
+ - test/fixtures/api/widget_store/assets/get_script_tags_empty_request.json
920
+ - test/fixtures/api/widget_store/assets/create_widget_js_request.json
921
+ - test/fixtures/api/widget_store/products/write_metafields_single_namespace_response.json
922
+ - test/fixtures/api/widget_store/products/write_metafields_multiple_namespaces_request.json
923
+ - test/fixtures/api/widget_store/products/write_metafields_multiple_namespaces_response.json
924
+ - test/fixtures/api/widget_store/products/write_metafields_single_namespace_request.json
925
+ - test/fixtures/api/widget_store/webhooks.json
926
+ - test/fixtures/api/widget_store/charges/create_application_charge_response.json
927
+ - test/fixtures/api/widget_store/charges/create_second_recurring_application_charge_response.json
928
+ - test/fixtures/api/widget_store/charges/activate_application_charge_response.json
929
+ - test/fixtures/api/widget_store/charges/create_application_charge_request.json
930
+ - test/fixtures/api/widget_store/charges/create_recurring_application_charge_response.json
931
+ - test/fixtures/api/widget_store/charges/get_pending_recurring_application_charge_response.json
932
+ - test/fixtures/api/widget_store/charges/get_declined_recurring_application_charge_response.json
933
+ - test/fixtures/api/widget_store/charges/get_pending_application_charge_response.json
934
+ - test/fixtures/api/widget_store/charges/activate_recurring_application_charge_response.json
935
+ - test/fixtures/api/widget_store/charges/get_accepted_recurring_application_charge_response.json
936
+ - test/fixtures/api/widget_store/charges/activate_recurring_application_charge_request.json
937
+ - test/fixtures/api/widget_store/charges/get_accepted_application_charge_response.json
938
+ - test/fixtures/api/widget_store/charges/create_recurring_application_charge_request.json
939
+ - test/fixtures/api/widget_store/charges/get_declined_application_charge_response.json
940
+ - test/fixtures/api/widget_store/charges/create_second_recurring_application_charge_request.json
941
+ - test/fixtures/api/widget_store/charges/activate_application_charge_request.json
942
+ - test/fixtures/api/widget_store/carrier_services_create.json
943
+ - test/fixtures/api/widget_store/shop.json
944
+ - test/fixtures/assets/test.js
945
+ - test/fixtures/assets/test.min.js
946
+ - test/fixtures/widget_configurations.yml
947
+ - test/fixtures/js_configurations.yml
948
+ - test/fixtures/disco_app/plan_codes.yml
949
+ - test/fixtures/disco_app/shops.yml
950
+ - test/fixtures/disco_app/application_charges.yml
951
+ - test/fixtures/disco_app/subscriptions.yml
952
+ - test/fixtures/disco_app/plans.yml
953
+ - test/fixtures/disco_app/recurring_application_charges.yml
954
+ - test/fixtures/carts.yml
955
+ - test/fixtures/webhooks/cart_updated.json
956
+ - test/fixtures/webhooks/app_uninstalled.json
957
+ - test/fixtures/webhooks/product_updated.json
958
+ - test/fixtures/webhooks/product_created.json
959
+ - test/fixtures/webhooks/product_deleted.json
960
+ - test/fixtures/products.yml
961
+ - test/support/test_file_fixtures.rb
962
+ - test/support/test_shopify_api.rb
963
+ - test/test_helper.rb
964
+ - test/disco_app_test.rb
965
+ - test/jobs/disco_app/app_uninstalled_job_test.rb
966
+ - test/jobs/disco_app/synchronise_carrier_service_job_test.rb
967
+ - test/jobs/disco_app/send_subscription_job_test.rb
968
+ - test/jobs/disco_app/synchronise_webhooks_job_test.rb
969
+ - test/jobs/disco_app/app_installed_job_test.rb
970
+ - test/controllers/disco_app/install_controller_test.rb
971
+ - test/controllers/disco_app/webhooks_controller_test.rb
972
+ - test/controllers/disco_app/admin/shops_controller_test.rb
973
+ - test/controllers/disco_app/subscriptions_controller_test.rb
974
+ - test/controllers/disco_app/charges_controller_test.rb
975
+ - test/controllers/proxy_controller_test.rb
976
+ - test/controllers/home_controller_test.rb
977
+ - test/integration/synchronises_test.rb
978
+ - test/clients/disco_app/api_client_test.rb
979
+ - test/models/disco_app/plan_test.rb
980
+ - test/models/disco_app/has_metafields_test.rb
981
+ - test/models/disco_app/shop_test.rb
982
+ - test/models/disco_app/session_test.rb
983
+ - test/models/disco_app/subscription_test.rb
984
+ - test/models/disco_app/can_be_liquified_test.rb
985
+ - test/models/disco_app/renders_assets_test.rb
986
+ - test/services/disco_app/charges_service_test.rb
987
+ - test/services/disco_app/subscription_service_test.rb