jr-cli 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3eb780e24677fc860ad761bc334ecb29eb45e09f
4
- data.tar.gz: 695c705288ff8bd671a6bce707a5a96cc0ebacf0
2
+ SHA256:
3
+ metadata.gz: 37faec180e6975c2d874b531faaaf2d569cf3c572420c6965580d9e1b45a9650
4
+ data.tar.gz: c0fa38e58ce8089f9a91573ce6c176fffd882d491eb5ee803800cc588c6cbb91
5
5
  SHA512:
6
- metadata.gz: 61004562f569c2fcf351279c14d37bf4e286d66fff7d34277d019d5914173ba4d8a502906b1c785ce66cfb9e49fad623f048498e5d6f608c272d92a0935b7cff
7
- data.tar.gz: 3584d348cef55a566aca3622b7639523436b521afc81e2ff3d0666cebc120a67752fa724ec5201de2e36e676b380d505a22f6ceae9638958bcccf4e5ea5de77a
6
+ metadata.gz: ea0ec3028ee8b7e7003b237fae7a0384ea6d035e173e24387c5cc5cc1b0cd1cb3ca40d3507c5fea1387c4c71bb616f3eb3ede13738bf4dec3c7ec0b26133f3ef
7
+ data.tar.gz: 28da7823289280d77ae5d0bd99e80d612d712b8d4c4cda5425dd8e913f853a4e97b42a356545cef1b448b7319b7d09ac0ac42859340a768cbfe95c2a1c4a393d
data/.dockerignore ADDED
@@ -0,0 +1,8 @@
1
+ *.md
2
+ *.yml
3
+ *.txt
4
+ /features
5
+ /pkg
6
+ /resources
7
+ /test
8
+ /tmp
@@ -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
@@ -0,0 +1,10 @@
1
+ {
2
+ "printWidth": 80,
3
+ "tabWidth": 2,
4
+ "useTabs": false,
5
+ "semi": true,
6
+ "singleQuote": true,
7
+ "trailingComma": "all",
8
+ "bracketSpacing": true,
9
+ "arrowParens": "avoid"
10
+ }
data/.travis.yml CHANGED
@@ -1,14 +1,15 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  rvm:
4
- - 2.0
5
- - 2.1
6
- - 2.2.2
4
+ - 2.2
5
+ - 2.3
6
+ - 2.4
7
+ - 2.5
7
8
  - ruby-head
8
9
  branches:
9
10
  only:
10
11
  - master
11
- before_install: gem install bundler -v 1.10.6
12
+ before_install: gem install bundler
12
13
  matrix:
13
14
  allow_failures:
14
15
  - rvm: ruby-head
data/CHANGELOG.md CHANGED
@@ -1,40 +1,89 @@
1
- ## 0.4.0 (2015-08-29)
1
+ # Change Log
2
2
 
3
- * Add `--unbuffered` option
3
+ ## [0.6.0] - 2022-07-06
4
4
 
5
- ## 0.3.1 (2015-08-29)
5
+ ### Added
6
6
 
7
- * Any `Enumerable` object except for `Hash` is enumerated
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
8
 
9
- ## 0.3.0 (2015-08-28)
9
+ ### Fixed
10
10
 
11
- * Add `--raw-input` option
12
- * Add `--color-output` option
13
- * Add `--monochrome-output` option
14
- * Do indentation when filter is omitted
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
15
13
 
16
- ## 0.2.0 (2015-08-19)
14
+ ## [0.5.1] - 2017-07-02
17
15
 
18
- * [BREAKING CHANGE] Now `-r` is alias for `--raw-output` and use `--require` to require library
16
+ ### Fixed
17
+
18
+ * `--raw-output` option to show `Symbol` as a raw `String` [#19](https://github.com/yuya-takeyama/jr/pull/19)
19
+
20
+ ## [0.5.0] - 2016-12-28
21
+
22
+ ### Changed
23
+
24
+ * Dropped support for Ruby 2.0 and 2.1, and support Ruby 2.3 and 2.4 [#15](https://github.com/yuya-takeyama/jr/pull/15) [#16](https://github.com/yuya-takeyama/jr/pull/16)
25
+
26
+ ### Removed
27
+
28
+ * `Kernel#itself` method as a core\_ext [#16](https://github.com/yuya-takeyama/jr/pull/16)
29
+
30
+ ## [0.4.0] - 2015-08-29
31
+
32
+ ### Added
33
+
34
+ * `--unbuffered` option [#14](https://github.com/yuya-takeyama/jr/pull/14)
35
+
36
+ ## [0.3.1] - 2015-08-29
37
+
38
+ ### Fixed
39
+
40
+ * Any `Enumerable` object except for `Hash` is enumerated [#13](https://github.com/yuya-takeyama/jr/pull/13)
41
+
42
+ ## [0.3.0] - 2015-08-28
43
+
44
+ ### Added
45
+
46
+ * `--raw-input` option [#9](https://github.com/yuya-takeyama/jr/pull/9)
47
+ * `--from-file` option [#10](https://github.com/yuya-takeyama/jr/pull/10)
48
+ * `--null-input` option [#11](https://github.com/yuya-takeyama/jr/pull/11)
49
+ * Do indentation when filter is omitted [#12](https://github.com/yuya-takeyama/jr/pull/12)
50
+
51
+ ## [0.2.0] - 2015-08-19
52
+
53
+ ### Changed
54
+
55
+ * [BREAKING CHANGE] Now `-r` is alias for `--raw-output` and use `--require` to require library [#5](https://github.com/yuya-takeyama/jr/pull/5)
19
56
  * Colorize output by default
20
- * Add core\_ext modules for `Hash`, `Enumerable` and `Enumerator`
21
- * Add `--compact-output` option
22
- * Add `--color-output` option
23
- * Add `--monochrome-output` option
24
57
 
25
- ## 0.1.0 (2014-11-06)
58
+ ### Added
59
+
60
+ * core\_ext modules for `Hash`, `Enumerable` and `Enumerator` [#3](https://github.com/yuya-takeyama/jr/pull/3) [#6](https://github.com/yuya-takeyama/jr/pull/6) [#7](https://github.com/yuya-takeyama/jr/pull/7)
61
+ * `--compact-output` option [#4](https://github.com/yuya-takeyama/jr/pull/4)
62
+ * `--color-output` option [#8](https://github.com/yuya-takeyama/jr/pull/8)
63
+ * `--monochrome-output` option [#8](https://github.com/yuya-takeyama/jr/pull/8)
64
+
65
+ ## [0.1.0] - 2014-11-06
66
+
67
+ ### Added
26
68
 
27
69
  * Add `-r` option to require library
28
70
 
29
- ## 0.0.3 (2014-11-05)
71
+ ## [0.0.3] - 2014-11-05
72
+
73
+ ### Fixed
30
74
 
31
75
  * Handle SIGINT
32
76
 
33
- ## 0.0.2 (2014-10-06)
77
+ ## [0.0.2] - 2014-10-06
78
+
79
+ ### Changed
34
80
 
35
81
  * JSON Enumerator is returned as Enumerator::Lazy by default
82
+
83
+ ### Fixed
84
+
36
85
  * Add Kernel#itself method for Ruby 2.1 or earlier
37
86
 
38
- ## 0.0.1 (2014-10-03)
87
+ ## [0.0.1] - 2014-10-03
39
88
 
40
89
  * Initial release
data/Dockerfile ADDED
@@ -0,0 +1,8 @@
1
+ FROM ruby:3.1-alpine
2
+
3
+ COPY . /app
4
+ WORKDIR /app
5
+ RUN apk --update add build-base git && \
6
+ bundle install --without development
7
+
8
+ ENTRYPOINT ["bundle", "exec", "jr"]
data/Guardfile CHANGED
@@ -23,7 +23,8 @@ guard :test do
23
23
  watch(%r{^lib/jr/cli/(.+)\.rb$}) { |m| "test/unit/#{m[1]}_test.rb" }
24
24
  end
25
25
 
26
- guard "cucumber" do
26
+ guard "cucumber", notification: false do
27
+
27
28
  watch('bin/jr') { "features" }
28
29
 
29
30
  watch(%r{^lib/.+\.rb$}) { "features" }
data/bin/jr CHANGED
@@ -71,7 +71,7 @@ result = input_enumerator.instance_eval(jr_filter)
71
71
 
72
72
  encoder = Yajl::Encoder.new(pretty: pretty)
73
73
  print_json = ->(data) do
74
- if raw_output and data.is_a? String
74
+ if raw_output && (data.is_a?(String) || data.is_a?(Symbol))
75
75
  puts data
76
76
  else
77
77
  if color_output
data/cucumber.yml ADDED
@@ -0,0 +1 @@
1
+ default: --publish-quiet
@@ -268,6 +268,25 @@ Feature: JSON processing
268
268
 
269
269
  """
270
270
 
271
+ Scenario: Output symbols as raw output using --raw-output option
272
+ Given a file named "input.json" with:
273
+ """
274
+ {
275
+ "foo": true,
276
+ "bar": true,
277
+ "baz": true
278
+ }
279
+
280
+ """
281
+ When I run `jr --raw-output 'map(&:keys).unwrap' input.json`
282
+ Then the output should contain exactly:
283
+ """
284
+ foo
285
+ bar
286
+ baz
287
+
288
+ """
289
+
271
290
  Scenario: Read each line as string using --raw-input option
272
291
  Given a file named "input.json" with:
273
292
  """
@@ -1,4 +1,4 @@
1
1
  When(/^I run `([^`]*)` in bash$/)do |cmd|
2
2
  cmd = "bash -c '%s'" % unescape_text(unescape_text(cmd))
3
- run_simple(cmd, false)
3
+ run_command_and_stop(cmd, exit_timeout: 5)
4
4
  end
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 = "jr-cli"
7
+ spec.name = 'jr-cli'
8
8
  spec.version = Jr::Cli::VERSION
9
- spec.authors = ["Yuya Takeyama"]
10
- spec.email = ["sign.of.the.wolf.pentagram@gmail.com"]
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 = "https://github.com/yuya-takeyama/jr"
14
- spec.license = "MIT"
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 = ["lib"]
19
+ spec.require_paths = ['lib']
20
20
 
21
- spec.add_runtime_dependency "yajl-ruby", "~> 1.2.1"
22
- spec.add_runtime_dependency "coderay", "~> 1.1.0"
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 "bundler", "~> 1.6"
25
- spec.add_development_dependency "rake", "~> 10.4.2"
26
- spec.add_development_dependency "test-unit", "~> 3.1.3"
27
- spec.add_development_dependency "aruba", "0.9.0"
28
- spec.add_development_dependency "guard", "~> 2.13.0"
29
- spec.add_development_dependency "guard-test", "~> 2.0.6"
30
- spec.add_development_dependency "guard-cucumber", "~> 1.6.0"
31
- spec.add_development_dependency "woothee", "~> 1.2.0"
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
@@ -1,4 +1,3 @@
1
- require 'jr/cli/core_ext/kernel'
2
1
  require 'jr/cli/core_ext/hash'
3
2
  require 'jr/cli/core_ext/enumerable'
4
3
  require 'jr/cli/core_ext/enumerator'
@@ -1,5 +1,5 @@
1
1
  module Jr
2
2
  module Cli
3
- VERSION = "0.4.0"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
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.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: 2015-08-29 00:00:00.000000000 Z
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.2.1
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.2.1
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.0
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.0
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: '1.6'
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: '1.6'
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: 10.4.2
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: 10.4.2
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.1.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.1.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: 0.9.0
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: 0.9.0
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.13.0
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.13.0
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.6
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.6
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: 1.6.0
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: 1.6.0
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.2.0
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.2.0
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
@@ -176,13 +183,12 @@ files:
176
183
  - lib/jr/cli/core_ext/enumerable.rb
177
184
  - lib/jr/cli/core_ext/enumerator.rb
178
185
  - lib/jr/cli/core_ext/hash.rb
179
- - lib/jr/cli/core_ext/kernel.rb
180
186
  - lib/jr/cli/version.rb
187
+ - renovate.json5
181
188
  - resources/img/jr.gif
182
189
  - test/unit/core_ext/enumerable_test.rb
183
190
  - test/unit/core_ext/enumerator_test.rb
184
191
  - test/unit/core_ext/hash_test.rb
185
- - test/unit/core_ext/kernel_test.rb
186
192
  homepage: https://github.com/yuya-takeyama/jr
187
193
  licenses:
188
194
  - MIT
@@ -202,8 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
208
  - !ruby/object:Gem::Version
203
209
  version: '0'
204
210
  requirements: []
205
- rubyforge_project:
206
- rubygems_version: 2.4.5
211
+ rubygems_version: 3.3.7
207
212
  signing_key:
208
213
  specification_version: 4
209
214
  summary: 'jr: command-line JSON processor for Rubyists'
@@ -215,4 +220,3 @@ test_files:
215
220
  - test/unit/core_ext/enumerable_test.rb
216
221
  - test/unit/core_ext/enumerator_test.rb
217
222
  - test/unit/core_ext/hash_test.rb
218
- - test/unit/core_ext/kernel_test.rb
@@ -1,7 +0,0 @@
1
- module Kernel
2
- unless Kernel.respond_to? :itself
3
- def itself
4
- self
5
- end
6
- end
7
- end
@@ -1,13 +0,0 @@
1
- require 'test/unit'
2
- require 'jr/cli/core_ext/kernel'
3
-
4
- class KernelTest < Test::Unit::TestCase
5
- sub_test_case '#itself' do
6
- test 'returns the object itself' do
7
- assert do
8
- obj = {}
9
- obj == obj.itself
10
- end
11
- end
12
- end
13
- end