contentstack_utils 1.1.3.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/check-branch.yml +20 -0
- data/.github/workflows/codeql-analysis.yml +68 -68
- data/.github/workflows/jira.yml +28 -28
- data/.github/workflows/release-gem.yml +30 -30
- data/.github/workflows/sast-scan.yml +10 -10
- data/.github/workflows/sca-scan.yml +15 -15
- data/.github/workflows/secrets-scan.yml +10 -10
- data/.gitignore +10 -10
- data/.yardopts +3 -3
- data/CHANGELOG.md +23 -21
- data/CODEOWNERS +1 -1
- data/Gemfile +4 -4
- data/Gemfile.lock +10 -16
- data/LICENSE +20 -20
- data/README.md +96 -96
- data/Rakefile +32 -32
- data/SECURITY.md +27 -27
- data/contentstack_utils.gemspec +31 -31
- data/lib/contentstack_utils/interface/renderable.rb +8 -8
- data/lib/contentstack_utils/model/metadata.rb +68 -68
- data/lib/contentstack_utils/model/options.rb +122 -115
- data/lib/contentstack_utils/support/helper.rb +2 -2
- data/lib/contentstack_utils/utils.rb +171 -163
- data/lib/contentstack_utils/version.rb +2 -2
- data/lib/contentstack_utils.rb +3 -3
- data/spec/lib/model/metadata_spec.rb +94 -94
- data/spec/lib/model/option_spec.rb +318 -316
- data/spec/lib/utils_spec.rb +650 -642
- data/spec/mock/constant_render_options.rb +15 -15
- data/spec/mock/custom_render_option.rb +23 -23
- data/spec/mock/json_to_html_mock.rb +146 -146
- data/spec/spec_helper.rb +9 -9
- data/spec/support/constant.rb +616 -616
- data/spec/support/xml_parse.rb +30 -30
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4de1f52b62e469e3d70b219ad3f67d822bd2abac1ea473eff04a6a5288821086
|
4
|
+
data.tar.gz: 733bc68bedd141e0b8ccfa398a19ad23d856560e012be8b6503731dfcf8d9dce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ca60b02c8da193ea7b6c44ef0fa5f3d91d8ec1e5614e0ee5c968386f11800e2475907e981b956c9d06bc1e29d0642896f2ea6b610e58797b5e494a866f3f548
|
7
|
+
data.tar.gz: 736724ca72ba43e69663a33df408b0763d4c27fb877949803b0e76b5302f1b06fadbf336e6309b0b118df2aad67e6611b2832f19d2d3ecf3d0f78be99d92b9c6
|
@@ -0,0 +1,20 @@
|
|
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 != 'next'
|
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 != 'next'
|
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
|
@@ -1,68 +1,68 @@
|
|
1
|
-
# For most projects, this workflow file will not need changing; you simply need
|
2
|
-
# to commit it to your repository.
|
3
|
-
#
|
4
|
-
# You may wish to alter this file to override the set of languages analyzed,
|
5
|
-
# or to provide custom queries or build logic.
|
6
|
-
#
|
7
|
-
# ******** NOTE ********
|
8
|
-
# We have attempted to detect the languages in your repository. Please check
|
9
|
-
# the `language` matrix defined below to confirm you have the correct set of
|
10
|
-
# supported CodeQL languages.
|
11
|
-
#
|
12
|
-
name: "CodeQL"
|
13
|
-
|
14
|
-
on:
|
15
|
-
pull_request:
|
16
|
-
# The branches below must be a subset of the branches above
|
17
|
-
branches: '*'
|
18
|
-
|
19
|
-
jobs:
|
20
|
-
analyze:
|
21
|
-
name: Analyze
|
22
|
-
runs-on: ubuntu-latest
|
23
|
-
permissions:
|
24
|
-
actions: read
|
25
|
-
contents: read
|
26
|
-
security-events: write
|
27
|
-
|
28
|
-
strategy:
|
29
|
-
fail-fast: false
|
30
|
-
matrix:
|
31
|
-
language: [ 'ruby' ]
|
32
|
-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
33
|
-
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
34
|
-
|
35
|
-
steps:
|
36
|
-
- name: Checkout repository
|
37
|
-
uses: actions/checkout@v3
|
38
|
-
|
39
|
-
# Initializes the CodeQL tools for scanning.
|
40
|
-
- name: Initialize CodeQL
|
41
|
-
uses: github/codeql-action/init@v2
|
42
|
-
with:
|
43
|
-
languages: ${{ matrix.language }}
|
44
|
-
# If you wish to specify custom queries, you can do so here or in a config file.
|
45
|
-
# By default, queries listed here will override any specified in a config file.
|
46
|
-
# Prefix the list here with "+" to use these queries and those in the config file.
|
47
|
-
|
48
|
-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
49
|
-
# queries: security-extended,security-and-quality
|
50
|
-
|
51
|
-
|
52
|
-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
53
|
-
# If this step fails, then you should remove it and run the build manually (see below)
|
54
|
-
- name: Autobuild
|
55
|
-
uses: github/codeql-action/autobuild@v2
|
56
|
-
|
57
|
-
# ℹ️ Command-line programs to run using the OS shell.
|
58
|
-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
59
|
-
|
60
|
-
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
61
|
-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
62
|
-
|
63
|
-
# - run: |
|
64
|
-
# echo "Run, Build Application using script"
|
65
|
-
# ./location_of_script_within_repo/buildscript.sh
|
66
|
-
|
67
|
-
- name: Perform CodeQL Analysis
|
68
|
-
uses: github/codeql-action/analyze@v2
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
2
|
+
# to commit it to your repository.
|
3
|
+
#
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
5
|
+
# or to provide custom queries or build logic.
|
6
|
+
#
|
7
|
+
# ******** NOTE ********
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
10
|
+
# supported CodeQL languages.
|
11
|
+
#
|
12
|
+
name: "CodeQL"
|
13
|
+
|
14
|
+
on:
|
15
|
+
pull_request:
|
16
|
+
# The branches below must be a subset of the branches above
|
17
|
+
branches: '*'
|
18
|
+
|
19
|
+
jobs:
|
20
|
+
analyze:
|
21
|
+
name: Analyze
|
22
|
+
runs-on: ubuntu-latest
|
23
|
+
permissions:
|
24
|
+
actions: read
|
25
|
+
contents: read
|
26
|
+
security-events: write
|
27
|
+
|
28
|
+
strategy:
|
29
|
+
fail-fast: false
|
30
|
+
matrix:
|
31
|
+
language: [ 'ruby' ]
|
32
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
33
|
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
34
|
+
|
35
|
+
steps:
|
36
|
+
- name: Checkout repository
|
37
|
+
uses: actions/checkout@v3
|
38
|
+
|
39
|
+
# Initializes the CodeQL tools for scanning.
|
40
|
+
- name: Initialize CodeQL
|
41
|
+
uses: github/codeql-action/init@v2
|
42
|
+
with:
|
43
|
+
languages: ${{ matrix.language }}
|
44
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
45
|
+
# By default, queries listed here will override any specified in a config file.
|
46
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
47
|
+
|
48
|
+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
49
|
+
# queries: security-extended,security-and-quality
|
50
|
+
|
51
|
+
|
52
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
53
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
54
|
+
- name: Autobuild
|
55
|
+
uses: github/codeql-action/autobuild@v2
|
56
|
+
|
57
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
58
|
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
59
|
+
|
60
|
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
61
|
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
62
|
+
|
63
|
+
# - run: |
|
64
|
+
# echo "Run, Build Application using script"
|
65
|
+
# ./location_of_script_within_repo/buildscript.sh
|
66
|
+
|
67
|
+
- name: Perform CodeQL Analysis
|
68
|
+
uses: github/codeql-action/analyze@v2
|
data/.github/workflows/jira.yml
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
name: Create JIRA ISSUE
|
2
|
-
on:
|
3
|
-
pull_request:
|
4
|
-
types: [opened]
|
5
|
-
jobs:
|
6
|
-
security:
|
7
|
-
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'snyk-bot' || contains(github.event.pull_request.head.ref, 'snyk-fix-') || contains(github.event.pull_request.head.ref, 'snyk-upgrade-')}}
|
8
|
-
runs-on: ubuntu-latest
|
9
|
-
steps:
|
10
|
-
- uses: actions/checkout@v2
|
11
|
-
- name: Login into JIRA
|
12
|
-
uses: atlassian/gajira-login@master
|
13
|
-
env:
|
14
|
-
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
|
15
|
-
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
|
16
|
-
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
|
17
|
-
- name: Create a JIRA Issue
|
18
|
-
id: create
|
19
|
-
uses: atlassian/gajira-create@master
|
20
|
-
with:
|
21
|
-
project: ${{ secrets.JIRA_PROJECT }}
|
22
|
-
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }}
|
23
|
-
summary: |
|
24
|
-
${{ github.event.pull_request.title }}
|
25
|
-
description: |
|
26
|
-
PR: ${{ github.event.pull_request.html_url }}
|
27
|
-
|
28
|
-
fields: "${{ secrets.JIRA_FIELDS }}"
|
1
|
+
name: Create JIRA ISSUE
|
2
|
+
on:
|
3
|
+
pull_request:
|
4
|
+
types: [opened]
|
5
|
+
jobs:
|
6
|
+
security:
|
7
|
+
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'snyk-bot' || contains(github.event.pull_request.head.ref, 'snyk-fix-') || contains(github.event.pull_request.head.ref, 'snyk-upgrade-')}}
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
steps:
|
10
|
+
- uses: actions/checkout@v2
|
11
|
+
- name: Login into JIRA
|
12
|
+
uses: atlassian/gajira-login@master
|
13
|
+
env:
|
14
|
+
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
|
15
|
+
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
|
16
|
+
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
|
17
|
+
- name: Create a JIRA Issue
|
18
|
+
id: create
|
19
|
+
uses: atlassian/gajira-create@master
|
20
|
+
with:
|
21
|
+
project: ${{ secrets.JIRA_PROJECT }}
|
22
|
+
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }}
|
23
|
+
summary: |
|
24
|
+
${{ github.event.pull_request.title }}
|
25
|
+
description: |
|
26
|
+
PR: ${{ github.event.pull_request.html_url }}
|
27
|
+
|
28
|
+
fields: "${{ secrets.JIRA_FIELDS }}"
|
@@ -1,31 +1,31 @@
|
|
1
|
-
name: Ruby Gem
|
2
|
-
|
3
|
-
on:
|
4
|
-
release:
|
5
|
-
types: [created]
|
6
|
-
|
7
|
-
jobs:
|
8
|
-
build:
|
9
|
-
name: Build + Publish
|
10
|
-
runs-on: ubuntu-latest
|
11
|
-
permissions:
|
12
|
-
contents: read
|
13
|
-
packages: write
|
14
|
-
|
15
|
-
steps:
|
16
|
-
- uses: actions/checkout@v3
|
17
|
-
- name: Set up Ruby 2.6
|
18
|
-
uses: actions/setup-ruby@v1
|
19
|
-
with:
|
20
|
-
ruby-version: 2.6.x
|
21
|
-
|
22
|
-
- name: Publish to RubyGems
|
23
|
-
run: |
|
24
|
-
mkdir -p $HOME/.gem
|
25
|
-
touch $HOME/.gem/credentials
|
26
|
-
chmod 0600 $HOME/.gem/credentials
|
27
|
-
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
28
|
-
gem build *.gemspec
|
29
|
-
gem push *.gem
|
30
|
-
env:
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
release:
|
5
|
+
types: [created]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
name: Build + Publish
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
permissions:
|
12
|
+
contents: read
|
13
|
+
packages: write
|
14
|
+
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v3
|
17
|
+
- name: Set up Ruby 2.6
|
18
|
+
uses: actions/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: 2.6.x
|
21
|
+
|
22
|
+
- name: Publish to RubyGems
|
23
|
+
run: |
|
24
|
+
mkdir -p $HOME/.gem
|
25
|
+
touch $HOME/.gem/credentials
|
26
|
+
chmod 0600 $HOME/.gem/credentials
|
27
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
28
|
+
gem build *.gemspec
|
29
|
+
gem push *.gem
|
30
|
+
env:
|
31
31
|
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
@@ -1,11 +1,11 @@
|
|
1
|
-
name: SAST Scan
|
2
|
-
on:
|
3
|
-
pull_request:
|
4
|
-
types: [opened, synchronize, reopened]
|
5
|
-
jobs:
|
6
|
-
security:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
steps:
|
9
|
-
- uses: actions/checkout@v2
|
10
|
-
- name: Horusec Scan
|
1
|
+
name: SAST Scan
|
2
|
+
on:
|
3
|
+
pull_request:
|
4
|
+
types: [opened, synchronize, reopened]
|
5
|
+
jobs:
|
6
|
+
security:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v2
|
10
|
+
- name: Horusec Scan
|
11
11
|
run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/src horuszup/horusec-cli:latest horusec start -p /src -P $(pwd)
|
@@ -1,15 +1,15 @@
|
|
1
|
-
name: Source Composition Analysis Scan
|
2
|
-
on:
|
3
|
-
pull_request:
|
4
|
-
types: [opened, synchronize, reopened]
|
5
|
-
jobs:
|
6
|
-
security:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
steps:
|
9
|
-
- uses: actions/checkout@master
|
10
|
-
- name: Run Snyk to check for vulnerabilities
|
11
|
-
uses: snyk/actions/ruby@master
|
12
|
-
env:
|
13
|
-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
14
|
-
with:
|
15
|
-
args: --fail-on=all
|
1
|
+
name: Source Composition Analysis Scan
|
2
|
+
on:
|
3
|
+
pull_request:
|
4
|
+
types: [opened, synchronize, reopened]
|
5
|
+
jobs:
|
6
|
+
security:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@master
|
10
|
+
- name: Run Snyk to check for vulnerabilities
|
11
|
+
uses: snyk/actions/ruby@master
|
12
|
+
env:
|
13
|
+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
14
|
+
with:
|
15
|
+
args: --fail-on=all
|
@@ -1,11 +1,11 @@
|
|
1
|
-
name: Secrets Scan
|
2
|
-
on:
|
3
|
-
pull_request:
|
4
|
-
types: [opened, synchronize, reopened]
|
5
|
-
jobs:
|
6
|
-
security:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
steps:
|
9
|
-
- uses: actions/checkout@v2
|
10
|
-
- name: Gittyleaks
|
1
|
+
name: Secrets Scan
|
2
|
+
on:
|
3
|
+
pull_request:
|
4
|
+
types: [opened, synchronize, reopened]
|
5
|
+
jobs:
|
6
|
+
security:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- uses: actions/checkout@v2
|
10
|
+
- name: Gittyleaks
|
11
11
|
uses: gupy-io/gittyleaks-action@v0.1
|
data/.gitignore
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
contentstack_utils-*
|
2
|
-
build_doc.sh
|
3
|
-
test
|
4
|
-
doc
|
5
|
-
spec-integration
|
6
|
-
coverage
|
7
|
-
\.yardoc
|
8
|
-
.DS_Store
|
9
|
-
.bundle/
|
10
|
-
**/rspec_results.html
|
1
|
+
contentstack_utils-*
|
2
|
+
build_doc.sh
|
3
|
+
test
|
4
|
+
doc
|
5
|
+
spec-integration
|
6
|
+
coverage
|
7
|
+
\.yardoc
|
8
|
+
.DS_Store
|
9
|
+
.bundle/
|
10
|
+
**/rspec_results.html
|
11
11
|
.dccache
|
data/.yardopts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
README.md
|
2
|
-
lib/contentstack_utils/*
|
3
|
-
lib/contentstack_utils.rb
|
1
|
+
README.md
|
2
|
+
lib/contentstack_utils/*
|
3
|
+
lib/contentstack_utils.rb
|
data/CHANGELOG.md
CHANGED
@@ -1,21 +1,23 @@
|
|
1
|
-
# Changelog
|
2
|
-
|
3
|
-
## [1.
|
4
|
-
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
## [1.0.
|
18
|
-
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [1.2.0](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.2.0) (2023-06-20)
|
4
|
+
- Support for nested assets in the the image and br tag
|
5
|
+
## [1.1.3](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.1.3) (2023-03-16)
|
6
|
+
- Dependency gem max version issue resolved. (Activesupport gem)
|
7
|
+
|
8
|
+
## [1.1.2](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.1.2) (2023-02-27)
|
9
|
+
- Dependency gem updated (Activesupport gem)
|
10
|
+
|
11
|
+
## [1.1.1](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.1.1) (2022-04-21)
|
12
|
+
- Json RTE image, link and frame source url issue resolved
|
13
|
+
|
14
|
+
## [1.1.0](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.1.0) (2021-08-10)
|
15
|
+
- GQL Json rte to Html content support added
|
16
|
+
|
17
|
+
## [1.0.2](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.0.2) (2021-07-16)
|
18
|
+
- JSON RTE support added
|
19
|
+
## [1.0.1](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.0.1) (2021-06-02)
|
20
|
+
- Gemspec Dependency update
|
21
|
+
|
22
|
+
## [1.0.0](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.0.0) (2021-04-05)
|
23
|
+
- Initial release for Contentstack Utils SDK
|
data/CODEOWNERS
CHANGED
@@ -1 +1 @@
|
|
1
|
-
* @contentstack/security-admin
|
1
|
+
* @contentstack/security-admin
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Gemfile
|
2
|
-
source "https://rubygems.org"
|
3
|
-
|
4
|
-
gemspec
|
1
|
+
# Gemfile
|
2
|
+
source "https://rubygems.org"
|
3
|
+
|
4
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
contentstack_utils (1.
|
4
|
+
contentstack_utils (1.2.0)
|
5
5
|
activesupport (>= 3.2)
|
6
6
|
nokogiri (~> 1.11)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (
|
11
|
+
activesupport (7.0.5)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (>= 1.6, < 2)
|
14
14
|
minitest (>= 5.1)
|
15
15
|
tzinfo (~> 2.0)
|
16
|
-
|
17
|
-
addressable (2.8.1)
|
16
|
+
addressable (2.8.4)
|
18
17
|
public_suffix (>= 2.0.2, < 6.0)
|
19
18
|
concurrent-ruby (1.2.2)
|
20
19
|
crack (0.4.5)
|
@@ -22,17 +21,15 @@ GEM
|
|
22
21
|
diff-lcs (1.5.0)
|
23
22
|
docile (1.4.0)
|
24
23
|
hashdiff (1.0.1)
|
25
|
-
i18n (1.
|
24
|
+
i18n (1.14.1)
|
26
25
|
concurrent-ruby (~> 1.0)
|
27
|
-
mini_portile2 (2.8.
|
28
|
-
minitest (5.18.
|
29
|
-
nokogiri (1.
|
30
|
-
mini_portile2 (~> 2.8.
|
31
|
-
racc (~> 1.4)
|
32
|
-
nokogiri (1.13.10-x64-mingw32)
|
26
|
+
mini_portile2 (2.8.2)
|
27
|
+
minitest (5.18.1)
|
28
|
+
nokogiri (1.15.2)
|
29
|
+
mini_portile2 (~> 2.8.2)
|
33
30
|
racc (~> 1.4)
|
34
31
|
public_suffix (5.0.1)
|
35
|
-
racc (1.
|
32
|
+
racc (1.7.1)
|
36
33
|
rake (13.0.6)
|
37
34
|
rexml (3.2.5)
|
38
35
|
rspec (3.10.0)
|
@@ -60,10 +57,7 @@ GEM
|
|
60
57
|
addressable (>= 2.3.6)
|
61
58
|
crack (>= 0.3.2)
|
62
59
|
hashdiff (>= 0.4.0, < 2.0.0)
|
63
|
-
|
64
|
-
yard (0.9.28)
|
65
|
-
webrick (~> 1.7.0)
|
66
|
-
zeitwerk (2.6.7)
|
60
|
+
yard (0.9.34)
|
67
61
|
|
68
62
|
PLATFORMS
|
69
63
|
ruby
|
data/LICENSE
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2012-2023 Contentstack. All Rights Reserved
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2012-2023 Contentstack. All Rights Reserved
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
21
|
THE SOFTWARE.
|