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