ruby_shopify_api 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.github/CODEOWNERS +1 -0
- data/.github/ISSUE_TEMPLATE.md +36 -0
- data/.github/probots.yml +2 -0
- data/.github/workflows/build.yml +43 -0
- data/.gitignore +15 -0
- data/.rubocop.yml +28 -0
- data/.rubocop_todo.yml +75 -0
- data/CHANGELOG-OLD.md +501 -0
- data/CHANGELOG.md +5 -0
- data/CONTRIBUTING.md +8 -0
- data/CONTRIBUTORS +3 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +151 -0
- data/Gemfile_ar41 +5 -0
- data/Gemfile_ar50 +5 -0
- data/Gemfile_ar51 +5 -0
- data/Gemfile_ar60 +5 -0
- data/Gemfile_ar_main +5 -0
- data/LICENSE +20 -0
- data/README.md +649 -0
- data/RELEASING +17 -0
- data/Rakefile +55 -0
- data/SECURITY.md +59 -0
- data/dev.yml +11 -0
- data/docker-compose.yml +13 -0
- data/docs/_config.yml +1 -0
- data/docs/_includes/footer.html +28 -0
- data/docs/_includes/head.html +28 -0
- data/docs/_layouts/index.html +57 -0
- data/docs/graphql.md +241 -0
- data/docs/index.md +639 -0
- data/lib/active_resource/connection_ext.rb +11 -0
- data/lib/active_resource/detailed_log_subscriber.rb +55 -0
- data/lib/active_resource/json_errors.rb +37 -0
- data/lib/shopify_api/api_access.rb +57 -0
- data/lib/shopify_api/api_version.rb +206 -0
- data/lib/shopify_api/connection.rb +36 -0
- data/lib/shopify_api/countable.rb +15 -0
- data/lib/shopify_api/disable_prefix_check.rb +31 -0
- data/lib/shopify_api/events.rb +8 -0
- data/lib/shopify_api/graphql/http_client.rb +22 -0
- data/lib/shopify_api/graphql/railtie.rb +17 -0
- data/lib/shopify_api/graphql/task.rake +100 -0
- data/lib/shopify_api/graphql.rb +103 -0
- data/lib/shopify_api/hmac_params.rb +33 -0
- data/lib/shopify_api/limits.rb +77 -0
- data/lib/shopify_api/message_enricher.rb +25 -0
- data/lib/shopify_api/meta.rb +14 -0
- data/lib/shopify_api/metafields.rb +21 -0
- data/lib/shopify_api/paginated_collection.rb +69 -0
- data/lib/shopify_api/pagination_link_headers.rb +34 -0
- data/lib/shopify_api/resources/abandoned_checkout.rb +7 -0
- data/lib/shopify_api/resources/access_scope.rb +10 -0
- data/lib/shopify_api/resources/access_token.rb +9 -0
- data/lib/shopify_api/resources/address.rb +5 -0
- data/lib/shopify_api/resources/announcement.rb +5 -0
- data/lib/shopify_api/resources/api_permission.rb +9 -0
- data/lib/shopify_api/resources/application_charge.rb +16 -0
- data/lib/shopify_api/resources/application_credit.rb +5 -0
- data/lib/shopify_api/resources/array_base.rb +13 -0
- data/lib/shopify_api/resources/article.rb +22 -0
- data/lib/shopify_api/resources/asset.rb +101 -0
- data/lib/shopify_api/resources/assigned_fulfillment_order.rb +16 -0
- data/lib/shopify_api/resources/base.rb +166 -0
- data/lib/shopify_api/resources/billing_address.rb +5 -0
- data/lib/shopify_api/resources/blog.rb +11 -0
- data/lib/shopify_api/resources/carrier_service.rb +5 -0
- data/lib/shopify_api/resources/cart.rb +5 -0
- data/lib/shopify_api/resources/checkout.rb +30 -0
- data/lib/shopify_api/resources/collect.rb +7 -0
- data/lib/shopify_api/resources/collection.rb +14 -0
- data/lib/shopify_api/resources/collection_listing.rb +19 -0
- data/lib/shopify_api/resources/collection_publication.rb +10 -0
- data/lib/shopify_api/resources/comment.rb +24 -0
- data/lib/shopify_api/resources/country.rb +5 -0
- data/lib/shopify_api/resources/currency.rb +6 -0
- data/lib/shopify_api/resources/custom_collection.rb +20 -0
- data/lib/shopify_api/resources/customer.rb +30 -0
- data/lib/shopify_api/resources/customer_group.rb +6 -0
- data/lib/shopify_api/resources/customer_invite.rb +5 -0
- data/lib/shopify_api/resources/customer_saved_search.rb +12 -0
- data/lib/shopify_api/resources/discount_code.rb +10 -0
- data/lib/shopify_api/resources/discount_code_batch.rb +34 -0
- data/lib/shopify_api/resources/draft_order.rb +15 -0
- data/lib/shopify_api/resources/draft_order_invoice.rb +5 -0
- data/lib/shopify_api/resources/event.rb +9 -0
- data/lib/shopify_api/resources/fulfillment.rb +56 -0
- data/lib/shopify_api/resources/fulfillment_event.rb +16 -0
- data/lib/shopify_api/resources/fulfillment_order.rb +151 -0
- data/lib/shopify_api/resources/fulfillment_order_locations_for_move.rb +5 -0
- data/lib/shopify_api/resources/fulfillment_request.rb +16 -0
- data/lib/shopify_api/resources/fulfillment_service.rb +5 -0
- data/lib/shopify_api/resources/fulfillment_v2.rb +21 -0
- data/lib/shopify_api/resources/gift_card.rb +8 -0
- data/lib/shopify_api/resources/image.rb +17 -0
- data/lib/shopify_api/resources/inventory_item.rb +6 -0
- data/lib/shopify_api/resources/inventory_level.rb +54 -0
- data/lib/shopify_api/resources/line_item.rb +15 -0
- data/lib/shopify_api/resources/location.rb +8 -0
- data/lib/shopify_api/resources/marketing_event.rb +11 -0
- data/lib/shopify_api/resources/metafield.rb +14 -0
- data/lib/shopify_api/resources/note_attribute.rb +5 -0
- data/lib/shopify_api/resources/option.rb +5 -0
- data/lib/shopify_api/resources/order.rb +44 -0
- data/lib/shopify_api/resources/order_risk.rb +9 -0
- data/lib/shopify_api/resources/page.rb +7 -0
- data/lib/shopify_api/resources/payment.rb +7 -0
- data/lib/shopify_api/resources/payment_details.rb +5 -0
- data/lib/shopify_api/resources/ping.rb +3 -0
- data/lib/shopify_api/resources/policy.rb +8 -0
- data/lib/shopify_api/resources/price_rule.rb +8 -0
- data/lib/shopify_api/resources/product.rb +59 -0
- data/lib/shopify_api/resources/product_listing.rb +17 -0
- data/lib/shopify_api/resources/product_publication.rb +10 -0
- data/lib/shopify_api/resources/province.rb +6 -0
- data/lib/shopify_api/resources/publication.rb +5 -0
- data/lib/shopify_api/resources/receipt.rb +5 -0
- data/lib/shopify_api/resources/recurring_application_charge.rb +34 -0
- data/lib/shopify_api/resources/redirect.rb +5 -0
- data/lib/shopify_api/resources/refund.rb +15 -0
- data/lib/shopify_api/resources/report.rb +5 -0
- data/lib/shopify_api/resources/resource_feedback.rb +19 -0
- data/lib/shopify_api/resources/rule.rb +5 -0
- data/lib/shopify_api/resources/script_tag.rb +5 -0
- data/lib/shopify_api/resources/shipping_address.rb +5 -0
- data/lib/shopify_api/resources/shipping_line.rb +5 -0
- data/lib/shopify_api/resources/shipping_rate.rb +7 -0
- data/lib/shopify_api/resources/shipping_zone.rb +5 -0
- data/lib/shopify_api/resources/shop.rb +26 -0
- data/lib/shopify_api/resources/smart_collection.rb +15 -0
- data/lib/shopify_api/resources/storefront_access_token.rb +5 -0
- data/lib/shopify_api/resources/tax_line.rb +5 -0
- data/lib/shopify_api/resources/tax_service.rb +5 -0
- data/lib/shopify_api/resources/tender_transaction.rb +6 -0
- data/lib/shopify_api/resources/theme.rb +5 -0
- data/lib/shopify_api/resources/transaction.rb +6 -0
- data/lib/shopify_api/resources/usage_charge.rb +6 -0
- data/lib/shopify_api/resources/user.rb +5 -0
- data/lib/shopify_api/resources/variant.rb +43 -0
- data/lib/shopify_api/resources/webhook.rb +5 -0
- data/lib/shopify_api/resources.rb +4 -0
- data/lib/shopify_api/session.rb +203 -0
- data/lib/shopify_api/version.rb +4 -0
- data/lib/shopify_api.rb +45 -0
- data/lib/verify_docs.rb +8 -0
- data/service.yml +2 -0
- data/shipit.rubygems.yml +1 -0
- data/shopify_api.gemspec +47 -0
- data/test/abandoned_checkouts_test.rb +29 -0
- data/test/access_scope_test.rb +23 -0
- data/test/access_token_test.rb +20 -0
- data/test/active_resource/json_errors_test.rb +19 -0
- data/test/api_access_test.rb +153 -0
- data/test/api_permission_test.rb +9 -0
- data/test/api_version_test.rb +157 -0
- data/test/application_charge_test.rb +82 -0
- data/test/application_credit_test.rb +36 -0
- data/test/article_test.rb +72 -0
- data/test/asset_test.rb +26 -0
- data/test/assigned_fulfillment_order_test.rb +78 -0
- data/test/base_test.rb +213 -0
- data/test/blog_test.rb +9 -0
- data/test/carrier_service_test.rb +18 -0
- data/test/cart_test.rb +14 -0
- data/test/checkouts_test.rb +77 -0
- data/test/collect_test.rb +10 -0
- data/test/collection_listing_test.rb +84 -0
- data/test/collection_publication_test.rb +40 -0
- data/test/collection_test.rb +50 -0
- data/test/countable_test.rb +14 -0
- data/test/currency_test.rb +21 -0
- data/test/custom_collection_test.rb +10 -0
- data/test/customer_saved_search_test.rb +37 -0
- data/test/customer_test.rb +58 -0
- data/test/detailed_log_subscriber_test.rb +143 -0
- data/test/discount_code_batch_test.rb +41 -0
- data/test/discount_code_test.rb +59 -0
- data/test/draft_order_test.rb +167 -0
- data/test/fixtures/abandoned_checkout.json +184 -0
- data/test/fixtures/abandoned_checkouts.json +186 -0
- data/test/fixtures/access_scopes.json +10 -0
- data/test/fixtures/access_token_delegate.json +4 -0
- data/test/fixtures/api_versions.json +38 -0
- data/test/fixtures/apis.json +42 -0
- data/test/fixtures/application_charge.json +16 -0
- data/test/fixtures/application_charges.json +57 -0
- data/test/fixtures/application_credit.json +12 -0
- data/test/fixtures/application_credits.json +24 -0
- data/test/fixtures/article.json +15 -0
- data/test/fixtures/articles.json +39 -0
- data/test/fixtures/asset.json +9 -0
- data/test/fixtures/assets.json +136 -0
- data/test/fixtures/assigned_fulfillment_orders.json +80 -0
- data/test/fixtures/authors.json +1 -0
- data/test/fixtures/blog.json +13 -0
- data/test/fixtures/blogs.json +13 -0
- data/test/fixtures/carrier_service.json +9 -0
- data/test/fixtures/carts.json +43 -0
- data/test/fixtures/checkout.json +160 -0
- data/test/fixtures/checkouts.json +162 -0
- data/test/fixtures/collect.json +12 -0
- data/test/fixtures/collection.json +17 -0
- data/test/fixtures/collection_listing.json +11 -0
- data/test/fixtures/collection_listing_product_ids.json +1 -0
- data/test/fixtures/collection_listing_product_ids2.json +1 -0
- data/test/fixtures/collection_listings.json +13 -0
- data/test/fixtures/collection_products.json +47 -0
- data/test/fixtures/collection_publication.json +11 -0
- data/test/fixtures/collection_publications.json +13 -0
- data/test/fixtures/currencies.json +25 -0
- data/test/fixtures/custom_collection.json +17 -0
- data/test/fixtures/customer_invite.json +9 -0
- data/test/fixtures/customer_saved_search.json +9 -0
- data/test/fixtures/customer_saved_search_customers.json +60 -0
- data/test/fixtures/customers.json +59 -0
- data/test/fixtures/customers_account_activation_url.json +3 -0
- data/test/fixtures/customers_search.json +60 -0
- data/test/fixtures/discount_code.json +10 -0
- data/test/fixtures/discount_code_batch.json +14 -0
- data/test/fixtures/discount_code_batch_discount_codes.json +21 -0
- data/test/fixtures/discount_codes.json +12 -0
- data/test/fixtures/draft_order.json +159 -0
- data/test/fixtures/draft_order_completed.json +159 -0
- data/test/fixtures/draft_order_invoice.json +9 -0
- data/test/fixtures/draft_orders.json +161 -0
- data/test/fixtures/engagement.json +15 -0
- data/test/fixtures/events.json +31 -0
- data/test/fixtures/fulfillment.json +49 -0
- data/test/fixtures/fulfillment_event.json +12 -0
- data/test/fixtures/fulfillment_order.json +39 -0
- data/test/fixtures/fulfillment_order_locations_for_move.json +18 -0
- data/test/fixtures/fulfillment_orders.json +80 -0
- data/test/fixtures/fulfillment_request.json +28 -0
- data/test/fixtures/fulfillment_service.json +10 -0
- data/test/fixtures/fulfillments.json +53 -0
- data/test/fixtures/gift_card.json +20 -0
- data/test/fixtures/gift_card_disabled.json +20 -0
- data/test/fixtures/graphql/2019-10.json +1083 -0
- data/test/fixtures/graphql/dummy_schema.rb +16 -0
- data/test/fixtures/graphql/unstable.json +1083 -0
- data/test/fixtures/image.json +10 -0
- data/test/fixtures/images.json +20 -0
- data/test/fixtures/inventory_level.json +7 -0
- data/test/fixtures/inventory_levels.json +24 -0
- data/test/fixtures/marketing_event.json +28 -0
- data/test/fixtures/marketing_events.json +54 -0
- data/test/fixtures/metafield.json +12 -0
- data/test/fixtures/metafields.json +34 -0
- data/test/fixtures/order.json +297 -0
- data/test/fixtures/order_risk.json +14 -0
- data/test/fixtures/order_risks.json +28 -0
- data/test/fixtures/order_with_properties.json +373 -0
- data/test/fixtures/orders.json +299 -0
- data/test/fixtures/payment.json +7 -0
- data/test/fixtures/payments.json +9 -0
- data/test/fixtures/ping/conversation.json +1 -0
- data/test/fixtures/ping/failed_delivery_confirmation.json +1 -0
- data/test/fixtures/ping/message.json +1 -0
- data/test/fixtures/ping/successful_delivery_confirmation.json +1 -0
- data/test/fixtures/policies.json +8 -0
- data/test/fixtures/price_rule.json +27 -0
- data/test/fixtures/price_rules.json +28 -0
- data/test/fixtures/product.json +116 -0
- data/test/fixtures/product_listing.json +86 -0
- data/test/fixtures/product_listing_product_ids.json +1 -0
- data/test/fixtures/product_listing_product_ids2.json +1 -0
- data/test/fixtures/product_listings.json +174 -0
- data/test/fixtures/product_publication.json +11 -0
- data/test/fixtures/product_publications.json +13 -0
- data/test/fixtures/publications.json +9 -0
- data/test/fixtures/recurring_application_charge.json +22 -0
- data/test/fixtures/recurring_application_charge_adjustment.json +5 -0
- data/test/fixtures/recurring_application_charges.json +106 -0
- data/test/fixtures/redirect.json +7 -0
- data/test/fixtures/refund.json +112 -0
- data/test/fixtures/report.json +9 -0
- data/test/fixtures/reports.json +11 -0
- data/test/fixtures/script_tag.json +10 -0
- data/test/fixtures/script_tags.json +18 -0
- data/test/fixtures/shipping_rates.json +12 -0
- data/test/fixtures/shipping_zones.json +315 -0
- data/test/fixtures/shop.json +26 -0
- data/test/fixtures/smart_collection.json +21 -0
- data/test/fixtures/smart_collection_products.json +155 -0
- data/test/fixtures/storefront_access_token.json +9 -0
- data/test/fixtures/storefront_access_tokens.json +18 -0
- data/test/fixtures/tags.json +1 -0
- data/test/fixtures/tax_service.json +9 -0
- data/test/fixtures/tender_transactions.json +52 -0
- data/test/fixtures/transaction.json +29 -0
- data/test/fixtures/usage_charge.json +11 -0
- data/test/fixtures/usage_charges.json +23 -0
- data/test/fixtures/user.json +21 -0
- data/test/fixtures/users.json +42 -0
- data/test/fixtures/variant.json +23 -0
- data/test/fixtures/variants.json +88 -0
- data/test/fixtures/webhook.json +10 -0
- data/test/fixtures/webhooks.json +18 -0
- data/test/fulfillment_event_test.rb +74 -0
- data/test/fulfillment_order_test.rb +530 -0
- data/test/fulfillment_order_test_helper.rb +8 -0
- data/test/fulfillment_request_test.rb +35 -0
- data/test/fulfillment_service_test.rb +18 -0
- data/test/fulfillment_test.rb +239 -0
- data/test/fulfillment_v2_test.rb +66 -0
- data/test/gift_card_test.rb +24 -0
- data/test/graphql/http_client_test.rb +26 -0
- data/test/graphql_test.rb +190 -0
- data/test/hmac_params_test.rb +25 -0
- data/test/image_test.rb +41 -0
- data/test/inventory_level_test.rb +68 -0
- data/test/lib/webmock_extensions/last_request.rb +16 -0
- data/test/limits_test.rb +39 -0
- data/test/location_test.rb +15 -0
- data/test/marketing_event_test.rb +68 -0
- data/test/message_enricher_test.rb +45 -0
- data/test/meta_test.rb +47 -0
- data/test/metafield_test.rb +56 -0
- data/test/order_risk_test.rb +47 -0
- data/test/order_test.rb +140 -0
- data/test/pagination_test.rb +290 -0
- data/test/payment_test.rb +19 -0
- data/test/policy_test.rb +20 -0
- data/test/price_rule_test.rb +70 -0
- data/test/product_listing_test.rb +97 -0
- data/test/product_publication_test.rb +40 -0
- data/test/product_test.rb +111 -0
- data/test/publication_test.rb +12 -0
- data/test/recurring_application_charge_test.rb +204 -0
- data/test/redirect_test.rb +10 -0
- data/test/refund_test.rb +37 -0
- data/test/report_test.rb +37 -0
- data/test/resource_feedback_test.rb +43 -0
- data/test/script_tag_test.rb +31 -0
- data/test/session_test.rb +640 -0
- data/test/shipping_rate_test.rb +17 -0
- data/test/shipping_zone_test.rb +11 -0
- data/test/shop_test.rb +82 -0
- data/test/smart_collection_test.rb +11 -0
- data/test/storefront_access_token_test.rb +30 -0
- data/test/tax_service_test.rb +12 -0
- data/test/tender_transaction_test.rb +18 -0
- data/test/test_helper.rb +126 -0
- data/test/transaction_test.rb +18 -0
- data/test/usage_charge_test.rb +25 -0
- data/test/user_test.rb +18 -0
- data/test/variant_test.rb +73 -0
- data/test/webhook_test.rb +24 -0
- metadata +555 -0
data/CHANGELOG-OLD.md
ADDED
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
## Unreleased
|
|
2
|
+
|
|
3
|
+
## Version 9.5.1
|
|
4
|
+
|
|
5
|
+
- [#891](https://github.com/Shopify/shopify_api/pull/891) Removed the upper bound on the `activeresource` dependency to allow apps to use the latest version
|
|
6
|
+
|
|
7
|
+
## Version 9.5
|
|
8
|
+
|
|
9
|
+
* [#883](https://github.com/Shopify/shopify_api/pull/883) Add support for Ruby 3.0
|
|
10
|
+
|
|
11
|
+
## Version 9.4.1
|
|
12
|
+
|
|
13
|
+
* [#847](https://github.com/Shopify/shopify_api/pull/847) Update `create_permission_url` method to use grant_options
|
|
14
|
+
* [#852](https://github.com/Shopify/shopify_api/pull/852) Bumping kramdown to fix a security vulnerability
|
|
15
|
+
|
|
16
|
+
## Version 9.4.0
|
|
17
|
+
|
|
18
|
+
* [#843](https://github.com/Shopify/shopify_api/pull/843) Introduce a new `access_scopes` attribute on the Session class.
|
|
19
|
+
* Specifying this in the Session constructor is optional. By default, this attribute returns `nil`.
|
|
20
|
+
|
|
21
|
+
## Version 9.3.0
|
|
22
|
+
|
|
23
|
+
* [#797](https://github.com/Shopify/shopify_api/pull/797) Release new Endpoint `fulfillment_order.open` and `fulfillment_order.reschedule`.
|
|
24
|
+
|
|
25
|
+
* [#818](https://github.com/Shopify/shopify_api/pull/818) Avoid depending on ActiveSupport in Sesssion class.
|
|
26
|
+
|
|
27
|
+
* Freeze all string literals. This should have no impact unless your application is modifying ('monkeypatching') the internals of the library in an unusual way.
|
|
28
|
+
|
|
29
|
+
* [#802](https://github.com/Shopify/shopify_api/pull/802) Made `inventory_quantity` a read-only field in Variant
|
|
30
|
+
|
|
31
|
+
* [#821](https://github.com/Shopify/shopify_api/pull/821) Add logging based on environment variable, move log subscriber out of `detailed_log_subscriber`.
|
|
32
|
+
The `ActiveResource::DetailedLogSubscriber` no longer automatically attaches when the class is loaded. If you were previously relying on that behaviour, you'll now need to call `ActiveResource::DetailedLogSubscriber.attach_to(:active_resource_detailed)`. (If using the new `SHOPIFY_LOG_PATH` environment setting then this is handled for you).
|
|
33
|
+
|
|
34
|
+
* Provide `ApiAccess` value object to encapsulate scope operations [#829](https://github.com/Shopify/shopify_api/pull/829)
|
|
35
|
+
|
|
36
|
+
## Version 9.2.0
|
|
37
|
+
|
|
38
|
+
* Removes the `shopify` binary which will be used by the Shopify CLI
|
|
39
|
+
|
|
40
|
+
## Version 9.1.1
|
|
41
|
+
|
|
42
|
+
* Make cursor based pagination return relative uri's when fetching next and previous pages. [#726](https://github.com/Shopify/shopify_api/pull/726)
|
|
43
|
+
|
|
44
|
+
## Version 9.1.0
|
|
45
|
+
|
|
46
|
+
* Implements equality operator on `Session` [#714](https://github.com/Shopify/shopify_api/pull/714)
|
|
47
|
+
|
|
48
|
+
## Version 9.0.4
|
|
49
|
+
|
|
50
|
+
* Contains [#708](https://github.com/Shopify/shopify_api/pull/708) which is a revert for [#655](https://github.com/shopify/shopify_api/pull/655) due to the deprecated inventory parameters not being removed correctly in some cases
|
|
51
|
+
|
|
52
|
+
## Version 9.0.3
|
|
53
|
+
|
|
54
|
+
* We now raise a `ShopifyAPI::ValidationException` exception when clients try to use `Product` and `Variant` with deprecated inventory-related fields in API version `2019-10` or later. [#655](https://github.com/shopify/shopify_api/pull/655) Deprecation and migration information can be found in the following documents:
|
|
55
|
+
* [Product Variant REST API Reference](https://shopify.dev/docs/admin-api/rest/reference/products/product-variant)
|
|
56
|
+
* [Migrate your app to support multiple locations](https://shopify.dev/tutorials/migrate-your-app-to-support-multiple-locations)
|
|
57
|
+
* [Manage product inventory with the Admin API](https://shopify.dev/tutorials/manage-product-inventory-with-admin-api)
|
|
58
|
+
* Added support for the Discount Code API batch endpoints [#701](https://github.com/shopify/shopify_api/pull/701)
|
|
59
|
+
* [Create](https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#batch_create-2020-01)
|
|
60
|
+
* [Show](https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#batch_show-2020-01)
|
|
61
|
+
* [List](https://shopify.dev/docs/admin-api/rest/reference/discounts/discountcode#batch_discount_codes_index-2020-01)
|
|
62
|
+
* Fix issue in the README to explicitly say clients need to require the `shopify_api` gem [#700](https://github.com/Shopify/shopify_api/pull/700)
|
|
63
|
+
|
|
64
|
+
## Version 9.0.2
|
|
65
|
+
|
|
66
|
+
* Added optional flag passed to `initialize_clients` to prevent from raising the `InvalidSchema` exception [#693](https://github.com/Shopify/shopify_api/pull/693)
|
|
67
|
+
|
|
68
|
+
## Version 9.0.1
|
|
69
|
+
|
|
70
|
+
* Added warning message if API version used is unsupported or soon to be unsupported [#685](https://github.com/Shopify/shopify_api/pull/685)
|
|
71
|
+
* Take into account "errors" messages from response body [#677](https://github.com/Shopify/shopify_api/pull/677)
|
|
72
|
+
|
|
73
|
+
## Version 9.0.0
|
|
74
|
+
|
|
75
|
+
* Breaking change: Improved GraphQL client [#672](https://github.com/Shopify/shopify_api/pull/672). See the [client docs](docs/graphql.md) for usage and a migration guide.
|
|
76
|
+
|
|
77
|
+
* Added options hash to create_permission_url and makes redirect_uri required [#670](https://github.com/Shopify/shopify_api/pull/670)
|
|
78
|
+
|
|
79
|
+
* Release new Endpoint `fulfillment_order.locations_for_move` in 2020-01 REST API version [#669](https://github.com/Shopify/shopify_api/pull/669)
|
|
80
|
+
|
|
81
|
+
* Release new Endpoints for `fulfillment` in 2020-01 REST API version [#639](https://github.com/Shopify/shopify_api/pull/639):
|
|
82
|
+
* `fulfillment.create` with `line_items_by_fulfillment_order`
|
|
83
|
+
* `fulfillment.update_tracking`
|
|
84
|
+
* `fulfillment.cancel`
|
|
85
|
+
|
|
86
|
+
* Release new Endpoints for `fulfillment_order` in 2020-01 REST API version [#637](https://github.com/Shopify/shopify_api/pull/637):
|
|
87
|
+
* `fulfillment_order.fulfillment_request`
|
|
88
|
+
* `fulfillment_order.fulfillment_request.accept`
|
|
89
|
+
* `fulfillment_order.fulfillment_request.reject`
|
|
90
|
+
* `fulfillment_order.cancellation_request`
|
|
91
|
+
* `fulfillment_order.cancellation_request.accept`
|
|
92
|
+
* `fulfillment_order.cancellation_request.reject`
|
|
93
|
+
|
|
94
|
+
* Release new Endpoints `fulfillment_order.move`, `fulfillment_order.cancel` and `fulfillment_order.close` in 2020-01 REST API version [#635](https://github.com/Shopify/shopify_api/pull/635)
|
|
95
|
+
|
|
96
|
+
* Release new Endpoint `order.fulfillment_orders`, and active resources `AssignedFulfillmentOrder` and `FulfillmentOrder` in 2020-01 REST API version [#633](https://github.com/Shopify/shopify_api/pull/633)
|
|
97
|
+
|
|
98
|
+
## Version 8.1.0
|
|
99
|
+
|
|
100
|
+
* Release 2020-01 REST ADMIN API VERSION [#656](https://github.com/Shopify/shopify_api/pull/656)
|
|
101
|
+
* Release new Endpoint `collection.products` and `collection.find()` in 2020-01 REST API version [#657](https://github.com/Shopify/shopify_api/pull/657)
|
|
102
|
+
* Enrich 4xx errors with error message from response body [#647](https://github.com/Shopify/shopify_api/pull/647)
|
|
103
|
+
* Make relative cursor based pagination work across page loads [#625](https://github.com/Shopify/shopify_api/pull/625)
|
|
104
|
+
* Small ruby compat fix [#623](https://github.com/Shopify/shopify_api/pull/623)
|
|
105
|
+
* Small consistency change [#621](https://github.com/Shopify/shopify_api/pull/621)
|
|
106
|
+
|
|
107
|
+
## Version 8.0.0
|
|
108
|
+
|
|
109
|
+
* Api Version changes [#600](https://github.com/Shopify/shopify_api/pull/600)
|
|
110
|
+
* Remove static Api Version definitions.
|
|
111
|
+
* Introduces Api Version lookup modes: `:define_on_unknown` and `:raise_on_unknown`
|
|
112
|
+
* See [migration notes](README.md#-breaking-change-notice-for-version-800-)
|
|
113
|
+
* `Session.valid?` checks that api_version `is_a?(ApiVersion)` instead of `present?`
|
|
114
|
+
* `ApiVersion::NullVersion` cannot be instantiated and now has a `match?` method [#615](https://github.com/Shopify/shopify_api/pull/615/files)
|
|
115
|
+
* Introduces new Collection endpoint for looking up products without knowing collection type. Only available if ApiVersion is `:unstable` [#609](https://github.com/Shopify/shopify_api/pull/609)
|
|
116
|
+
|
|
117
|
+
## Version 7.1.0
|
|
118
|
+
|
|
119
|
+
* Add 2019-10 to known API versions
|
|
120
|
+
* Add support for cursor pagination [#594](https://github.com/Shopify/shopify_api/pull/594) and
|
|
121
|
+
[#611](https://github.com/Shopify/shopify_api/pull/611)
|
|
122
|
+
* `ShopifyAPI::Base.api_version` now defaults to `ShopifyAPI::ApiVersion::NullVersion` instead of `nil`. Making requests without first setting an ApiVersion raises `ApiVersionNotSetError` instead of `NoMethodError: undefined method 'construct_api_path' for nil:NilClass'` [#605](https://github.com/Shopify/shopify_api/pull/605)
|
|
123
|
+
|
|
124
|
+
## Version 7.0.2
|
|
125
|
+
|
|
126
|
+
* Add 2019-07 to known API versions.
|
|
127
|
+
|
|
128
|
+
## Version 7.0.1
|
|
129
|
+
|
|
130
|
+
* Support passing version string to `ShopifyAPI::Base.api_version` [#563](https://github.com/Shopify/shopify_api/pull/563)
|
|
131
|
+
|
|
132
|
+
## Version 7.0.0
|
|
133
|
+
|
|
134
|
+
* Removed support for `ActiveResouce` < `4.1`.
|
|
135
|
+
* Removed `ShopifyAPI::Oauth`.
|
|
136
|
+
* Added api version support, See [migration
|
|
137
|
+
notes](README.md#-breaking-change-notice-for-version-700-)
|
|
138
|
+
* Changed `ShopifyAPI::Session` method signatures from positional to keyword
|
|
139
|
+
arguments, See [migration notes](README.md#-breaking-change-notice-for-version-700-)
|
|
140
|
+
* Add support for newer call limit header `X-Shopify-Shop-Api-Call-Limit`.
|
|
141
|
+
* Removed all Ping resources.
|
|
142
|
+
|
|
143
|
+
## Version 6.0.0
|
|
144
|
+
|
|
145
|
+
* Removed undocumented `protocol` and `port` options from `ShopifyAPI::Session`.
|
|
146
|
+
|
|
147
|
+
## Version 5.2.4
|
|
148
|
+
|
|
149
|
+
* Added `currency` parameter to `ShopifyAPI::Order#capture`. This parameter is required for apps that belong to the
|
|
150
|
+
multi-currency beta program.
|
|
151
|
+
|
|
152
|
+
## Version 5.2.3
|
|
153
|
+
|
|
154
|
+
* Update delivery confirmation resource to delivery confirmation details resource.
|
|
155
|
+
|
|
156
|
+
## Version 5.2.2
|
|
157
|
+
|
|
158
|
+
* Add delivery confirmation endpoint to Ping resources.
|
|
159
|
+
|
|
160
|
+
## Version 5.2.1
|
|
161
|
+
|
|
162
|
+
* Log warning when Shopify indicates deprecated API call was performed
|
|
163
|
+
|
|
164
|
+
## Version 5.2.0
|
|
165
|
+
|
|
166
|
+
* Added `ShopifyAPI::Currency` to fetch list of supported currencies on a shop
|
|
167
|
+
* Added `ShopifyAPI::TenderTransaction` to fetch list of transactions on a shop
|
|
168
|
+
* Fixed bug with X-Shopify-Checkout-Version on ShopifyAPI::Checkout header being applied to all requests
|
|
169
|
+
|
|
170
|
+
## Version 5.1.0
|
|
171
|
+
|
|
172
|
+
* Added `ShopifyAPI::Publications`
|
|
173
|
+
* Added `ShopifyAPI::ProductPublications`
|
|
174
|
+
* Added `ShopifyAPI::CollectionPublications`
|
|
175
|
+
* Added support for new collection products endpoint from `ShopifyAPI::Collection#products`
|
|
176
|
+
|
|
177
|
+
## Version 5.0.0
|
|
178
|
+
|
|
179
|
+
* Breaking change: `ShopifyAPI::Checkout` now maps to the Checkout API, rather than the Abandoned Checkouts API
|
|
180
|
+
* See the README for more details
|
|
181
|
+
* Added `ShopifyAPI::AbandonedCheckout`
|
|
182
|
+
* Added support for X-Shopify-Checkout-Version header on `ShopifyAPI::Checkout`
|
|
183
|
+
* Added `ShopifyAPI::ShippingRate`
|
|
184
|
+
* Added `ShopifyAPI::Payment`
|
|
185
|
+
* Added support for `Checkout::complete` endpoint
|
|
186
|
+
* Fixed session handling support for Rails 5.2.1
|
|
187
|
+
|
|
188
|
+
## Version 4.13.0
|
|
189
|
+
* Added `ShopifyAPI::ApiPermission` resource for uninstalling an application
|
|
190
|
+
* Added a deprecation warning to `ShopifyAPI::OAuth`
|
|
191
|
+
|
|
192
|
+
## Version 4.12.0
|
|
193
|
+
|
|
194
|
+
* Added support for the GraphQL API
|
|
195
|
+
|
|
196
|
+
## Version 4.11.0
|
|
197
|
+
|
|
198
|
+
* Added `ShopifyAPI::InventoryItem`
|
|
199
|
+
* Added `ShopifyAPI::InventoryLevel`
|
|
200
|
+
* Added `#inventory_levels` method to `ShopifyAPI::Location`
|
|
201
|
+
|
|
202
|
+
## Version 4.10.0
|
|
203
|
+
|
|
204
|
+
* Added `ShopifyAPI::AccessScope`
|
|
205
|
+
|
|
206
|
+
## Version 4.9.1
|
|
207
|
+
|
|
208
|
+
* Fix a bug with custom properties for orders
|
|
209
|
+
|
|
210
|
+
## Version 4.9.0
|
|
211
|
+
|
|
212
|
+
* Added `ShopifyAPI::PriceRule`
|
|
213
|
+
* Added `ShopifyAPI::DiscountCode`
|
|
214
|
+
|
|
215
|
+
## Version 4.8.0
|
|
216
|
+
|
|
217
|
+
* Added `add_engagements` to `ShopifyAPI::MarketingEvent`
|
|
218
|
+
|
|
219
|
+
## Version 4.7.1
|
|
220
|
+
|
|
221
|
+
* Added support for URL parameter (e.g. limit & page) to ShopifyAPI::Metafields
|
|
222
|
+
* Added support for URL parameter (e.g. limit & page) to metafield operator in ShopifyAPI::Shop
|
|
223
|
+
|
|
224
|
+
## Version 4.7.0
|
|
225
|
+
|
|
226
|
+
* Removed the mandatory `application_id` parameter from `ShopifyAPI::ProductListing` and `ShopifyAPI::CollectionListing`
|
|
227
|
+
* Fixed a bug related to the non-standard primary key for `ShopifyAPI::ProductListing` and `ShopifyAPI::CollectionListing`
|
|
228
|
+
|
|
229
|
+
## Version 4.6.0
|
|
230
|
+
|
|
231
|
+
* Added `ShopifyAPI::Report`
|
|
232
|
+
|
|
233
|
+
## Version 4.5.0
|
|
234
|
+
|
|
235
|
+
* Added `ShopifyAPI::MarketingEvent`
|
|
236
|
+
|
|
237
|
+
## Version 4.4.0
|
|
238
|
+
|
|
239
|
+
* Added `ShopifyAPI::CustomerInvite`
|
|
240
|
+
* Support for Customer#send_invite endpoint
|
|
241
|
+
|
|
242
|
+
## Version 4.3.8
|
|
243
|
+
|
|
244
|
+
* Added `ShopifyAPI::ResourceFeedback`
|
|
245
|
+
|
|
246
|
+
## Version 4.3.7
|
|
247
|
+
|
|
248
|
+
* Added support for `complete` in `ShopifyAPI::DraftOrder`
|
|
249
|
+
|
|
250
|
+
## Version 4.3.6
|
|
251
|
+
|
|
252
|
+
* Fixed the `customer_saved_search_id` param in `ShopifyAPI::CustomerSavedSearch#customers`.
|
|
253
|
+
|
|
254
|
+
## Version 4.3.5
|
|
255
|
+
|
|
256
|
+
* Added support for online mode access tokens, token expiry, and associated_user information.
|
|
257
|
+
* Added `ShopifyAPI::DraftOrder`
|
|
258
|
+
* Added `ShopifyAPI::DraftOrderInvoice`
|
|
259
|
+
|
|
260
|
+
## Version 4.3.4
|
|
261
|
+
|
|
262
|
+
* Added `ShopifyAPI::ProductListing`
|
|
263
|
+
* Added `ShopifyAPI::CollectionListing`
|
|
264
|
+
|
|
265
|
+
## Version 4.3.3
|
|
266
|
+
|
|
267
|
+
* Added `ShopifyAPI::StorefrontAccessToken`
|
|
268
|
+
|
|
269
|
+
## Version 4.3.2
|
|
270
|
+
|
|
271
|
+
* Relax Ruby version requirement to >= `2.0`
|
|
272
|
+
|
|
273
|
+
## Version 4.3.1
|
|
274
|
+
|
|
275
|
+
* Support for ShopifyAPI::ApplicationCredit
|
|
276
|
+
|
|
277
|
+
## Version 4.3.0
|
|
278
|
+
|
|
279
|
+
* Require Ruby >= `2.3.0`
|
|
280
|
+
* Use inheritance instead of the deprecated Rails `Module#alias_method_chain`
|
|
281
|
+
|
|
282
|
+
## Version 4.2.2
|
|
283
|
+
|
|
284
|
+
* Support for AccessToken#delegate endpoint
|
|
285
|
+
|
|
286
|
+
## Version 4.2.1
|
|
287
|
+
|
|
288
|
+
* Support for Users and Discounts (Shopify Plus only)
|
|
289
|
+
* Adds Customer#account_activation_url method
|
|
290
|
+
* Adds ability to open a fulfillment.
|
|
291
|
+
|
|
292
|
+
## Version 4.2.0
|
|
293
|
+
|
|
294
|
+
* Threadsafety is now compatible with the latest ActiveResource master
|
|
295
|
+
|
|
296
|
+
## Version 4.1.1
|
|
297
|
+
|
|
298
|
+
* Added explicit 90 second timeout to `ShopifyAPI::Base`
|
|
299
|
+
|
|
300
|
+
## Version 4.0.7
|
|
301
|
+
|
|
302
|
+
* Added `ShippingAPI::ShippingZone`
|
|
303
|
+
|
|
304
|
+
## Version 4.0.6
|
|
305
|
+
|
|
306
|
+
* Replaced `cancelled` with `expired` in `ShopifyAPI::ApplicationCharge`
|
|
307
|
+
|
|
308
|
+
## Version 4.0.5
|
|
309
|
+
|
|
310
|
+
* Added `pending`, `cancelled`, `accepted`, `declined` helper methods to `ShopifyAPI::ApplicationCharge`
|
|
311
|
+
|
|
312
|
+
## Version 4.0.4
|
|
313
|
+
|
|
314
|
+
* Fixed truthiness for order cancellations. Requests are now sent in the request body and as JSON
|
|
315
|
+
|
|
316
|
+
## Version 4.0.3
|
|
317
|
+
|
|
318
|
+
* Fixed hmac signature validation for params with delimiters (`&`, `=` or `%`)
|
|
319
|
+
|
|
320
|
+
## Version 4.0.2
|
|
321
|
+
|
|
322
|
+
* Verify that the shop domain is a subdomain of .myshopify.com which creating the session
|
|
323
|
+
|
|
324
|
+
## Version 4.0.1
|
|
325
|
+
|
|
326
|
+
* Added `ShopifyAPI::OAuth.revoke` for easy token revocation.
|
|
327
|
+
|
|
328
|
+
## Version 3.2.6
|
|
329
|
+
|
|
330
|
+
* Fixed CustomerSavedSearch#customers method to now correctly return only relevant customers
|
|
331
|
+
|
|
332
|
+
## Version 3.2.5
|
|
333
|
+
|
|
334
|
+
* More useful error messages for activating nil sessions
|
|
335
|
+
* Add tests for commonly deleted objects, and metafield tests, fix naming error in order_risk_test.rb
|
|
336
|
+
|
|
337
|
+
## Version 3.2.4
|
|
338
|
+
|
|
339
|
+
* No API changes
|
|
340
|
+
|
|
341
|
+
## Version 3.2.3
|
|
342
|
+
|
|
343
|
+
* Added pry to the CLI
|
|
344
|
+
|
|
345
|
+
## Version 3.2.2
|
|
346
|
+
|
|
347
|
+
* Temporary fix for the CLI
|
|
348
|
+
* Add a specific exception for signature validation failures
|
|
349
|
+
|
|
350
|
+
## Version 3.2.1
|
|
351
|
+
|
|
352
|
+
* Added CarrierService resource
|
|
353
|
+
* Added optionally using threadsafe ActiveResource (see readme)
|
|
354
|
+
* Fixed bug in validate_signature
|
|
355
|
+
|
|
356
|
+
## Version 3.2.0
|
|
357
|
+
|
|
358
|
+
* in Session::request_token params is no longer optional, you must pass all the params and the method will now extract the code
|
|
359
|
+
* Fixed JSON errors handling (#103)
|
|
360
|
+
* Fixed compatibility with Ruby 2.1.x (#83)
|
|
361
|
+
* Fixed getting parent ID from nested resources like Variants (#44)
|
|
362
|
+
* Cleaned up compatibility with ActiveResource 4.0.x
|
|
363
|
+
* Added OrderRisk resource
|
|
364
|
+
* Added FulfillmentService resource
|
|
365
|
+
* Removed discontinued ProductSearchEngine resource
|
|
366
|
+
* Added convenience method Customer#search (#45)
|
|
367
|
+
|
|
368
|
+
## Version 3.1.8
|
|
369
|
+
|
|
370
|
+
* Expose `index` and `show` actions of `Location`
|
|
371
|
+
* Added create_permission_url and request_token helper methods
|
|
372
|
+
* Edited the readme to better describe the getting started procedure
|
|
373
|
+
|
|
374
|
+
## Version 3.1.7
|
|
375
|
+
|
|
376
|
+
* Expose `authors` and `tags` action on Article
|
|
377
|
+
|
|
378
|
+
## Version 3.1.6
|
|
379
|
+
|
|
380
|
+
* Add LineItem::Property resource
|
|
381
|
+
|
|
382
|
+
## Version 3.1.5
|
|
383
|
+
|
|
384
|
+
* Expose `orders` action on Customer
|
|
385
|
+
|
|
386
|
+
## Version 3.1.3
|
|
387
|
+
|
|
388
|
+
* Expose `complete` action on Fulfillment
|
|
389
|
+
|
|
390
|
+
## Version 3.1.2
|
|
391
|
+
|
|
392
|
+
* Includes port in domain URI (when other than http/80 or https/443)
|
|
393
|
+
* Adds access to CustomerSavedSearch
|
|
394
|
+
* Adds resources: Order::DefaultAddress, Client::ClientDetails, Announcement
|
|
395
|
+
* Allows access to Articles without a blog_id
|
|
396
|
+
* Moves encode and as_json overrides to ShopifyAPI::Base scope
|
|
397
|
+
* Exposes the `order` action in SmartCollection for general use
|
|
398
|
+
|
|
399
|
+
## Version 3.0.3
|
|
400
|
+
|
|
401
|
+
* Add a `customers` helper method to the CustomerGroup resource
|
|
402
|
+
|
|
403
|
+
## Version 3.0.2
|
|
404
|
+
|
|
405
|
+
* Brevity in require statements
|
|
406
|
+
|
|
407
|
+
## Version 3.0.1
|
|
408
|
+
|
|
409
|
+
* Fix saving nested resources in ActiveResource 3.1+
|
|
410
|
+
|
|
411
|
+
## Version 3.0.0
|
|
412
|
+
|
|
413
|
+
* Added support for OAuth Authentication
|
|
414
|
+
* Removal of support for Legacy Authentication
|
|
415
|
+
* Added Cart resource
|
|
416
|
+
|
|
417
|
+
## Version 2.3.0
|
|
418
|
+
|
|
419
|
+
* Fix double root bug with ActiveSupport 3.2.0
|
|
420
|
+
* Add metafields methods on Customer resource
|
|
421
|
+
* Fix prefix_options on assets returned from Asset.find
|
|
422
|
+
|
|
423
|
+
## Version 2.2.0
|
|
424
|
+
|
|
425
|
+
* Fix issues with resources that have both direct and namespaced routes
|
|
426
|
+
* Added detailed logger to help with debugging ActiveResource
|
|
427
|
+
requests/responses
|
|
428
|
+
* Add fulfillment#cancel
|
|
429
|
+
|
|
430
|
+
## Version 2.1.0
|
|
431
|
+
|
|
432
|
+
* Fix JSON errors handling
|
|
433
|
+
* Remove global limit from ShopifyAPI::Limits
|
|
434
|
+
|
|
435
|
+
## Version 2.0.0
|
|
436
|
+
|
|
437
|
+
* Bump to 2.0.0 as this release breaks Rails 2 compatibility; we're now officially only supporting Rails 3. Rails 2 devs can follow the rails2 tag in this repo to know where we broke off
|
|
438
|
+
* Refactored resources into their own source files
|
|
439
|
+
* Added API limits functionality
|
|
440
|
+
* Patched ActiveResource issue with roots in JSON
|
|
441
|
+
* Added pending, cancelled, accepted, and declined convenience methods to ShopifyAPI::RecurringApplicationCharge
|
|
442
|
+
* ShopifyAPI::Session#temp now available as a convenience method to support temporarily switching to other shops when making calls
|
|
443
|
+
* Fixes to `shopify console` CLI tool
|
|
444
|
+
|
|
445
|
+
## Version 1.2.5
|
|
446
|
+
|
|
447
|
+
* Fix for Article#comments
|
|
448
|
+
|
|
449
|
+
## Version 1.2.4
|
|
450
|
+
|
|
451
|
+
* Added Article#comments
|
|
452
|
+
* Added Order#cancel
|
|
453
|
+
* Added Comment#restore, #not_spam
|
|
454
|
+
|
|
455
|
+
## Version 1.2.3
|
|
456
|
+
|
|
457
|
+
* Added Customer, CustomerGroup support
|
|
458
|
+
|
|
459
|
+
## Version 1.2.2
|
|
460
|
+
|
|
461
|
+
* Added ScriptTag support
|
|
462
|
+
|
|
463
|
+
## Version 1.2.1
|
|
464
|
+
|
|
465
|
+
* Allow abbreviated names for all commands like rails does, e.g. 'shopify c' instead of 'shopify console'
|
|
466
|
+
* Fix Variant to support accessing both nested variants with a product prefix as well as top level variants directly
|
|
467
|
+
* Add 'grande' to supported product image size variants
|
|
468
|
+
|
|
469
|
+
## Version 1.2.0
|
|
470
|
+
|
|
471
|
+
* Command-line interface
|
|
472
|
+
* Allow custom params when fetching a single Asset
|
|
473
|
+
|
|
474
|
+
## Version 1.1.3 (November 4, 2010)
|
|
475
|
+
|
|
476
|
+
* Add ProductSearchEngines resource
|
|
477
|
+
|
|
478
|
+
## Version 1.1.2 (October 20, 2010)
|
|
479
|
+
|
|
480
|
+
* Fix for users of ActiveResource 3.x
|
|
481
|
+
|
|
482
|
+
## Version 1.1.1 (October 5, 2010)
|
|
483
|
+
|
|
484
|
+
* Remove hard coded xml formatting in API calls
|
|
485
|
+
* Remove jeweler stuff
|
|
486
|
+
* Ruby 1.9 encoding fix
|
|
487
|
+
|
|
488
|
+
## Version 1.1.0 (September 24, 2010)
|
|
489
|
+
|
|
490
|
+
* Add new Events API for Shop, Order, Product, CustomCollection, SmartCollection, Page, Blog and Article
|
|
491
|
+
* Add new 'compact' product image size variant
|
|
492
|
+
* Rails 3 fix: attribute_accessors has to be explicitly included since activesupport 3.0.0
|
|
493
|
+
|
|
494
|
+
## Version 1.0.6
|
|
495
|
+
|
|
496
|
+
* Add metafields
|
|
497
|
+
* Add latest changes from Shopify including asset support, token validation and a common base class
|
|
498
|
+
|
|
499
|
+
## Version 1.0.0
|
|
500
|
+
|
|
501
|
+
* extracting ShopifyAPI from Shopify into Gem
|
data/CHANGELOG.md
ADDED
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Submitting Issues
|
|
2
|
+
-----------------
|
|
3
|
+
|
|
4
|
+
Please open an issue here if you encounter a specific bug with this API client library or if something is documented here https://docs.shopify.com/api but is missing from this package.
|
|
5
|
+
|
|
6
|
+
General questions about the Shopify API and usage of this package (not necessarily a bug) should be posted on the [Shopify forums](https://ecommerce.shopify.com/c/shopify-apis-and-technology).
|
|
7
|
+
|
|
8
|
+
When in doubt, post on the forum first. You'll likely have your questions answered more quickly if you post there; more people monitor the forum than Github.
|
data/CONTRIBUTORS
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
ruby_shopify_api (1.0.0)
|
|
5
|
+
activeresource (>= 4.1.0)
|
|
6
|
+
graphql-client
|
|
7
|
+
rack
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
activemodel (6.0.3.1)
|
|
13
|
+
activesupport (= 6.0.3.1)
|
|
14
|
+
activemodel-serializers-xml (1.0.2)
|
|
15
|
+
activemodel (> 5.x)
|
|
16
|
+
activesupport (> 5.x)
|
|
17
|
+
builder (~> 3.1)
|
|
18
|
+
activeresource (5.1.1)
|
|
19
|
+
activemodel (>= 5.0, < 7)
|
|
20
|
+
activemodel-serializers-xml (~> 1.0)
|
|
21
|
+
activesupport (>= 5.0, < 7)
|
|
22
|
+
activesupport (6.0.3.1)
|
|
23
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
24
|
+
i18n (>= 0.7, < 2)
|
|
25
|
+
minitest (~> 5.1)
|
|
26
|
+
tzinfo (~> 1.1)
|
|
27
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
|
28
|
+
addressable (2.8.0)
|
|
29
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
30
|
+
ast (2.4.1)
|
|
31
|
+
builder (3.2.4)
|
|
32
|
+
byebug (11.1.3)
|
|
33
|
+
coderay (1.1.2)
|
|
34
|
+
colorator (1.1.0)
|
|
35
|
+
concurrent-ruby (1.1.6)
|
|
36
|
+
crack (0.4.3)
|
|
37
|
+
safe_yaml (~> 1.0.0)
|
|
38
|
+
em-websocket (0.5.1)
|
|
39
|
+
eventmachine (>= 0.12.9)
|
|
40
|
+
http_parser.rb (~> 0.6.0)
|
|
41
|
+
eventmachine (1.2.7)
|
|
42
|
+
ffi (1.12.2)
|
|
43
|
+
forwardable-extended (2.6.0)
|
|
44
|
+
graphql (2.0.18)
|
|
45
|
+
graphql-client (0.18.0)
|
|
46
|
+
activesupport (>= 3.0)
|
|
47
|
+
graphql
|
|
48
|
+
hashdiff (1.0.1)
|
|
49
|
+
http_parser.rb (0.6.0)
|
|
50
|
+
i18n (1.8.2)
|
|
51
|
+
concurrent-ruby (~> 1.0)
|
|
52
|
+
jekyll (4.1.0)
|
|
53
|
+
addressable (~> 2.4)
|
|
54
|
+
colorator (~> 1.0)
|
|
55
|
+
em-websocket (~> 0.5)
|
|
56
|
+
i18n (~> 1.0)
|
|
57
|
+
jekyll-sass-converter (~> 2.0)
|
|
58
|
+
jekyll-watch (~> 2.0)
|
|
59
|
+
kramdown (~> 2.1)
|
|
60
|
+
kramdown-parser-gfm (~> 1.0)
|
|
61
|
+
liquid (~> 4.0)
|
|
62
|
+
mercenary (~> 0.4.0)
|
|
63
|
+
pathutil (~> 0.9)
|
|
64
|
+
rouge (~> 3.0)
|
|
65
|
+
safe_yaml (~> 1.0)
|
|
66
|
+
terminal-table (~> 1.8)
|
|
67
|
+
jekyll-sass-converter (2.1.0)
|
|
68
|
+
sassc (> 2.0.1, < 3.0)
|
|
69
|
+
jekyll-watch (2.2.1)
|
|
70
|
+
listen (~> 3.0)
|
|
71
|
+
kramdown (2.3.1)
|
|
72
|
+
rexml
|
|
73
|
+
kramdown-parser-gfm (1.1.0)
|
|
74
|
+
kramdown (~> 2.0)
|
|
75
|
+
liquid (4.0.3)
|
|
76
|
+
listen (3.2.1)
|
|
77
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
78
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
|
79
|
+
mercenary (0.4.0)
|
|
80
|
+
method_source (1.0.0)
|
|
81
|
+
minitest (5.14.4)
|
|
82
|
+
mocha (1.11.2)
|
|
83
|
+
parallel (1.19.2)
|
|
84
|
+
parser (2.7.2.0)
|
|
85
|
+
ast (~> 2.4.1)
|
|
86
|
+
pathutil (0.16.2)
|
|
87
|
+
forwardable-extended (~> 2.6)
|
|
88
|
+
pry (0.13.1)
|
|
89
|
+
coderay (~> 1.1)
|
|
90
|
+
method_source (~> 1.0)
|
|
91
|
+
pry-byebug (3.9.0)
|
|
92
|
+
byebug (~> 11.0)
|
|
93
|
+
pry (~> 0.13.0)
|
|
94
|
+
public_suffix (4.0.6)
|
|
95
|
+
rack (3.0.6.1)
|
|
96
|
+
rainbow (3.0.0)
|
|
97
|
+
rake (13.0.1)
|
|
98
|
+
rb-fsevent (0.10.4)
|
|
99
|
+
rb-inotify (0.10.1)
|
|
100
|
+
ffi (~> 1.0)
|
|
101
|
+
regexp_parser (1.8.2)
|
|
102
|
+
rexml (3.2.5)
|
|
103
|
+
rouge (3.19.0)
|
|
104
|
+
rubocop (0.93.1)
|
|
105
|
+
parallel (~> 1.10)
|
|
106
|
+
parser (>= 2.7.1.5)
|
|
107
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
108
|
+
regexp_parser (>= 1.8)
|
|
109
|
+
rexml
|
|
110
|
+
rubocop-ast (>= 0.6.0)
|
|
111
|
+
ruby-progressbar (~> 1.7)
|
|
112
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
|
113
|
+
rubocop-ast (0.8.0)
|
|
114
|
+
parser (>= 2.7.1.5)
|
|
115
|
+
rubocop-shopify (1.0.6)
|
|
116
|
+
rubocop (>= 0.92, < 0.94)
|
|
117
|
+
ruby-progressbar (1.10.1)
|
|
118
|
+
safe_yaml (1.0.5)
|
|
119
|
+
sassc (2.3.0)
|
|
120
|
+
ffi (~> 1.9)
|
|
121
|
+
terminal-table (1.8.0)
|
|
122
|
+
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
123
|
+
thread_safe (0.3.6)
|
|
124
|
+
timecop (0.9.1)
|
|
125
|
+
tzinfo (1.2.7)
|
|
126
|
+
thread_safe (~> 0.1)
|
|
127
|
+
unicode-display_width (1.7.0)
|
|
128
|
+
webmock (3.8.3)
|
|
129
|
+
addressable (>= 2.3.6)
|
|
130
|
+
crack (>= 0.3.2)
|
|
131
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
132
|
+
zeitwerk (2.3.0)
|
|
133
|
+
|
|
134
|
+
PLATFORMS
|
|
135
|
+
ruby
|
|
136
|
+
|
|
137
|
+
DEPENDENCIES
|
|
138
|
+
activeresource (~> 5.1)
|
|
139
|
+
jekyll
|
|
140
|
+
minitest (>= 5.14)
|
|
141
|
+
mocha (>= 1.4.0)
|
|
142
|
+
pry
|
|
143
|
+
pry-byebug
|
|
144
|
+
rake
|
|
145
|
+
rubocop-shopify
|
|
146
|
+
ruby_shopify_api!
|
|
147
|
+
timecop
|
|
148
|
+
webmock
|
|
149
|
+
|
|
150
|
+
BUNDLED WITH
|
|
151
|
+
2.2.22
|
data/Gemfile_ar41
ADDED
data/Gemfile_ar50
ADDED