shopify_toolkit 0.4.0 → 0.5.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 +4 -4
- data/README.md +8 -3
- data/lib/shopify_toolkit/command_line.rb +2 -2
- data/lib/shopify_toolkit/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbc1361f6cf3ce45a4b6d004f55cc98b4c9f748c2863e281874cc48f085e7b9d
|
4
|
+
data.tar.gz: 2e9a2fc920f7f7178f5f4ea3ccc945e6ac0c4fb1d50a426d77708888837a4941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44168636617828f3420d2fd0da7322c962f0b1a7a34e57cf9fe8642acc67d1dfe22dd5fabc934f0ba671e83eecf1623f47dd99f37c98821ef8689b81df91bc7f
|
7
|
+
data.tar.gz: 3fa125127d19a08be48ef8a2165628816653527f272fb0cd352962ff1f5bdb55d5c2a2d8ea08bf3eabd174278e4d9d5777fcee2988d0ee6956b52ff464686c8e
|
data/README.md
CHANGED
@@ -12,8 +12,13 @@ A toolkit for working with Custom Shopify Apps built on Rails.
|
|
12
12
|
|
13
13
|
- [x] Shopify/Matrixify CSV tools
|
14
14
|
- [x] Metafield/Metaobject migrations (just like ActiveRecord migrations, but for Shopify!)
|
15
|
-
|
16
|
-
|
15
|
+
- [x] Metafield Definitions management API
|
16
|
+
- [x] Metaobject Definitions management API
|
17
|
+
- [x] Create
|
18
|
+
- [x] Update
|
19
|
+
- [x] Find
|
20
|
+
- [ ] Delete
|
21
|
+
- [ ] Metaobject Instances management API
|
17
22
|
- [ ] GraphQL Admin API code generation (syntax checking, etc)
|
18
23
|
- [ ] GraphQL Admin API client with built-in rate limiting
|
19
24
|
- [ ] GraphQL Admin API client with built-in caching
|
@@ -35,7 +40,7 @@ bundle add shopify_toolkit
|
|
35
40
|
Within a Rails application created with ShopifyApp, generate a new migration file:
|
36
41
|
|
37
42
|
```bash
|
38
|
-
touch config/shopify/migrate
|
43
|
+
touch config/shopify/migrate/$(date +%Y%m%d%H%M%S)_add_product_press_releases.rb
|
39
44
|
```
|
40
45
|
|
41
46
|
Then, add the following code to the migration file:
|
@@ -59,8 +59,8 @@ class ShopifyToolkit::CommandLine < Thor
|
|
59
59
|
::Shop.sole.with_shopify_session { ShopifyToolkit::Migrator.new.up }
|
60
60
|
end
|
61
61
|
|
62
|
-
desc "
|
63
|
-
def
|
62
|
+
desc "rollback", "Rollback last migration"
|
63
|
+
def rollback
|
64
64
|
require "./config/environment"
|
65
65
|
::Shop.sole.with_shopify_session { ShopifyToolkit::Migrator.new.down }
|
66
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopify_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elia Schito
|
8
8
|
- Nebulab Team
|
9
|
+
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date: 2025-
|
12
|
+
date: 2025-06-03 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: railties
|
@@ -94,6 +95,7 @@ dependencies:
|
|
94
95
|
- - ">="
|
95
96
|
- !ruby/object:Gem::Version
|
96
97
|
version: '14.8'
|
98
|
+
description:
|
97
99
|
email:
|
98
100
|
- elia@schito.me
|
99
101
|
executables:
|
@@ -127,6 +129,7 @@ metadata:
|
|
127
129
|
homepage_uri: https://github.com/nebulab/shopify_toolkit?tab=readme-ov-file#readme
|
128
130
|
source_code_uri: https://github.com/nebulab/shopify_toolkit
|
129
131
|
changelog_uri: https://github.com/nebulab/shopify_toolkit/releases
|
132
|
+
post_install_message:
|
130
133
|
rdoc_options: []
|
131
134
|
require_paths:
|
132
135
|
- lib
|
@@ -141,7 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
144
|
- !ruby/object:Gem::Version
|
142
145
|
version: '0'
|
143
146
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
147
|
+
rubygems_version: 3.5.3
|
148
|
+
signing_key:
|
145
149
|
specification_version: 4
|
146
150
|
summary: A collection of tools for dealing with Shopify apps.
|
147
151
|
test_files: []
|