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 +4 -4
- data/README.md +18 -0
- data/lib/shopify-client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 300adbcc594f4ad258ccf2bf74e81c0c6763c41f722a2f35b2bb7641c394d27b
|
4
|
+
data.tar.gz: 776d8e1439d218c2c09e2dbf1b01a174569b203fd4df6f48c8ba22d042785d04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
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://
|
183
|
+
homepage: https://github.com/kj/shopify-client
|
184
184
|
licenses:
|
185
185
|
- ISC
|
186
186
|
metadata: {}
|