psych 4.0.6 → 5.1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/psych.gemspec DELETED
@@ -1,69 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # frozen_string_literal: true
3
-
4
- version_module = Module.new do
5
- version_rb = File.join(__dir__, "lib/psych/versions.rb")
6
- module_eval(File.read(version_rb), version_rb)
7
- end
8
-
9
- Gem::Specification.new do |s|
10
- s.name = "psych"
11
- s.version = version_module::Psych::VERSION
12
- s.authors = ["Aaron Patterson", "SHIBATA Hiroshi", "Charles Oliver Nutter"]
13
- s.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org", "headius@headius.com"]
14
- s.summary = "Psych is a YAML parser and emitter"
15
- s.description = <<-DESCRIPTION
16
- Psych is a YAML parser and emitter. Psych leverages libyaml[https://pyyaml.org/wiki/LibYAML]
17
- for its YAML parsing and emitting capabilities. In addition to wrapping libyaml,
18
- Psych also knows how to serialize and de-serialize most Ruby objects to and from the YAML format.
19
- DESCRIPTION
20
- s.homepage = "https://github.com/ruby/psych"
21
- s.licenses = ["MIT"]
22
- s.require_paths = ["lib"]
23
-
24
- # for ruby core repository. It was generated by `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
- s.files = [
26
- ".gitignore", "Gemfile", "LICENSE", "Mavenfile", "README.md", "Rakefile", "bin/console",
27
- "bin/setup", "ext/psych/depend", "ext/psych/extconf.rb", "ext/psych/psych.c", "ext/psych/psych.h",
28
- "ext/psych/psych_emitter.c", "ext/psych/psych_emitter.h", "ext/psych/psych_parser.c", "ext/psych/psych_parser.h",
29
- "ext/psych/psych_to_ruby.c", "ext/psych/psych_to_ruby.h", "ext/psych/psych_yaml_tree.c", "ext/psych/psych_yaml_tree.h",
30
- "ext/psych/yaml/LICENSE", "ext/psych/yaml/api.c", "ext/psych/yaml/config.h", "ext/psych/yaml/dumper.c",
31
- "ext/psych/yaml/emitter.c", "ext/psych/yaml/loader.c", "ext/psych/yaml/parser.c", "ext/psych/yaml/reader.c",
32
- "ext/psych/yaml/scanner.c", "ext/psych/yaml/writer.c", "ext/psych/yaml/yaml.h", "ext/psych/yaml/yaml_private.h",
33
- "lib/psych.rb", "lib/psych/class_loader.rb", "lib/psych/coder.rb", "lib/psych/core_ext.rb", "lib/psych/exception.rb",
34
- "lib/psych/handler.rb", "lib/psych/handlers/document_stream.rb", "lib/psych/handlers/recorder.rb",
35
- "lib/psych/json/ruby_events.rb", "lib/psych/json/stream.rb", "lib/psych/json/tree_builder.rb",
36
- "lib/psych/json/yaml_events.rb", "lib/psych/nodes.rb", "lib/psych/nodes/alias.rb", "lib/psych/nodes/document.rb",
37
- "lib/psych/nodes/mapping.rb", "lib/psych/nodes/node.rb", "lib/psych/nodes/scalar.rb", "lib/psych/nodes/sequence.rb",
38
- "lib/psych/nodes/stream.rb", "lib/psych/omap.rb", "lib/psych/parser.rb", "lib/psych/scalar_scanner.rb",
39
- "lib/psych/set.rb", "lib/psych/stream.rb", "lib/psych/streaming.rb", "lib/psych/syntax_error.rb",
40
- "lib/psych/tree_builder.rb", "lib/psych/versions.rb", "lib/psych/visitors.rb","lib/psych/visitors/depth_first.rb",
41
- "lib/psych/visitors/emitter.rb", "lib/psych/visitors/json_tree.rb", "lib/psych/visitors/to_ruby.rb",
42
- "lib/psych/visitors/visitor.rb", "lib/psych/visitors/yaml_tree.rb", "lib/psych/y.rb", "psych.gemspec"
43
- ]
44
-
45
- s.rdoc_options = ["--main", "README.md"]
46
- s.extra_rdoc_files = ["README.md"]
47
-
48
- s.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
49
- s.required_rubygems_version = Gem::Requirement.new(">= 0")
50
-
51
- if RUBY_ENGINE == 'jruby'
52
- s.platform = 'java'
53
- s.files.concat [
54
- "ext/java/org/jruby/ext/psych/PsychEmitter.java",
55
- "ext/java/org/jruby/ext/psych/PsychLibrary.java",
56
- "ext/java/org/jruby/ext/psych/PsychParser.java",
57
- "ext/java/org/jruby/ext/psych/PsychToRuby.java",
58
- "ext/java/org/jruby/ext/psych/PsychYamlTree.java",
59
- "lib/psych_jars.rb",
60
- "lib/psych.jar"
61
- ]
62
- s.requirements = "jar org.yaml:snakeyaml, #{version_module::Psych::DEFAULT_SNAKEYAML_VERSION}"
63
- s.add_dependency 'jar-dependencies', '>= 0.1.7'
64
- else
65
- s.extensions = ["ext/psych/extconf.rb"]
66
- s.add_dependency 'stringio'
67
- end
68
-
69
- end