publishing_platform_schemas 0.5.0 → 0.5.2
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/.github/dependabot.yml +10 -10
- data/.github/workflows/actionlint.yml +1 -1
- data/.github/workflows/autorelease.yml +10 -0
- data/.github/workflows/ci.yml +17 -6
- data/.publishing_platform_dependabot_merger.yml +4 -0
- data/lib/publishing_platform_schemas/version.rb +1 -1
- data/publishing_platform_schemas.gemspec +3 -3
- metadata +16 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 466d98608fcdb2e12fd8749f11d2de8da0983eda3e403ef149212485095d21c7
|
|
4
|
+
data.tar.gz: b3c0d567be311639a471bec48fd9f830b82296346d2b6ab0deaf2a4a5aeed340
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3cf190f011aa751773fda61dccbd0b59c17eb8e4e01bfccc333ca5e86d3a9bfe86e26691160f5ec299b71c423f74ebdfbaed1f6a11a35fac4dcb1bcc4e5d497
|
|
7
|
+
data.tar.gz: cb64751be7352e1a7eb427936c0cb4fec53270909a803fc99121578d2efe8e3b63a4a91ad21d1d329efffc45db57ddb2da6723ae1fb6094f2950124377cede38
|
data/.github/dependabot.yml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
updates:
|
|
3
|
-
- package-ecosystem: bundler
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
- package-ecosystem: github-actions
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
- package-ecosystem: bundler
|
|
4
|
+
directory: "/"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: daily
|
|
7
|
+
open-pull-requests-limit: 10
|
|
8
|
+
- package-ecosystem: github-actions
|
|
9
|
+
directory: "/"
|
|
10
|
+
schedule:
|
|
11
|
+
interval: daily
|
|
12
|
+
open-pull-requests-limit: 10
|
|
@@ -6,7 +6,7 @@ jobs:
|
|
|
6
6
|
actionlint:
|
|
7
7
|
runs-on: ubuntu-latest
|
|
8
8
|
steps:
|
|
9
|
-
- uses: actions/checkout@
|
|
9
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
10
10
|
with:
|
|
11
11
|
show-progress: false
|
|
12
12
|
- uses: publishing-platform/publishing-platform-infrastructure/.github/actions/actionlint@main
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
on:
|
|
2
|
+
workflow_dispatch: {}
|
|
3
|
+
schedule:
|
|
4
|
+
- cron: '30 10 * * 1-5' # 10:30am UTC, Mon-Fri.
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
autorelease:
|
|
8
|
+
uses: publishing-platform/publishing-platform-infrastructure/.github/workflows/autorelease-rubygem.yml@main
|
|
9
|
+
secrets:
|
|
10
|
+
GH_TOKEN: ${{ secrets.PUBLISHING_PLATFORM_CI_GITHUB_API_TOKEN }}
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -2,7 +2,17 @@ name: CI
|
|
|
2
2
|
|
|
3
3
|
on: [push, pull_request]
|
|
4
4
|
|
|
5
|
-
jobs:
|
|
5
|
+
jobs:
|
|
6
|
+
codeql-sast:
|
|
7
|
+
name: CodeQL SAST scan
|
|
8
|
+
uses: publishing-platform/publishing-platform-infrastructure/.github/workflows/codeql-analysis.yml@main
|
|
9
|
+
permissions:
|
|
10
|
+
security-events: write
|
|
11
|
+
|
|
12
|
+
dependency-review:
|
|
13
|
+
name: Dependency Review scan
|
|
14
|
+
uses: publishing-platform/publishing-platform-infrastructure/.github/workflows/dependency-review.yml@main
|
|
15
|
+
|
|
6
16
|
# This matrix job runs the test suite against multiple Ruby versions
|
|
7
17
|
test_matrix:
|
|
8
18
|
strategy:
|
|
@@ -12,15 +22,16 @@ jobs:
|
|
|
12
22
|
runs-on: ubuntu-latest
|
|
13
23
|
steps:
|
|
14
24
|
- name: Checkout repository
|
|
15
|
-
uses: actions/checkout@
|
|
25
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
26
|
+
|
|
16
27
|
- name: Checkout Publishing API (for Content Schemas)
|
|
17
|
-
uses: actions/checkout@
|
|
28
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
18
29
|
with:
|
|
19
30
|
repository: publishing-platform/publishing-api
|
|
20
31
|
ref: main
|
|
21
|
-
path: tmp/publishing-api
|
|
22
|
-
|
|
23
|
-
- uses: ruby/setup-ruby@v1
|
|
32
|
+
path: tmp/publishing-api
|
|
33
|
+
|
|
34
|
+
- uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
|
|
24
35
|
with:
|
|
25
36
|
ruby-version: ${{ matrix.ruby }}
|
|
26
37
|
bundler-cache: true
|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
# This should be kept in sync with the json-schema version of publishing-api.
|
|
21
21
|
spec.add_dependency "json-schema", ">= 2.8", "< 6.2"
|
|
22
22
|
|
|
23
|
-
spec.add_development_dependency "climate_control"
|
|
24
|
-
spec.add_development_dependency "publishing_platform_rubocop"
|
|
25
|
-
spec.add_development_dependency "simplecov"
|
|
23
|
+
spec.add_development_dependency "climate_control", "~> 1.2"
|
|
24
|
+
spec.add_development_dependency "publishing_platform_rubocop", "~> 0.2"
|
|
25
|
+
spec.add_development_dependency "simplecov", "~> 0.22"
|
|
26
26
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: publishing_platform_schemas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Publishing Platform
|
|
@@ -33,44 +33,44 @@ dependencies:
|
|
|
33
33
|
name: climate_control
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
|
35
35
|
requirements:
|
|
36
|
-
- - "
|
|
36
|
+
- - "~>"
|
|
37
37
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: '
|
|
38
|
+
version: '1.2'
|
|
39
39
|
type: :development
|
|
40
40
|
prerelease: false
|
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
|
42
42
|
requirements:
|
|
43
|
-
- - "
|
|
43
|
+
- - "~>"
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: '
|
|
45
|
+
version: '1.2'
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: publishing_platform_rubocop
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
|
49
49
|
requirements:
|
|
50
|
-
- - "
|
|
50
|
+
- - "~>"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: '0'
|
|
52
|
+
version: '0.2'
|
|
53
53
|
type: :development
|
|
54
54
|
prerelease: false
|
|
55
55
|
version_requirements: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
|
-
- - "
|
|
57
|
+
- - "~>"
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: '0'
|
|
59
|
+
version: '0.2'
|
|
60
60
|
- !ruby/object:Gem::Dependency
|
|
61
61
|
name: simplecov
|
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
|
63
63
|
requirements:
|
|
64
|
-
- - "
|
|
64
|
+
- - "~>"
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version: '0'
|
|
66
|
+
version: '0.22'
|
|
67
67
|
type: :development
|
|
68
68
|
prerelease: false
|
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
|
71
|
-
- - "
|
|
71
|
+
- - "~>"
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: '0'
|
|
73
|
+
version: '0.22'
|
|
74
74
|
description: Gem to work with the Publishing Platform content schemas
|
|
75
75
|
executables: []
|
|
76
76
|
extensions: []
|
|
@@ -78,8 +78,10 @@ extra_rdoc_files: []
|
|
|
78
78
|
files:
|
|
79
79
|
- ".github/dependabot.yml"
|
|
80
80
|
- ".github/workflows/actionlint.yml"
|
|
81
|
+
- ".github/workflows/autorelease.yml"
|
|
81
82
|
- ".github/workflows/ci.yml"
|
|
82
83
|
- ".gitignore"
|
|
84
|
+
- ".publishing_platform_dependabot_merger.yml"
|
|
83
85
|
- ".rspec"
|
|
84
86
|
- ".rubocop.yml"
|
|
85
87
|
- ".ruby-version"
|
|
@@ -113,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
115
|
- !ruby/object:Gem::Version
|
|
114
116
|
version: '0'
|
|
115
117
|
requirements: []
|
|
116
|
-
rubygems_version: 4.0.
|
|
118
|
+
rubygems_version: 4.0.11
|
|
117
119
|
specification_version: 4
|
|
118
120
|
summary: Gem to work with the Publishing Platform content schemas
|
|
119
121
|
test_files: []
|