tidy_json 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +3 -1
- data/LICENSE +1 -1
- data/README.md +47 -44
- data/lib/tidy_json.rb +24 -374
- data/lib/tidy_json/dedication.rb +8 -2
- data/lib/tidy_json/formatter.rb +237 -0
- data/lib/tidy_json/serializer.rb +118 -0
- data/lib/tidy_json/version.rb +1 -1
- data/test/JsonableObject.json +1 -1
- data/test/codecov_runner.rb +1 -1
- data/test/test_tidy_json.rb +48 -34
- data/tidy_json.gemspec +3 -3
- metadata +18 -11
data/tidy_json.gemspec
CHANGED
@@ -20,9 +20,9 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.test_files = Dir['test/*']
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.3')
|
23
|
-
spec.add_runtime_dependency 'json', '~> 2.
|
24
|
-
spec.add_development_dependency 'codecov', '
|
25
|
-
spec.add_development_dependency 'simplecov', '~> 0.17
|
23
|
+
spec.add_runtime_dependency 'json', '~> 2.5'
|
24
|
+
spec.add_development_dependency 'codecov', '0.2.5'
|
25
|
+
spec.add_development_dependency 'simplecov', '~> 0.17'
|
26
26
|
spec.add_development_dependency 'test-unit', '~> 3.3'
|
27
27
|
spec.add_development_dependency 'yard', '~> 0.9'
|
28
28
|
spec.rdoc_options = ['-x test/*']
|
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Di Pardo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -16,26 +16,26 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.5'
|
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.
|
26
|
+
version: '2.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: codecov
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.2.5
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.2.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.17
|
47
|
+
version: '0.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: 0.17
|
54
|
+
version: '0.17'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: test-unit
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,6 +93,8 @@ files:
|
|
93
93
|
- Rakefile
|
94
94
|
- lib/tidy_json.rb
|
95
95
|
- lib/tidy_json/dedication.rb
|
96
|
+
- lib/tidy_json/formatter.rb
|
97
|
+
- lib/tidy_json/serializer.rb
|
96
98
|
- lib/tidy_json/version.rb
|
97
99
|
- test/JsonableObject.json
|
98
100
|
- test/codecov_runner.rb
|
@@ -112,9 +114,14 @@ post_install_message: |2+
|
|
112
114
|
................. MICHAEL DI PARDO .................
|
113
115
|
....................................................
|
114
116
|
............ Please consider supporting ............
|
115
|
-
|
117
|
+
........... multiple sclerosis research: ...........
|
116
118
|
....................................................
|
119
|
+
....................... (US) .......................
|
120
|
+
..... https://www.nationalmssociety.org/Donate .....
|
121
|
+
..................... (Canada) .....................
|
117
122
|
........ https://mssociety.ca/get-involved .........
|
123
|
+
....................... (UK) .......................
|
124
|
+
.... https://www.mssociety.org.uk/get-involved .....
|
118
125
|
....................................................
|
119
126
|
|
120
127
|
rdoc_options:
|
@@ -132,11 +139,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
139
|
- !ruby/object:Gem::Version
|
133
140
|
version: '0'
|
134
141
|
requirements: []
|
135
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.1.2
|
136
143
|
signing_key:
|
137
144
|
specification_version: 4
|
138
145
|
summary: Serialize any Ruby object as readable JSON
|
139
146
|
test_files:
|
147
|
+
- test/codecov_runner.rb
|
140
148
|
- test/JsonableObject.json
|
141
149
|
- test/test_tidy_json.rb
|
142
|
-
- test/codecov_runner.rb
|