jr-cli 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.dockerignore +8 -0
- data/.github/workflows/publish-gem.yaml +34 -0
- data/.github/workflows/renovate-config-validator.yaml +20 -0
- data/.github/workflows/test.yaml +27 -0
- data/.prettierrc.json +10 -0
- data/.travis.yml +4 -3
- data/CHANGELOG.md +11 -0
- data/Dockerfile +8 -0
- data/Guardfile +2 -1
- data/cucumber.yml +1 -0
- data/features/step_definitions/command_steps.rb +1 -1
- data/jr-cli.gemspec +16 -16
- data/lib/jr/cli/version.rb +1 -1
- data/renovate.json5 +31 -0
- metadata +49 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 37faec180e6975c2d874b531faaaf2d569cf3c572420c6965580d9e1b45a9650
|
4
|
+
data.tar.gz: c0fa38e58ce8089f9a91573ce6c176fffd882d491eb5ee803800cc588c6cbb91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea0ec3028ee8b7e7003b237fae7a0384ea6d035e173e24387c5cc5cc1b0cd1cb3ca40d3507c5fea1387c4c71bb616f3eb3ede13738bf4dec3c7ec0b26133f3ef
|
7
|
+
data.tar.gz: 28da7823289280d77ae5d0bd99e80d612d712b8d4c4cda5425dd8e913f853a4e97b42a356545cef1b448b7319b7d09ac0ac42859340a768cbfe95c2a1c4a393d
|
data/.dockerignore
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
name: publish-gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- v*
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
publish-gem:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: '3.1'
|
17
|
+
bundler-cache: true
|
18
|
+
- name: Setup credentials
|
19
|
+
run: |
|
20
|
+
mkdir -p ~/.gem
|
21
|
+
|
22
|
+
cat << EOF > ~/.gem/credentials
|
23
|
+
---
|
24
|
+
:github: Bearer ${GITHUB_TOKEN}
|
25
|
+
:rubygems_api_key: ${RUBYGEMS_API_KEY}
|
26
|
+
EOF
|
27
|
+
|
28
|
+
chmod 0600 ~/.gem/credentials
|
29
|
+
env:
|
30
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
31
|
+
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
32
|
+
- name: Release Gem
|
33
|
+
run: |
|
34
|
+
bundle exec rake release
|
@@ -0,0 +1,20 @@
|
|
1
|
+
name: renovate-config-validator
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
paths:
|
6
|
+
- .github/workflows/renovate-config-validator.yaml
|
7
|
+
- renovate.json5
|
8
|
+
push:
|
9
|
+
branches:
|
10
|
+
- main
|
11
|
+
paths:
|
12
|
+
- .github/workflows/renovate-config-validator.yaml
|
13
|
+
- renovate.json5
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
validate:
|
17
|
+
runs-on: ubuntu-latest
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v3
|
20
|
+
- uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: test
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
push:
|
6
|
+
branches: [main]
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
test:
|
10
|
+
strategy:
|
11
|
+
fail-fast: false
|
12
|
+
matrix:
|
13
|
+
os:
|
14
|
+
- ubuntu-latest
|
15
|
+
- macos-latest
|
16
|
+
ruby:
|
17
|
+
- '2.7'
|
18
|
+
- '3.0'
|
19
|
+
- '3.1'
|
20
|
+
runs-on: ${{ matrix.os }}
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v3
|
23
|
+
- uses: ruby/setup-ruby@v1
|
24
|
+
with:
|
25
|
+
ruby-version: ${{ matrix.ruby }}
|
26
|
+
bundler-cache: true
|
27
|
+
- run: bundle exec rake
|
data/.prettierrc.json
ADDED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [0.6.0] - 2022-07-06
|
4
|
+
|
5
|
+
### Added
|
6
|
+
|
7
|
+
* Support Ruby 3.0 and 3.1 [#43](https://github.com/yuya-takeyama/jr/pull/43) [#46](https://github.com/yuya-takeyama/jr/pull/46)
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
* Applied the security fix for yajl-ruby (CVE-2022-24795) [#38](https://github.com/yuya-takeyama/jr/pull/38)
|
12
|
+
* Applied many updates for development dependencies
|
13
|
+
|
3
14
|
## [0.5.1] - 2017-07-02
|
4
15
|
|
5
16
|
### Fixed
|
data/Dockerfile
ADDED
data/Guardfile
CHANGED
data/cucumber.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
default: --publish-quiet
|
data/jr-cli.gemspec
CHANGED
@@ -4,29 +4,29 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'jr/cli/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'jr-cli'
|
8
8
|
spec.version = Jr::Cli::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Yuya Takeyama']
|
10
|
+
spec.email = ['sign.of.the.wolf.pentagram@gmail.com']
|
11
11
|
spec.summary = %q{jr: command-line JSON processor for Rubyists}
|
12
12
|
spec.description = %q{jr is jq like JSON processor. Its script can be written in Ruby}
|
13
|
-
spec.homepage =
|
14
|
-
spec.license =
|
13
|
+
spec.homepage = 'https://github.com/yuya-takeyama/jr'
|
14
|
+
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = [
|
19
|
+
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_runtime_dependency
|
22
|
-
spec.add_runtime_dependency
|
21
|
+
spec.add_runtime_dependency 'yajl-ruby', '1.4.3'
|
22
|
+
spec.add_runtime_dependency 'coderay', '1.1.3'
|
23
23
|
|
24
|
-
spec.add_development_dependency
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.add_development_dependency
|
28
|
-
spec.add_development_dependency
|
29
|
-
spec.add_development_dependency
|
30
|
-
spec.add_development_dependency
|
31
|
-
spec.add_development_dependency
|
24
|
+
spec.add_development_dependency 'bundler', '2.3.17'
|
25
|
+
spec.add_development_dependency 'rake', '13.0.6'
|
26
|
+
spec.add_development_dependency 'test-unit', '3.5.3'
|
27
|
+
spec.add_development_dependency 'aruba', '2.1.0'
|
28
|
+
spec.add_development_dependency 'guard', '2.18.0'
|
29
|
+
spec.add_development_dependency 'guard-test', '2.0.8'
|
30
|
+
spec.add_development_dependency 'guard-cucumber', '3.0.0'
|
31
|
+
spec.add_development_dependency 'woothee', '1.13.0'
|
32
32
|
end
|
data/lib/jr/cli/version.rb
CHANGED
data/renovate.json5
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
extends: ['config:base'],
|
3
|
+
|
4
|
+
prHourlyLimit: 0,
|
5
|
+
rebaseWhen: 'conflicted',
|
6
|
+
prConcurrentLimit: 10,
|
7
|
+
|
8
|
+
labels: [
|
9
|
+
'renovate:{{depName}}',
|
10
|
+
'renovate:{{depName}}/{{newVersion}}',
|
11
|
+
'datasource:{{datasource}}',
|
12
|
+
],
|
13
|
+
|
14
|
+
packageRules: [
|
15
|
+
{
|
16
|
+
matchUpdateTypes: ['minor', 'patch', 'pin'],
|
17
|
+
automerge: true,
|
18
|
+
platformAutomerge: true,
|
19
|
+
},
|
20
|
+
],
|
21
|
+
|
22
|
+
regexManagers: [
|
23
|
+
{
|
24
|
+
fileMatch: ['^*.gemspec'],
|
25
|
+
matchStrings: [
|
26
|
+
'.*add.*dependency [\'"](?<depName>.*?)[\'"], [\'"](?<currentValue>.*?)[\'"]',
|
27
|
+
],
|
28
|
+
datasourceTemplate: 'rubygems',
|
29
|
+
},
|
30
|
+
],
|
31
|
+
}
|
metadata
CHANGED
@@ -1,155 +1,155 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jr-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuya Takeyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yajl-ruby
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.3
|
19
|
+
version: 1.4.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.3
|
26
|
+
version: 1.4.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: coderay
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.1.
|
33
|
+
version: 1.1.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.1.
|
40
|
+
version: 1.1.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 2.3.17
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 2.3.17
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 13.0.6
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 13.0.6
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: test-unit
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 3.
|
75
|
+
version: 3.5.3
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 3.
|
82
|
+
version: 3.5.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: aruba
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 2.1.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 2.1.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: guard
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
103
|
+
version: 2.18.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.
|
110
|
+
version: 2.18.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: guard-test
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.0.
|
117
|
+
version: 2.0.8
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.0.
|
124
|
+
version: 2.0.8
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: guard-cucumber
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 3.0.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 3.0.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: woothee
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.13.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- -
|
150
|
+
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.13.0
|
153
153
|
description: jr is jq like JSON processor. Its script can be written in Ruby
|
154
154
|
email:
|
155
155
|
- sign.of.the.wolf.pentagram@gmail.com
|
@@ -158,15 +158,22 @@ executables:
|
|
158
158
|
extensions: []
|
159
159
|
extra_rdoc_files: []
|
160
160
|
files:
|
161
|
+
- ".dockerignore"
|
162
|
+
- ".github/workflows/publish-gem.yaml"
|
163
|
+
- ".github/workflows/renovate-config-validator.yaml"
|
164
|
+
- ".github/workflows/test.yaml"
|
161
165
|
- ".gitignore"
|
166
|
+
- ".prettierrc.json"
|
162
167
|
- ".travis.yml"
|
163
168
|
- CHANGELOG.md
|
169
|
+
- Dockerfile
|
164
170
|
- Gemfile
|
165
171
|
- Guardfile
|
166
172
|
- LICENSE.txt
|
167
173
|
- README.md
|
168
174
|
- Rakefile
|
169
175
|
- bin/jr
|
176
|
+
- cucumber.yml
|
170
177
|
- features/core_ext.feature
|
171
178
|
- features/json_processing.feature
|
172
179
|
- features/step_definitions/command_steps.rb
|
@@ -177,6 +184,7 @@ files:
|
|
177
184
|
- lib/jr/cli/core_ext/enumerator.rb
|
178
185
|
- lib/jr/cli/core_ext/hash.rb
|
179
186
|
- lib/jr/cli/version.rb
|
187
|
+
- renovate.json5
|
180
188
|
- resources/img/jr.gif
|
181
189
|
- test/unit/core_ext/enumerable_test.rb
|
182
190
|
- test/unit/core_ext/enumerator_test.rb
|
@@ -200,8 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
208
|
- !ruby/object:Gem::Version
|
201
209
|
version: '0'
|
202
210
|
requirements: []
|
203
|
-
|
204
|
-
rubygems_version: 2.6.8
|
211
|
+
rubygems_version: 3.3.7
|
205
212
|
signing_key:
|
206
213
|
specification_version: 4
|
207
214
|
summary: 'jr: command-line JSON processor for Rubyists'
|