psych 3.0.0.beta2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/.travis.yml +20 -0
  4. data/CHANGELOG.rdoc +576 -0
  5. data/Gemfile +3 -0
  6. data/Mavenfile +7 -0
  7. data/README.md +73 -0
  8. data/Rakefile +46 -0
  9. data/bin/console +7 -0
  10. data/bin/setup +6 -0
  11. data/ext/psych/.gitignore +11 -0
  12. data/ext/psych/depend +3 -0
  13. data/ext/psych/extconf.rb +39 -0
  14. data/ext/psych/psych.c +34 -0
  15. data/ext/psych/psych.h +17 -0
  16. data/ext/psych/psych_emitter.c +554 -0
  17. data/ext/psych/psych_emitter.h +8 -0
  18. data/ext/psych/psych_parser.c +568 -0
  19. data/ext/psych/psych_parser.h +6 -0
  20. data/ext/psych/psych_to_ruby.c +39 -0
  21. data/ext/psych/psych_to_ruby.h +8 -0
  22. data/ext/psych/psych_yaml_tree.c +24 -0
  23. data/ext/psych/psych_yaml_tree.h +8 -0
  24. data/ext/psych/yaml/LICENSE +19 -0
  25. data/ext/psych/yaml/api.c +1392 -0
  26. data/ext/psych/yaml/config.h +10 -0
  27. data/ext/psych/yaml/dumper.c +394 -0
  28. data/ext/psych/yaml/emitter.c +2329 -0
  29. data/ext/psych/yaml/loader.c +444 -0
  30. data/ext/psych/yaml/parser.c +1374 -0
  31. data/ext/psych/yaml/reader.c +469 -0
  32. data/ext/psych/yaml/scanner.c +3576 -0
  33. data/ext/psych/yaml/writer.c +141 -0
  34. data/ext/psych/yaml/yaml.h +1971 -0
  35. data/ext/psych/yaml/yaml_private.h +662 -0
  36. data/lib/psych.rb +511 -0
  37. data/lib/psych/class_loader.rb +102 -0
  38. data/lib/psych/coder.rb +95 -0
  39. data/lib/psych/core_ext.rb +19 -0
  40. data/lib/psych/exception.rb +14 -0
  41. data/lib/psych/handler.rb +250 -0
  42. data/lib/psych/handlers/document_stream.rb +23 -0
  43. data/lib/psych/handlers/recorder.rb +40 -0
  44. data/lib/psych/json/ruby_events.rb +20 -0
  45. data/lib/psych/json/stream.rb +17 -0
  46. data/lib/psych/json/tree_builder.rb +13 -0
  47. data/lib/psych/json/yaml_events.rb +30 -0
  48. data/lib/psych/nodes.rb +78 -0
  49. data/lib/psych/nodes/alias.rb +19 -0
  50. data/lib/psych/nodes/document.rb +61 -0
  51. data/lib/psych/nodes/mapping.rb +57 -0
  52. data/lib/psych/nodes/node.rb +56 -0
  53. data/lib/psych/nodes/scalar.rb +68 -0
  54. data/lib/psych/nodes/sequence.rb +82 -0
  55. data/lib/psych/nodes/stream.rb +38 -0
  56. data/lib/psych/omap.rb +5 -0
  57. data/lib/psych/parser.rb +52 -0
  58. data/lib/psych/scalar_scanner.rb +149 -0
  59. data/lib/psych/set.rb +5 -0
  60. data/lib/psych/stream.rb +38 -0
  61. data/lib/psych/streaming.rb +28 -0
  62. data/lib/psych/syntax_error.rb +22 -0
  63. data/lib/psych/tree_builder.rb +97 -0
  64. data/lib/psych/versions.rb +9 -0
  65. data/lib/psych/visitors.rb +7 -0
  66. data/lib/psych/visitors/depth_first.rb +27 -0
  67. data/lib/psych/visitors/emitter.rb +52 -0
  68. data/lib/psych/visitors/json_tree.rb +25 -0
  69. data/lib/psych/visitors/to_ruby.rb +401 -0
  70. data/lib/psych/visitors/visitor.rb +20 -0
  71. data/lib/psych/visitors/yaml_tree.rb +551 -0
  72. data/lib/psych/y.rb +10 -0
  73. data/psych.gemspec +64 -0
  74. metadata +175 -0
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+ module Kernel
3
+ ###
4
+ # An alias for Psych.dump_stream meant to be used with IRB.
5
+ def y *objects
6
+ puts Psych.dump_stream(*objects)
7
+ end
8
+ private :y
9
+ end
10
+
@@ -0,0 +1,64 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # frozen_string_literal: true
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "psych"
6
+ s.version = "3.0.0.beta2"
7
+ s.authors = ["Aaron Patterson", "SHIBATA Hiroshi", "Charles Oliver Nutter"]
8
+ s.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org", "headius@headius.com"]
9
+ s.date = "2017-06-16"
10
+ s.summary = "Psych is a YAML parser and emitter"
11
+ s.description = <<-DESCRIPTION
12
+ Psych is a YAML parser and emitter. Psych leverages libyaml[http://pyyaml.org/wiki/LibYAML]
13
+ for its YAML parsing and emitting capabilities. In addition to wrapping libyaml,
14
+ Psych also knows how to serialize and de-serialize most Ruby objects to and from the YAML format.
15
+ DESCRIPTION
16
+ s.homepage = "https://github.com/ruby/psych"
17
+ s.licenses = ["MIT"]
18
+ s.require_paths = ["lib"]
19
+
20
+ # for ruby core repository. It was generated by `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ s.files = [
22
+ ".gitignore", ".travis.yml", "CHANGELOG.rdoc", "Gemfile", "Mavenfile", "README.md", "Rakefile", "bin/console",
23
+ "bin/setup", "ext/psych/.gitignore", "ext/psych/depend", "ext/psych/extconf.rb", "ext/psych/psych.c", "ext/psych/psych.h",
24
+ "ext/psych/psych_emitter.c", "ext/psych/psych_emitter.h", "ext/psych/psych_parser.c", "ext/psych/psych_parser.h",
25
+ "ext/psych/psych_to_ruby.c", "ext/psych/psych_to_ruby.h", "ext/psych/psych_yaml_tree.c", "ext/psych/psych_yaml_tree.h",
26
+ "ext/psych/yaml/LICENSE", "ext/psych/yaml/api.c", "ext/psych/yaml/config.h", "ext/psych/yaml/dumper.c",
27
+ "ext/psych/yaml/emitter.c", "ext/psych/yaml/loader.c", "ext/psych/yaml/parser.c", "ext/psych/yaml/reader.c",
28
+ "ext/psych/yaml/scanner.c", "ext/psych/yaml/writer.c", "ext/psych/yaml/yaml.h", "ext/psych/yaml/yaml_private.h",
29
+ "lib/psych.rb", "lib/psych/class_loader.rb", "lib/psych/coder.rb", "lib/psych/core_ext.rb", "lib/psych/exception.rb",
30
+ "lib/psych/handler.rb", "lib/psych/handlers/document_stream.rb", "lib/psych/handlers/recorder.rb",
31
+ "lib/psych/json/ruby_events.rb", "lib/psych/json/stream.rb", "lib/psych/json/tree_builder.rb",
32
+ "lib/psych/json/yaml_events.rb", "lib/psych/nodes.rb", "lib/psych/nodes/alias.rb", "lib/psych/nodes/document.rb",
33
+ "lib/psych/nodes/mapping.rb", "lib/psych/nodes/node.rb", "lib/psych/nodes/scalar.rb", "lib/psych/nodes/sequence.rb",
34
+ "lib/psych/nodes/stream.rb", "lib/psych/omap.rb", "lib/psych/parser.rb", "lib/psych/scalar_scanner.rb",
35
+ "lib/psych/set.rb", "lib/psych/stream.rb", "lib/psych/streaming.rb", "lib/psych/syntax_error.rb",
36
+ "lib/psych/tree_builder.rb", "lib/psych/versions.rb", "lib/psych/visitors.rb","lib/psych/visitors/depth_first.rb",
37
+ "lib/psych/visitors/emitter.rb", "lib/psych/visitors/json_tree.rb", "lib/psych/visitors/to_ruby.rb",
38
+ "lib/psych/visitors/visitor.rb", "lib/psych/visitors/yaml_tree.rb", "lib/psych/y.rb", "psych.gemspec"
39
+ ]
40
+
41
+ s.rdoc_options = ["--main", "README.md"]
42
+ s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.md"]
43
+
44
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
45
+ s.rubygems_version = "2.5.1"
46
+ s.required_rubygems_version = Gem::Requirement.new(">= 0")
47
+
48
+ s.add_development_dependency 'rake-compiler', ">= 0.4.1"
49
+ s.add_development_dependency 'minitest', "~> 5.0"
50
+
51
+ if RUBY_ENGINE == 'jruby'
52
+ s.platform = 'java'
53
+ s.files.concat [
54
+ "ext/java/PsychEmitter.java", "ext/java/PsychLibrary.java", "ext/java/PsychParser.java", "ext/java/PsychToRuby.java",
55
+ "ext/java/PsychYamlTree.java", "lib/psych_jars.rb", "lib/psych.jar"
56
+ ]
57
+ s.requirements = "jar org.yaml:snakeyaml, 1.18"
58
+ s.add_dependency 'jar-dependencies', '>= 0.1.7'
59
+ s.add_development_dependency 'ruby-maven'
60
+ else
61
+ s.extensions = ["ext/psych/extconf.rb"]
62
+ s.add_development_dependency 'rake-compiler-dock', ">= 0.6.1"
63
+ end
64
+ end
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: psych
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.0.0.beta2
5
+ platform: x64-mingw32
6
+ authors:
7
+ - Aaron Patterson
8
+ - SHIBATA Hiroshi
9
+ - Charles Oliver Nutter
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2017-06-16 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rake-compiler
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 0.4.1
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 0.4.1
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'
43
+ - !ruby/object:Gem::Dependency
44
+ name: rake-compiler-dock
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 0.6.1
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.6.1
57
+ description: |
58
+ Psych is a YAML parser and emitter. Psych leverages libyaml[http://pyyaml.org/wiki/LibYAML]
59
+ for its YAML parsing and emitting capabilities. In addition to wrapping libyaml,
60
+ Psych also knows how to serialize and de-serialize most Ruby objects to and from the YAML format.
61
+ email:
62
+ - aaron@tenderlovemaking.com
63
+ - hsbt@ruby-lang.org
64
+ - headius@headius.com
65
+ executables: []
66
+ extensions: []
67
+ extra_rdoc_files:
68
+ - CHANGELOG.rdoc
69
+ - README.md
70
+ files:
71
+ - ".gitignore"
72
+ - ".travis.yml"
73
+ - CHANGELOG.rdoc
74
+ - Gemfile
75
+ - Mavenfile
76
+ - README.md
77
+ - Rakefile
78
+ - bin/console
79
+ - bin/setup
80
+ - ext/psych/.gitignore
81
+ - ext/psych/depend
82
+ - ext/psych/extconf.rb
83
+ - ext/psych/psych.c
84
+ - ext/psych/psych.h
85
+ - ext/psych/psych_emitter.c
86
+ - ext/psych/psych_emitter.h
87
+ - ext/psych/psych_parser.c
88
+ - ext/psych/psych_parser.h
89
+ - ext/psych/psych_to_ruby.c
90
+ - ext/psych/psych_to_ruby.h
91
+ - ext/psych/psych_yaml_tree.c
92
+ - ext/psych/psych_yaml_tree.h
93
+ - ext/psych/yaml/LICENSE
94
+ - ext/psych/yaml/api.c
95
+ - ext/psych/yaml/config.h
96
+ - ext/psych/yaml/dumper.c
97
+ - ext/psych/yaml/emitter.c
98
+ - ext/psych/yaml/loader.c
99
+ - ext/psych/yaml/parser.c
100
+ - ext/psych/yaml/reader.c
101
+ - ext/psych/yaml/scanner.c
102
+ - ext/psych/yaml/writer.c
103
+ - ext/psych/yaml/yaml.h
104
+ - ext/psych/yaml/yaml_private.h
105
+ - lib/2.2/psych.so
106
+ - lib/2.3/psych.so
107
+ - lib/2.4/psych.so
108
+ - lib/psych.rb
109
+ - lib/psych/class_loader.rb
110
+ - lib/psych/coder.rb
111
+ - lib/psych/core_ext.rb
112
+ - lib/psych/exception.rb
113
+ - lib/psych/handler.rb
114
+ - lib/psych/handlers/document_stream.rb
115
+ - lib/psych/handlers/recorder.rb
116
+ - lib/psych/json/ruby_events.rb
117
+ - lib/psych/json/stream.rb
118
+ - lib/psych/json/tree_builder.rb
119
+ - lib/psych/json/yaml_events.rb
120
+ - lib/psych/nodes.rb
121
+ - lib/psych/nodes/alias.rb
122
+ - lib/psych/nodes/document.rb
123
+ - lib/psych/nodes/mapping.rb
124
+ - lib/psych/nodes/node.rb
125
+ - lib/psych/nodes/scalar.rb
126
+ - lib/psych/nodes/sequence.rb
127
+ - lib/psych/nodes/stream.rb
128
+ - lib/psych/omap.rb
129
+ - lib/psych/parser.rb
130
+ - lib/psych/scalar_scanner.rb
131
+ - lib/psych/set.rb
132
+ - lib/psych/stream.rb
133
+ - lib/psych/streaming.rb
134
+ - lib/psych/syntax_error.rb
135
+ - lib/psych/tree_builder.rb
136
+ - lib/psych/versions.rb
137
+ - lib/psych/visitors.rb
138
+ - lib/psych/visitors/depth_first.rb
139
+ - lib/psych/visitors/emitter.rb
140
+ - lib/psych/visitors/json_tree.rb
141
+ - lib/psych/visitors/to_ruby.rb
142
+ - lib/psych/visitors/visitor.rb
143
+ - lib/psych/visitors/yaml_tree.rb
144
+ - lib/psych/y.rb
145
+ - psych.gemspec
146
+ homepage: https://github.com/ruby/psych
147
+ licenses:
148
+ - MIT
149
+ metadata: {}
150
+ post_install_message:
151
+ rdoc_options:
152
+ - "--main"
153
+ - README.md
154
+ require_paths:
155
+ - lib
156
+ required_ruby_version: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '2.2'
161
+ - - "<"
162
+ - !ruby/object:Gem::Version
163
+ version: '2.5'
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubyforge_project:
171
+ rubygems_version: 2.6.12
172
+ signing_key:
173
+ specification_version: 4
174
+ summary: Psych is a YAML parser and emitter
175
+ test_files: []