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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3eb780e24677fc860ad761bc334ecb29eb45e09f
4
- data.tar.gz: 695c705288ff8bd671a6bce707a5a96cc0ebacf0
3
+ metadata.gz: 00eec36fcd51834547c2f0e9e54ad0f0860bae74
4
+ data.tar.gz: 35b476caa8199ba8188c30853e0bb79960299bb9
5
5
  SHA512:
6
- metadata.gz: 61004562f569c2fcf351279c14d37bf4e286d66fff7d34277d019d5914173ba4d8a502906b1c785ce66cfb9e49fad623f048498e5d6f608c272d92a0935b7cff
7
- data.tar.gz: 3584d348cef55a566aca3622b7639523436b521afc81e2ff3d0666cebc120a67752fa724ec5201de2e36e676b380d505a22f6ceae9638958bcccf4e5ea5de77a
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.0
5
- - 2.1
6
- - 2.2.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 -v 1.10.6
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
- ## 0.4.0 (2015-08-29)
1
+ # Change Log
2
2
 
3
- * Add `--unbuffered` option
3
+ ## [0.5.0] - 2016-12-28
4
4
 
5
- ## 0.3.1 (2015-08-29)
5
+ ### Changed
6
6
 
7
- * Any `Enumerable` object except for `Hash` is enumerated
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
- ## 0.3.0 (2015-08-28)
9
+ ### Removed
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
+ * `Kernel#itself` method as a core\_ext [#16](https://github.com/yuya-takeyama/jr/pull/16)
15
12
 
16
- ## 0.2.0 (2015-08-19)
13
+ ## [0.4.0] - 2015-08-29
17
14
 
18
- * [BREAKING CHANGE] Now `-r` is alias for `--raw-output` and use `--require` to require library
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
- ## 0.1.0 (2014-11-06)
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 (2014-11-05)
54
+ ## [0.0.3] - 2014-11-05
55
+
56
+ ### Fixed
30
57
 
31
58
  * Handle SIGINT
32
59
 
33
- ## 0.0.2 (2014-10-06)
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 (2014-10-03)
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.2.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", "~> 10.4.2"
26
- spec.add_development_dependency "test-unit", "~> 3.1.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.13.0"
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.2.0"
31
+ spec.add_development_dependency "woothee", "~> 1.3.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.5.0"
4
4
  end
5
5
  end
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.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: 2015-08-29 00:00:00.000000000 Z
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.2.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.2.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: 10.4.2
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: 10.4.2
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.1.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.1.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.13.0
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.13.0
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.2.0
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.2.0
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.4.5
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
@@ -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