contentstack_utils 1.2.3 → 1.3.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/.cursor/rules/README.md +5 -0
- data/.github/workflows/back-merge-pr.yml +59 -0
- data/.github/workflows/check-version-bump.yml +76 -0
- data/.github/workflows/issues-jira.yml +104 -17
- data/.github/workflows/release-gem.yml +5 -2
- data/.gitignore +3 -1
- data/.ruby-version +1 -1
- data/AGENTS.md +49 -0
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +38 -23
- data/contentstack_utils.gemspec +4 -4
- data/lib/contentstack_utils/endpoint.rb +96 -0
- data/lib/contentstack_utils/utils.rb +5 -0
- data/lib/contentstack_utils/version.rb +1 -1
- data/skills/README.md +16 -0
- data/skills/code-review/SKILL.md +44 -0
- data/skills/contentstack-utils/SKILL.md +51 -0
- data/skills/dev-workflow/SKILL.md +53 -0
- data/skills/framework/SKILL.md +44 -0
- data/skills/ruby-style/SKILL.md +42 -0
- data/skills/testing/SKILL.md +45 -0
- data/spec/lib/endpoint_spec.rb +268 -0
- metadata +38 -13
- data/.github/workflows/check-branch.yml +0 -20
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contentstack_utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Contentstack
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -16,28 +16,40 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '7.0'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '8'
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
27
|
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
29
|
+
version: '7.0'
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '8'
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: nokogiri
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
30
36
|
requirements:
|
|
31
|
-
- - "
|
|
37
|
+
- - "~>"
|
|
32
38
|
- !ruby/object:Gem::Version
|
|
33
39
|
version: '1.19'
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 1.19.2
|
|
34
43
|
type: :runtime
|
|
35
44
|
prerelease: false
|
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
46
|
requirements:
|
|
38
|
-
- - "
|
|
47
|
+
- - "~>"
|
|
39
48
|
- !ruby/object:Gem::Version
|
|
40
49
|
version: '1.19'
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 1.19.2
|
|
41
53
|
- !ruby/object:Gem::Dependency
|
|
42
54
|
name: rake
|
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -98,16 +110,16 @@ dependencies:
|
|
|
98
110
|
name: yard
|
|
99
111
|
requirement: !ruby/object:Gem::Requirement
|
|
100
112
|
requirements:
|
|
101
|
-
- - "
|
|
113
|
+
- - ">="
|
|
102
114
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 0.9.
|
|
115
|
+
version: 0.9.44
|
|
104
116
|
type: :development
|
|
105
117
|
prerelease: false
|
|
106
118
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
119
|
requirements:
|
|
108
|
-
- - "
|
|
120
|
+
- - ">="
|
|
109
121
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 0.9.
|
|
122
|
+
version: 0.9.44
|
|
111
123
|
description: Contentstack Ruby client for the Content Delivery API
|
|
112
124
|
email:
|
|
113
125
|
- support@contentstack.com
|
|
@@ -115,7 +127,9 @@ executables: []
|
|
|
115
127
|
extensions: []
|
|
116
128
|
extra_rdoc_files: []
|
|
117
129
|
files:
|
|
118
|
-
- ".
|
|
130
|
+
- ".cursor/rules/README.md"
|
|
131
|
+
- ".github/workflows/back-merge-pr.yml"
|
|
132
|
+
- ".github/workflows/check-version-bump.yml"
|
|
119
133
|
- ".github/workflows/codeql-analysis.yml"
|
|
120
134
|
- ".github/workflows/issues-jira.yml"
|
|
121
135
|
- ".github/workflows/policy-scan.yml"
|
|
@@ -125,6 +139,7 @@ files:
|
|
|
125
139
|
- ".ruby-version"
|
|
126
140
|
- ".talismanrc"
|
|
127
141
|
- ".yardopts"
|
|
142
|
+
- AGENTS.md
|
|
128
143
|
- CHANGELOG.md
|
|
129
144
|
- CODEOWNERS
|
|
130
145
|
- Gemfile
|
|
@@ -135,12 +150,21 @@ files:
|
|
|
135
150
|
- SECURITY.md
|
|
136
151
|
- contentstack_utils.gemspec
|
|
137
152
|
- lib/contentstack_utils.rb
|
|
153
|
+
- lib/contentstack_utils/endpoint.rb
|
|
138
154
|
- lib/contentstack_utils/interface/renderable.rb
|
|
139
155
|
- lib/contentstack_utils/model/metadata.rb
|
|
140
156
|
- lib/contentstack_utils/model/options.rb
|
|
141
157
|
- lib/contentstack_utils/support/helper.rb
|
|
142
158
|
- lib/contentstack_utils/utils.rb
|
|
143
159
|
- lib/contentstack_utils/version.rb
|
|
160
|
+
- skills/README.md
|
|
161
|
+
- skills/code-review/SKILL.md
|
|
162
|
+
- skills/contentstack-utils/SKILL.md
|
|
163
|
+
- skills/dev-workflow/SKILL.md
|
|
164
|
+
- skills/framework/SKILL.md
|
|
165
|
+
- skills/ruby-style/SKILL.md
|
|
166
|
+
- skills/testing/SKILL.md
|
|
167
|
+
- spec/lib/endpoint_spec.rb
|
|
144
168
|
- spec/lib/model/metadata_spec.rb
|
|
145
169
|
- spec/lib/model/option_spec.rb
|
|
146
170
|
- spec/lib/utils_spec.rb
|
|
@@ -162,18 +186,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
162
186
|
requirements:
|
|
163
187
|
- - ">="
|
|
164
188
|
- !ruby/object:Gem::Version
|
|
165
|
-
version: '3.
|
|
189
|
+
version: '3.1'
|
|
166
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
191
|
requirements:
|
|
168
192
|
- - ">="
|
|
169
193
|
- !ruby/object:Gem::Version
|
|
170
194
|
version: '0'
|
|
171
195
|
requirements: []
|
|
172
|
-
rubygems_version: 3.
|
|
196
|
+
rubygems_version: 3.3.27
|
|
173
197
|
signing_key:
|
|
174
198
|
specification_version: 4
|
|
175
199
|
summary: Contentstack Ruby Utils for
|
|
176
200
|
test_files:
|
|
201
|
+
- spec/lib/endpoint_spec.rb
|
|
177
202
|
- spec/lib/model/metadata_spec.rb
|
|
178
203
|
- spec/lib/model/option_spec.rb
|
|
179
204
|
- spec/lib/utils_spec.rb
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
name: 'Check Branch'
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
check_branch:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
steps:
|
|
10
|
-
- name: Comment PR
|
|
11
|
-
if: github.base_ref == 'master' && github.head_ref != 'staging'
|
|
12
|
-
uses: thollander/actions-comment-pull-request@v2
|
|
13
|
-
with:
|
|
14
|
-
message: |
|
|
15
|
-
We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the next branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch.
|
|
16
|
-
- name: Check branch
|
|
17
|
-
if: github.base_ref == 'master' && github.head_ref != 'staging'
|
|
18
|
-
run: |
|
|
19
|
-
echo "ERROR: We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the next branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch."
|
|
20
|
-
exit 1
|