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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1d6624a536a67ce6e7861ae95c0eed57e2713974b4901b9eca1720ecbd063ad
4
- data.tar.gz: ee1bffe4a027352bdf58a39d9aa4412c5c0151da4784b56006c62b3b8b33dd30
3
+ metadata.gz: fbc1361f6cf3ce45a4b6d004f55cc98b4c9f748c2863e281874cc48f085e7b9d
4
+ data.tar.gz: 2e9a2fc920f7f7178f5f4ea3ccc945e6ac0c4fb1d50a426d77708888837a4941
5
5
  SHA512:
6
- metadata.gz: a3b3b9d85c5cd37f51531f433bd039f6830bdab42c2bc4a4b52a8b6b4cc7f6ec22cd2a52bc2faec59c5777077b6f615651987afffc8c468aa6b34563cd46c9be
7
- data.tar.gz: 58b3102b6915f4344e532d2d329b3cabce6028412ccf5676eafc174a0479222320f1bd63af972a8613442c9f9c4c72a0db05e3b407040b4a624e369926da1e1c
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
- - [x] Metafield Definitions management API
16
- - [x] Metaobject Definitions management API
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/20250528130134_add_product_press_releases.rb
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 "down", "Run migrations down"
63
- def down
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShopifyToolkit
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  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.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-05-27 00:00:00.000000000 Z
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.6.2
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: []