psych 2.2.1-java → 2.2.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Rakefile +3 -1
- data/ext/java/PsychParser.java +2 -3
- data/lib/psych/versions.rb +1 -1
- data/psych.gemspec +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0a58d2ed5dca183df559e687f117c2ae9865945
|
4
|
+
data.tar.gz: b9c599dc17508b3ff061ed208befa1e16f3414e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c48c9fe83330515c8ac2412db786be62c12e6976597e7e6c170f6246af520ddbbef3c45d19cc7d8e295c4597b7b319bf716c2bf4a868f960596eef76107d018
|
7
|
+
data.tar.gz: c4a73ccd603f874b65e98c0db1052c81bd795dd9e4fa5a86aa0f650124996bcc526221b4e795a0aece2bed9aef55e27310c0dcb47a062f5bef781d2846e1ea96
|
data/.travis.yml
CHANGED
data/Rakefile
CHANGED
@@ -7,6 +7,8 @@ Rake::TestTask.new(:test) do |t|
|
|
7
7
|
t.libs << "test"
|
8
8
|
t.libs << "lib"
|
9
9
|
t.test_files = FileList['test/**/test_*.rb']
|
10
|
+
t.verbose = true
|
11
|
+
t.warning = true
|
10
12
|
end
|
11
13
|
|
12
14
|
if RUBY_PLATFORM =~ /java/
|
@@ -17,7 +19,7 @@ if RUBY_PLATFORM =~ /java/
|
|
17
19
|
# and tell maven via system properties the snakeyaml version
|
18
20
|
# this is basically the same as running from the commandline:
|
19
21
|
# rmvn dependency:build-classpath -Dsnakeyaml.version='use version from Psych::DEFAULT_SNAKEYAML_VERSION here'
|
20
|
-
Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version
|
22
|
+
Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.17", '-Dverbose=true')
|
21
23
|
ext.source_version = '1.7'
|
22
24
|
ext.target_version = '1.7'
|
23
25
|
ext.classpath = File.read('pkg/classpath')
|
data/ext/java/PsychParser.java
CHANGED
@@ -241,10 +241,9 @@ public class PsychParser extends RubyObject {
|
|
241
241
|
private void handleDocumentStart(ThreadContext context, DocumentStartEvent dse, boolean tainted, IRubyObject handler) {
|
242
242
|
Ruby runtime = context.runtime;
|
243
243
|
DumperOptions.Version _version = dse.getVersion();
|
244
|
-
|
245
|
-
IRubyObject version = versionInts == null ?
|
244
|
+
IRubyObject version = _version == null ?
|
246
245
|
RubyArray.newArray(runtime) :
|
247
|
-
RubyArray.newArray(runtime, runtime.newFixnum(
|
246
|
+
RubyArray.newArray(runtime, runtime.newFixnum(_version.major()), runtime.newFixnum(_version.minor()));
|
248
247
|
|
249
248
|
Map<String, String> tagsMap = dse.getTags();
|
250
249
|
RubyArray tags = RubyArray.newArray(runtime);
|
data/lib/psych/versions.rb
CHANGED
data/psych.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
|
2
|
+
$:.unshift File.expand_path("../lib", __FILE__)
|
3
|
+
require 'psych'
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "psych"
|
7
|
-
s.version =
|
7
|
+
s.version = "2.2.2"
|
8
8
|
s.authors = ["Aaron Patterson", "SHIBATA Hiroshi", "Charles Oliver Nutter"]
|
9
9
|
s.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org", "headius@headius.com"]
|
10
10
|
s.date = "2016-11-14"
|
@@ -34,7 +34,7 @@ DESCRIPTION
|
|
34
34
|
if RUBY_ENGINE == 'jruby'
|
35
35
|
s.platform = 'java'
|
36
36
|
s.files.concat ["ext/java/PsychEmitter.java", "ext/java/PsychLibrary.java", "ext/java/PsychParser.java", "ext/java/PsychToRuby.java", "ext/java/PsychYamlTree.java", "lib/psych_jars.rb", "lib/psych.jar"]
|
37
|
-
s.requirements = "jar org.yaml:snakeyaml,
|
37
|
+
s.requirements = "jar org.yaml:snakeyaml, 1.17"
|
38
38
|
s.add_dependency 'jar-dependencies', '>= 0.1.7'
|
39
39
|
s.add_development_dependency 'ruby-maven'
|
40
40
|
else
|