tidy_json 0.5.1 → 0.5.3
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/Gemfile +2 -0
- data/README.md +4 -4
- data/bin/jtidy +1 -1
- data/bin/jtidy_info.rb +0 -1
- data/lib/tidy_json/formatter.rb +1 -1
- data/lib/tidy_json/version.rb +1 -1
- data/tidy_json.gemspec +16 -7
- metadata +23 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7fde217f795c9f1609a4932d2db196bf7015d059a90174334ed003e6927c03b
|
4
|
+
data.tar.gz: 648caf097fde3915de3646d201a8af60e30f35499582513830acfade258bd1b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9cc4a47f7f4934c56ea76d4a8965c61b7a523bec6900a9c7e686381c3fea780de2daa0d1e3556e7d3cf7eb44c40962bd9b8b03735ed34b0b8fcb1e8fe55a6f4
|
7
|
+
data.tar.gz: cc133df7e527c61b46054adaafa02f857a197c3f9572c339fbcd2ed6c64931d21df772c8fb222e0aaa146680d5a6496be05d15ea8f81e18c0c9749ecef7f544d
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# tidy_json
|
2
2
|
|
3
|
-
![Gem Version][gem_version_badge] ![Downloads][gem_downloads] [![
|
3
|
+
![Gem Version][gem_version_badge] ![Downloads][gem_downloads] [![GH Actions][build_status_badge]][build_status] [![codecov][codecov_badge]][codecov_status]
|
4
4
|
|
5
5
|
A mixin providing (recursive) JSON serialization and pretty printing.
|
6
6
|
|
@@ -136,8 +136,8 @@ More information is available [here](https://raw.githubusercontent.com/jtidy/jti
|
|
136
136
|
Distributed under the terms of the [MIT License][].
|
137
137
|
|
138
138
|
|
139
|
-
[
|
140
|
-
[
|
139
|
+
[build_status]: https://github.com/rdipardo/tidy_json/actions/workflows/tests.yml
|
140
|
+
[build_status_badge]: https://github.com/rdipardo/tidy_json/actions/workflows/tests.yml/badge.svg
|
141
141
|
[codecov_status]: https://codecov.io/gh/rdipardo/tidy_json/branch/master
|
142
142
|
[codecov_badge]: https://codecov.io/gh/rdipardo/tidy_json/branch/master/graph/badge.svg
|
143
143
|
[gem_version_badge]: https://img.shields.io/gem/v/tidy_json?color=%234ec820&label=gem%20version&logo=ruby&logoColor=%23e9573f
|
@@ -146,5 +146,5 @@ Distributed under the terms of the [MIT License][].
|
|
146
146
|
[installing the gem]: https://github.com/rdipardo/tidy_json#installation
|
147
147
|
<!-- API spec -->
|
148
148
|
[`JSON.generate`]: https://github.com/flori/json/blob/d49c5de49e54a5ad3f6fcf587f98d63266ef9439/lib/json/pure/generator.rb#L111
|
149
|
-
[the docs]: https://rubydoc.
|
149
|
+
[the docs]: https://rubydoc.info/github/rdipardo/tidy_json/TidyJson/Formatter#initialize-instance_method
|
150
150
|
[0.3.0]: https://github.com/rdipardo/tidy_json/releases/tag/v0.3.0
|
data/bin/jtidy
CHANGED
data/bin/jtidy_info.rb
CHANGED
data/lib/tidy_json/formatter.rb
CHANGED
data/lib/tidy_json/version.rb
CHANGED
data/tidy_json.gemspec
CHANGED
@@ -7,13 +7,11 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.version = TidyJson::VERSION
|
8
8
|
spec.summary = 'Serialize any Ruby object as readable JSON'
|
9
9
|
spec.description = 'A mixin providing (recursive) JSON serialization and pretty printing.'
|
10
|
-
spec.authors = ['
|
11
|
-
spec.email = 'dipardo.r@gmail.com'
|
10
|
+
spec.authors = [' ']
|
12
11
|
spec.homepage = 'https://github.com/rdipardo/tidy_json'
|
13
12
|
spec.license = 'MIT'
|
14
13
|
spec.metadata = {
|
15
|
-
'documentation_uri' => 'https://rubydoc.
|
16
|
-
'bug_tracker_uri' => 'https://github.com/rdipardo/tidy_json/issues'
|
14
|
+
'documentation_uri' => 'https://rubydoc.info/github/rdipardo/tidy_json'
|
17
15
|
}
|
18
16
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
19
17
|
['.yardopts'].concat(`git ls-files -z`.split("\x0").reject { |f| f.match(/^(\.[\w+.]+|test|spec|features|codecov)/) })
|
@@ -22,8 +20,19 @@ Gem::Specification.new do |spec|
|
|
22
20
|
spec.require_paths = ['lib']
|
23
21
|
spec.executables = ['jtidy']
|
24
22
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.3')
|
25
|
-
spec.add_runtime_dependency 'json', '~> 2.
|
26
|
-
spec.add_development_dependency 'test-unit', '~> 3.4'
|
27
|
-
spec.add_development_dependency 'yard', '~> 0.9'
|
23
|
+
spec.add_runtime_dependency 'json', '~> 2.7'
|
28
24
|
spec.rdoc_options = ['-x test/*']
|
25
|
+
spec.post_install_message = '
|
26
|
+
#
|
27
|
+
# * * * * * * * * * * * * * * * * * * * * * * * * * *
|
28
|
+
# さよなら!
|
29
|
+
# * * * * * * * * * * * * * * * * * * * * * * * * * *
|
30
|
+
# tidy_json is no longer maintained.
|
31
|
+
# Please consider using one of these gems instead:
|
32
|
+
# alba <https://rubygems.org/gems/alba>
|
33
|
+
# shale <https://rubygems.org/gems/shale>
|
34
|
+
# mutils <https://rubygems.org/gems/mutils>
|
35
|
+
# * * * * * * * * * * * * * * * * * * * * * * * * * *
|
36
|
+
#
|
37
|
+
'
|
29
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tidy_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- " "
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -16,44 +16,16 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.7'
|
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: '2.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: test-unit
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3.4'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '3.4'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: yard
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.9'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0.9'
|
26
|
+
version: '2.7'
|
55
27
|
description: A mixin providing (recursive) JSON serialization and pretty printing.
|
56
|
-
email:
|
28
|
+
email:
|
57
29
|
executables:
|
58
30
|
- jtidy
|
59
31
|
extensions: []
|
@@ -77,9 +49,20 @@ homepage: https://github.com/rdipardo/tidy_json
|
|
77
49
|
licenses:
|
78
50
|
- MIT
|
79
51
|
metadata:
|
80
|
-
documentation_uri: https://rubydoc.
|
81
|
-
|
82
|
-
|
52
|
+
documentation_uri: https://rubydoc.info/github/rdipardo/tidy_json
|
53
|
+
post_install_message: |2
|
54
|
+
|
55
|
+
#
|
56
|
+
# * * * * * * * * * * * * * * * * * * * * * * * * * *
|
57
|
+
# さよなら!
|
58
|
+
# * * * * * * * * * * * * * * * * * * * * * * * * * *
|
59
|
+
# tidy_json is no longer maintained.
|
60
|
+
# Please consider using one of these gems instead:
|
61
|
+
# alba <https://rubygems.org/gems/alba>
|
62
|
+
# shale <https://rubygems.org/gems/shale>
|
63
|
+
# mutils <https://rubygems.org/gems/mutils>
|
64
|
+
# * * * * * * * * * * * * * * * * * * * * * * * * * *
|
65
|
+
#
|
83
66
|
rdoc_options:
|
84
67
|
- "-x test/*"
|
85
68
|
require_paths:
|
@@ -95,8 +78,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
78
|
- !ruby/object:Gem::Version
|
96
79
|
version: '0'
|
97
80
|
requirements: []
|
98
|
-
rubygems_version: 3.3.
|
99
|
-
signing_key:
|
81
|
+
rubygems_version: 3.3.15
|
82
|
+
signing_key:
|
100
83
|
specification_version: 4
|
101
84
|
summary: Serialize any Ruby object as readable JSON
|
102
85
|
test_files:
|