jr-cli 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -4
- data/CHANGELOG.md +51 -19
- data/jr-cli.gemspec +5 -5
- data/lib/jr/cli/core_ext.rb +0 -1
- data/lib/jr/cli/version.rb +1 -1
- metadata +13 -16
- data/lib/jr/cli/core_ext/kernel.rb +0 -7
- data/test/unit/core_ext/kernel_test.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00eec36fcd51834547c2f0e9e54ad0f0860bae74
|
4
|
+
data.tar.gz: 35b476caa8199ba8188c30853e0bb79960299bb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0abaf2a791f0fc8a7bd4a2b436d63f5fc669790966cd5a3c8fd02a93dedcd7df26ada715435c5e1fe3be352ef2319293dab2484fe4f0c5957bf8476e11601b3
|
7
|
+
data.tar.gz: 58c95c6787f9cdf5fe6746d2caf396ca253ffd9a4e8a373acfd862cf8fd201a5725380bca747b551a5e11e79f4df650e1ee132ce7a81e50b7b0884873f1133ae
|
data/.travis.yml
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
language: ruby
|
2
2
|
sudo: false
|
3
3
|
rvm:
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
- 2.
|
4
|
+
- 2.2.5
|
5
|
+
- 2.3.3
|
6
|
+
- 2.4.0
|
7
7
|
- ruby-head
|
8
8
|
branches:
|
9
9
|
only:
|
10
10
|
- master
|
11
|
-
before_install: gem install bundler
|
11
|
+
before_install: gem install bundler
|
12
12
|
matrix:
|
13
13
|
allow_failures:
|
14
14
|
- rvm: ruby-head
|
data/CHANGELOG.md
CHANGED
@@ -1,40 +1,72 @@
|
|
1
|
-
|
1
|
+
# Change Log
|
2
2
|
|
3
|
-
|
3
|
+
## [0.5.0] - 2016-12-28
|
4
4
|
|
5
|
-
|
5
|
+
### Changed
|
6
6
|
|
7
|
-
*
|
7
|
+
* 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)
|
8
8
|
|
9
|
-
|
9
|
+
### Removed
|
10
10
|
|
11
|
-
*
|
12
|
-
* Add `--color-output` option
|
13
|
-
* Add `--monochrome-output` option
|
14
|
-
* Do indentation when filter is omitted
|
11
|
+
* `Kernel#itself` method as a core\_ext [#16](https://github.com/yuya-takeyama/jr/pull/16)
|
15
12
|
|
16
|
-
## 0.
|
13
|
+
## [0.4.0] - 2015-08-29
|
17
14
|
|
18
|
-
|
15
|
+
### Added
|
16
|
+
|
17
|
+
* `--unbuffered` option [#14](https://github.com/yuya-takeyama/jr/pull/14)
|
18
|
+
|
19
|
+
## [0.3.1] - 2015-08-29
|
20
|
+
|
21
|
+
### Fixed
|
22
|
+
|
23
|
+
* Any `Enumerable` object except for `Hash` is enumerated [#13](https://github.com/yuya-takeyama/jr/pull/13)
|
24
|
+
|
25
|
+
## [0.3.0] - 2015-08-28
|
26
|
+
|
27
|
+
### Added
|
28
|
+
|
29
|
+
* `--raw-input` option [#9](https://github.com/yuya-takeyama/jr/pull/9)
|
30
|
+
* `--from-file` option [#10](https://github.com/yuya-takeyama/jr/pull/10)
|
31
|
+
* `--null-input` option [#11](https://github.com/yuya-takeyama/jr/pull/11)
|
32
|
+
* Do indentation when filter is omitted [#12](https://github.com/yuya-takeyama/jr/pull/12)
|
33
|
+
|
34
|
+
## [0.2.0] - 2015-08-19
|
35
|
+
|
36
|
+
### Changed
|
37
|
+
|
38
|
+
* [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
39
|
* 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
40
|
|
25
|
-
|
41
|
+
### Added
|
42
|
+
|
43
|
+
* 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)
|
44
|
+
* `--compact-output` option [#4](https://github.com/yuya-takeyama/jr/pull/4)
|
45
|
+
* `--color-output` option [#8](https://github.com/yuya-takeyama/jr/pull/8)
|
46
|
+
* `--monochrome-output` option [#8](https://github.com/yuya-takeyama/jr/pull/8)
|
47
|
+
|
48
|
+
## [0.1.0] - 2014-11-06
|
49
|
+
|
50
|
+
### Added
|
26
51
|
|
27
52
|
* Add `-r` option to require library
|
28
53
|
|
29
|
-
## 0.0.3
|
54
|
+
## [0.0.3] - 2014-11-05
|
55
|
+
|
56
|
+
### Fixed
|
30
57
|
|
31
58
|
* Handle SIGINT
|
32
59
|
|
33
|
-
## 0.0.2
|
60
|
+
## [0.0.2] - 2014-10-06
|
61
|
+
|
62
|
+
### Changed
|
34
63
|
|
35
64
|
* JSON Enumerator is returned as Enumerator::Lazy by default
|
65
|
+
|
66
|
+
### Fixed
|
67
|
+
|
36
68
|
* Add Kernel#itself method for Ruby 2.1 or earlier
|
37
69
|
|
38
|
-
## 0.0.1
|
70
|
+
## [0.0.1] - 2014-10-03
|
39
71
|
|
40
72
|
* Initial release
|
data/jr-cli.gemspec
CHANGED
@@ -18,15 +18,15 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency "yajl-ruby", "~> 1.
|
21
|
+
spec.add_runtime_dependency "yajl-ruby", "~> 1.3.0"
|
22
22
|
spec.add_runtime_dependency "coderay", "~> 1.1.0"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.6"
|
25
|
-
spec.add_development_dependency "rake", "~>
|
26
|
-
spec.add_development_dependency "test-unit", "~> 3.
|
25
|
+
spec.add_development_dependency "rake", "~> 12.0.0"
|
26
|
+
spec.add_development_dependency "test-unit", "~> 3.2.3"
|
27
27
|
spec.add_development_dependency "aruba", "0.9.0"
|
28
|
-
spec.add_development_dependency "guard", "~> 2.
|
28
|
+
spec.add_development_dependency "guard", "~> 2.14.0"
|
29
29
|
spec.add_development_dependency "guard-test", "~> 2.0.6"
|
30
30
|
spec.add_development_dependency "guard-cucumber", "~> 1.6.0"
|
31
|
-
spec.add_development_dependency "woothee", "~> 1.
|
31
|
+
spec.add_development_dependency "woothee", "~> 1.3.0"
|
32
32
|
end
|
data/lib/jr/cli/core_ext.rb
CHANGED
data/lib/jr/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jr-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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: 2016-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yajl-ruby
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.3.0
|
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.
|
26
|
+
version: 1.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: coderay
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 12.0.0
|
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: 12.0.0
|
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.2.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.2.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: aruba
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.
|
103
|
+
version: 2.14.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.14.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: guard-test
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.3.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.3.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
|
@@ -176,13 +176,11 @@ files:
|
|
176
176
|
- lib/jr/cli/core_ext/enumerable.rb
|
177
177
|
- lib/jr/cli/core_ext/enumerator.rb
|
178
178
|
- lib/jr/cli/core_ext/hash.rb
|
179
|
-
- lib/jr/cli/core_ext/kernel.rb
|
180
179
|
- lib/jr/cli/version.rb
|
181
180
|
- resources/img/jr.gif
|
182
181
|
- test/unit/core_ext/enumerable_test.rb
|
183
182
|
- test/unit/core_ext/enumerator_test.rb
|
184
183
|
- test/unit/core_ext/hash_test.rb
|
185
|
-
- test/unit/core_ext/kernel_test.rb
|
186
184
|
homepage: https://github.com/yuya-takeyama/jr
|
187
185
|
licenses:
|
188
186
|
- MIT
|
@@ -203,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
201
|
version: '0'
|
204
202
|
requirements: []
|
205
203
|
rubyforge_project:
|
206
|
-
rubygems_version: 2.
|
204
|
+
rubygems_version: 2.6.8
|
207
205
|
signing_key:
|
208
206
|
specification_version: 4
|
209
207
|
summary: 'jr: command-line JSON processor for Rubyists'
|
@@ -215,4 +213,3 @@ test_files:
|
|
215
213
|
- test/unit/core_ext/enumerable_test.rb
|
216
214
|
- test/unit/core_ext/enumerator_test.rb
|
217
215
|
- test/unit/core_ext/hash_test.rb
|
218
|
-
- test/unit/core_ext/kernel_test.rb
|