psych 2.2.1 → 5.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CONTRIBUTING.md +24 -0
- data/{ext/psych/yaml/LICENSE → LICENSE} +9 -7
- data/README.md +13 -13
- data/ext/psych/depend +14 -0
- data/ext/psych/extconf.rb +43 -29
- data/ext/psych/psych.c +6 -3
- data/ext/psych/psych_emitter.c +10 -9
- data/ext/psych/psych_parser.c +69 -72
- data/ext/psych/psych_yaml_tree.c +0 -12
- data/lib/psych/class_loader.rb +11 -9
- data/lib/psych/coder.rb +1 -1
- data/lib/psych/core_ext.rb +3 -20
- data/lib/psych/exception.rb +17 -3
- data/lib/psych/handler.rb +8 -3
- data/lib/psych/handlers/document_stream.rb +2 -2
- data/lib/psych/handlers/recorder.rb +2 -2
- data/lib/psych/json/ruby_events.rb +1 -1
- data/lib/psych/json/stream.rb +3 -3
- data/lib/psych/json/tree_builder.rb +2 -2
- data/lib/psych/json/yaml_events.rb +1 -1
- data/lib/psych/nodes/alias.rb +3 -1
- data/lib/psych/nodes/document.rb +3 -1
- data/lib/psych/nodes/mapping.rb +3 -1
- data/lib/psych/nodes/node.rb +24 -5
- data/lib/psych/nodes/scalar.rb +4 -2
- data/lib/psych/nodes/sequence.rb +3 -1
- data/lib/psych/nodes/stream.rb +3 -1
- data/lib/psych/nodes.rb +8 -8
- data/lib/psych/omap.rb +1 -1
- data/lib/psych/parser.rb +14 -1
- data/lib/psych/scalar_scanner.rb +39 -47
- data/lib/psych/set.rb +1 -1
- data/lib/psych/stream.rb +1 -1
- data/lib/psych/streaming.rb +1 -1
- data/lib/psych/syntax_error.rb +2 -2
- data/lib/psych/tree_builder.rb +48 -8
- data/lib/psych/versions.rb +5 -4
- data/lib/psych/visitors/depth_first.rb +1 -1
- data/lib/psych/visitors/emitter.rb +1 -1
- data/lib/psych/visitors/json_tree.rb +2 -2
- data/lib/psych/visitors/to_ruby.rb +61 -31
- data/lib/psych/visitors/visitor.rb +18 -4
- data/lib/psych/visitors/yaml_tree.rb +111 -123
- data/lib/psych/visitors.rb +7 -7
- data/lib/psych/y.rb +1 -1
- data/lib/psych.rb +333 -96
- metadata +16 -52
- data/.gitignore +0 -14
- data/.travis.yml +0 -18
- data/CHANGELOG.rdoc +0 -576
- data/Gemfile +0 -3
- data/Mavenfile +0 -7
- data/Rakefile +0 -33
- data/bin/console +0 -7
- data/bin/setup +0 -6
- data/ext/psych/.gitignore +0 -11
- data/ext/psych/yaml/api.c +0 -1392
- data/ext/psych/yaml/config.h +0 -10
- data/ext/psych/yaml/dumper.c +0 -394
- data/ext/psych/yaml/emitter.c +0 -2329
- data/ext/psych/yaml/loader.c +0 -444
- data/ext/psych/yaml/parser.c +0 -1374
- data/ext/psych/yaml/reader.c +0 -469
- data/ext/psych/yaml/scanner.c +0 -3576
- data/ext/psych/yaml/writer.c +0 -141
- data/ext/psych/yaml/yaml.h +0 -1971
- data/ext/psych/yaml/yaml_private.h +0 -662
- data/lib/psych/deprecated.rb +0 -86
- data/psych.gemspec +0 -43
metadata
CHANGED
@@ -1,47 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: psych
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Patterson
|
8
8
|
- SHIBATA Hiroshi
|
9
9
|
- Charles Oliver Nutter
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-12-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: stringio
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0
|
22
|
-
type: :
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
|
-
name: minitest
|
31
|
-
requirement: !ruby/object:Gem::Requirement
|
32
|
-
requirements:
|
33
|
-
- - "~>"
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: '5.0'
|
36
|
-
type: :development
|
37
|
-
prerelease: false
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
39
|
-
requirements:
|
40
|
-
- - "~>"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '5.0'
|
28
|
+
version: '0'
|
43
29
|
description: |
|
44
|
-
Psych is a YAML parser and emitter. Psych leverages libyaml[
|
30
|
+
Psych is a YAML parser and emitter. Psych leverages libyaml[https://pyyaml.org/wiki/LibYAML]
|
45
31
|
for its YAML parsing and emitting capabilities. In addition to wrapping libyaml,
|
46
32
|
Psych also knows how to serialize and de-serialize most Ruby objects to and from the YAML format.
|
47
33
|
email:
|
@@ -52,19 +38,11 @@ executables: []
|
|
52
38
|
extensions:
|
53
39
|
- ext/psych/extconf.rb
|
54
40
|
extra_rdoc_files:
|
55
|
-
- CHANGELOG.rdoc
|
56
41
|
- README.md
|
57
42
|
files:
|
58
|
-
-
|
59
|
-
-
|
60
|
-
- CHANGELOG.rdoc
|
61
|
-
- Gemfile
|
62
|
-
- Mavenfile
|
43
|
+
- CONTRIBUTING.md
|
44
|
+
- LICENSE
|
63
45
|
- README.md
|
64
|
-
- Rakefile
|
65
|
-
- bin/console
|
66
|
-
- bin/setup
|
67
|
-
- ext/psych/.gitignore
|
68
46
|
- ext/psych/depend
|
69
47
|
- ext/psych/extconf.rb
|
70
48
|
- ext/psych/psych.c
|
@@ -77,23 +55,10 @@ files:
|
|
77
55
|
- ext/psych/psych_to_ruby.h
|
78
56
|
- ext/psych/psych_yaml_tree.c
|
79
57
|
- ext/psych/psych_yaml_tree.h
|
80
|
-
- ext/psych/yaml/LICENSE
|
81
|
-
- ext/psych/yaml/api.c
|
82
|
-
- ext/psych/yaml/config.h
|
83
|
-
- ext/psych/yaml/dumper.c
|
84
|
-
- ext/psych/yaml/emitter.c
|
85
|
-
- ext/psych/yaml/loader.c
|
86
|
-
- ext/psych/yaml/parser.c
|
87
|
-
- ext/psych/yaml/reader.c
|
88
|
-
- ext/psych/yaml/scanner.c
|
89
|
-
- ext/psych/yaml/writer.c
|
90
|
-
- ext/psych/yaml/yaml.h
|
91
|
-
- ext/psych/yaml/yaml_private.h
|
92
58
|
- lib/psych.rb
|
93
59
|
- lib/psych/class_loader.rb
|
94
60
|
- lib/psych/coder.rb
|
95
61
|
- lib/psych/core_ext.rb
|
96
|
-
- lib/psych/deprecated.rb
|
97
62
|
- lib/psych/exception.rb
|
98
63
|
- lib/psych/handler.rb
|
99
64
|
- lib/psych/handlers/document_stream.rb
|
@@ -127,12 +92,12 @@ files:
|
|
127
92
|
- lib/psych/visitors/visitor.rb
|
128
93
|
- lib/psych/visitors/yaml_tree.rb
|
129
94
|
- lib/psych/y.rb
|
130
|
-
- psych.gemspec
|
131
95
|
homepage: https://github.com/ruby/psych
|
132
96
|
licenses:
|
133
97
|
- MIT
|
134
|
-
metadata:
|
135
|
-
|
98
|
+
metadata:
|
99
|
+
msys2_mingw_dependencies: libyaml
|
100
|
+
post_install_message:
|
136
101
|
rdoc_options:
|
137
102
|
- "--main"
|
138
103
|
- README.md
|
@@ -142,16 +107,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
107
|
requirements:
|
143
108
|
- - ">="
|
144
109
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
110
|
+
version: 2.5.0
|
146
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
112
|
requirements:
|
148
113
|
- - ">="
|
149
114
|
- !ruby/object:Gem::Version
|
150
115
|
version: '0'
|
151
116
|
requirements: []
|
152
|
-
|
153
|
-
|
154
|
-
signing_key:
|
117
|
+
rubygems_version: 3.5.1
|
118
|
+
signing_key:
|
155
119
|
specification_version: 4
|
156
120
|
summary: Psych is a YAML parser and emitter
|
157
121
|
test_files: []
|
data/.gitignore
DELETED
data/.travis.yml
DELETED