shopify_toolkit 0.3.0 → 0.3.1
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/.rspec +3 -0
- data/Rakefile +3 -3
- data/exe/shopify-toolkit +1 -0
- data/lib/shopify_toolkit/schema.rb +14 -1
- data/lib/shopify_toolkit/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 196eef035351804fd3640e1ff995bc853b6e5c026ae9c301762620225e2967ed
|
4
|
+
data.tar.gz: 2cbeb8412d7659732136eb0f4d152f9b1df766561b8a203ac594aac7dcadf656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5d3071a0cddfcccd0b9b534a2c0c0c3f3cc86b3b6e1fedb8bc8fa70dafa74444f65b723c9ca08a9c091a5c4e1d07677bf4f0a95eaae48bc971e482e4085489d
|
7
|
+
data.tar.gz: 2001bf1e1ecae528a91131a5ea07502cb2fe9bb6f71534c504100560912ad0cabcff5b9eebc1ecfa01241aae6ff42ec433ac2769ba6e6ad9606af15161300dd2
|
data/.rspec
ADDED
data/Rakefile
CHANGED
data/exe/shopify-toolkit
CHANGED
@@ -75,7 +75,19 @@ module ShopifyToolkit::Schema
|
|
75
75
|
|
76
76
|
def generate_schema_content
|
77
77
|
definitions = fetch_definitions
|
78
|
-
|
78
|
+
|
79
|
+
content = [
|
80
|
+
<<~RUBY
|
81
|
+
# This file is auto-generated from the current state of the Shopify metafields.
|
82
|
+
# Instead of editing this file, please use the metafields migration feature of ShopifyToolkit
|
83
|
+
# to incrementally modify your metafields, and then regenerate this schema definition.
|
84
|
+
#
|
85
|
+
# This file is the source used to define your metafields when running `bin/rails shopify:schema:load`.
|
86
|
+
#
|
87
|
+
# It's strongly recommended that you check this file into your version control system.
|
88
|
+
ShopifyToolkit::Schema.define do
|
89
|
+
RUBY
|
90
|
+
]
|
79
91
|
|
80
92
|
definitions.each do |defn|
|
81
93
|
owner_type = defn["ownerType"].downcase.pluralize.to_sym
|
@@ -111,6 +123,7 @@ module ShopifyToolkit::Schema
|
|
111
123
|
end
|
112
124
|
|
113
125
|
content << "end"
|
126
|
+
content << "\n"
|
114
127
|
content.join("\n")
|
115
128
|
end
|
116
129
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopify_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elia Schito
|
8
8
|
- Nebulab Team
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -101,6 +101,7 @@ executables:
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
+
- ".rspec"
|
104
105
|
- CHANGELOG.md
|
105
106
|
- LICENSE.txt
|
106
107
|
- README.md
|