shopify-client 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 996fd4c7f7e89ddeff22da53168828c5d8bd1a87ad3d965a512c10aee7c99850
4
- data.tar.gz: 0c2829baff3a2518d6a4ab44544a975a7f72dcb8614d75b703e0da46f3238b25
3
+ metadata.gz: 300adbcc594f4ad258ccf2bf74e81c0c6763c41f722a2f35b2bb7641c394d27b
4
+ data.tar.gz: 776d8e1439d218c2c09e2dbf1b01a174569b203fd4df6f48c8ba22d042785d04
5
5
  SHA512:
6
- metadata.gz: 93aa4de201357efbf4a51f5924bf1f547d85ee822f5fe35f34b2a1e7cc23645849026bb309de43f48644a94ff6772f63b967e98dad5ca1670d305c1877f411c2
7
- data.tar.gz: 2930f0d23bb145629ab392015142b213d4470d81c69675890ad9594983f8acf6fcac91ce1fabb68acb7207d779f9282faa6d261b9ee3249d021dad58dda101e9
6
+ metadata.gz: b2b388ed76c1b812f3530e929b9eb33ef070001cdd056a7eb5dbc28b12d5678d02ef2c332f4bfece665eb1f838e383cf6c98189e3a30f6df0875b39c80012f63
7
+ data.tar.gz: 55e85ebabd3e2a0186d532a216f9ab6653a88cf605cb46010e614dff729ed0ed65f0e57ec5f82d225c3d1e58bcada46ebfd5f16162264f3b9131b4b11a45c92d
data/README.md CHANGED
@@ -24,6 +24,8 @@ shopify-client
24
24
  * [Create a resource](#create-a-resource)
25
25
  * [Update a resource](#update-a-resource)
26
26
  * [Delete a resource](#delete-a-resource)
27
+ 9. [Testing](#testing)
28
+ * [Integration tests](#integration-tests)
27
29
 
28
30
 
29
31
  Installation
@@ -340,3 +342,19 @@ Iterate over results (automatic pagination):
340
342
  order_repo = OrderRepository.new
341
343
 
342
344
  order_repo.delete(client, id)
345
+
346
+
347
+ Testing
348
+ -------
349
+
350
+ ### Integration tests
351
+
352
+ The integration tests require a private app with the scope `write_products`.
353
+ Create a .env file specifying the test shop and private app password:
354
+
355
+ TEST_SHOP='test-shop.myshopify.com'
356
+ TEST_PASSWORD='shppa_...'
357
+
358
+ Run the suite:
359
+
360
+ $ bundle exec rake test:integration
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShopifyClient
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelsey Judson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-03 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv
@@ -180,7 +180,7 @@ files:
180
180
  - lib/shopify-client/version.rb
181
181
  - lib/shopify-client/webhook.rb
182
182
  - lib/shopify-client/webhook_list.rb
183
- homepage: https://gitea.judson.nz/shopify-apps/shopify-client
183
+ homepage: https://github.com/kj/shopify-client
184
184
  licenses:
185
185
  - ISC
186
186
  metadata: {}