psych 2.2.2-java → 2.2.3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -3
- data/ext/psych/yaml/emitter.c +4 -4
- data/lib/psych/versions.rb +2 -2
- data/psych.gemspec +2 -4
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a28e7d62abd69d7be998c8cf96e89b10f104d1ca
|
4
|
+
data.tar.gz: f71d49d89806a1afd790d0e44eddf8a83088990e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afeaf8b677eeb782fc846f434e7f39cd1594917478aa81a6e531d351e8824683e45753baf1b030cb2a628cbae4ff2f4e66b0aa29663fda62d6e5a69bd1803f58
|
7
|
+
data.tar.gz: b479be0066a073f35514210ee524baa54a17af633e28ea7bc6fe271f653c500b7ee9e19a542cc0c53097a01a03f6152ef3cc0e42d6a705446f2c5efa26292ccb
|
data/Rakefile
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
$LOAD_PATH.unshift './lib'
|
2
|
-
load 'psych/versions.rb'
|
3
1
|
require "bundler/gem_tasks"
|
4
2
|
require "rake/testtask"
|
5
3
|
|
@@ -19,7 +17,7 @@ if RUBY_PLATFORM =~ /java/
|
|
19
17
|
# and tell maven via system properties the snakeyaml version
|
20
18
|
# this is basically the same as running from the commandline:
|
21
19
|
# rmvn dependency:build-classpath -Dsnakeyaml.version='use version from Psych::DEFAULT_SNAKEYAML_VERSION here'
|
22
|
-
Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.
|
20
|
+
Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.18", '-Dverbose=true')
|
23
21
|
ext.source_version = '1.7'
|
24
22
|
ext.target_version = '1.7'
|
25
23
|
ext.classpath = File.read('pkg/classpath')
|
data/ext/psych/yaml/emitter.c
CHANGED
@@ -1493,7 +1493,7 @@ yaml_emitter_analyze_scalar(yaml_emitter_t *emitter,
|
|
1493
1493
|
int break_space = 0;
|
1494
1494
|
int space_break = 0;
|
1495
1495
|
|
1496
|
-
int
|
1496
|
+
int preceded_by_whitespace = 0;
|
1497
1497
|
int followed_by_whitespace = 0;
|
1498
1498
|
int previous_space = 0;
|
1499
1499
|
int previous_break = 0;
|
@@ -1524,7 +1524,7 @@ yaml_emitter_analyze_scalar(yaml_emitter_t *emitter,
|
|
1524
1524
|
flow_indicators = 1;
|
1525
1525
|
}
|
1526
1526
|
|
1527
|
-
|
1527
|
+
preceded_by_whitespace = 1;
|
1528
1528
|
followed_by_whitespace = IS_BLANKZ_AT(string, WIDTH(string));
|
1529
1529
|
|
1530
1530
|
while (string.pointer != string.end)
|
@@ -1570,7 +1570,7 @@ yaml_emitter_analyze_scalar(yaml_emitter_t *emitter,
|
|
1570
1570
|
}
|
1571
1571
|
}
|
1572
1572
|
|
1573
|
-
if (CHECK(string, '#') &&
|
1573
|
+
if (CHECK(string, '#') && preceded_by_whitespace) {
|
1574
1574
|
flow_indicators = 1;
|
1575
1575
|
block_indicators = 1;
|
1576
1576
|
}
|
@@ -1619,7 +1619,7 @@ yaml_emitter_analyze_scalar(yaml_emitter_t *emitter,
|
|
1619
1619
|
previous_break = 0;
|
1620
1620
|
}
|
1621
1621
|
|
1622
|
-
|
1622
|
+
preceded_by_whitespace = IS_BLANKZ(string);
|
1623
1623
|
MOVE(string);
|
1624
1624
|
if (string.pointer != string.end) {
|
1625
1625
|
followed_by_whitespace = IS_BLANKZ_AT(string, WIDTH(string));
|
data/lib/psych/versions.rb
CHANGED
data/psych.gemspec
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
$:.unshift File.expand_path("../lib", __FILE__)
|
3
|
-
require 'psych'
|
4
2
|
|
5
3
|
Gem::Specification.new do |s|
|
6
4
|
s.name = "psych"
|
7
|
-
s.version = "2.2.
|
5
|
+
s.version = "2.2.3"
|
8
6
|
s.authors = ["Aaron Patterson", "SHIBATA Hiroshi", "Charles Oliver Nutter"]
|
9
7
|
s.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org", "headius@headius.com"]
|
10
8
|
s.date = "2016-11-14"
|
@@ -34,7 +32,7 @@ DESCRIPTION
|
|
34
32
|
if RUBY_ENGINE == 'jruby'
|
35
33
|
s.platform = 'java'
|
36
34
|
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, 1.
|
35
|
+
s.requirements = "jar org.yaml:snakeyaml, 1.18"
|
38
36
|
s.add_dependency 'jar-dependencies', '>= 0.1.7'
|
39
37
|
s.add_development_dependency 'ruby-maven'
|
40
38
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: psych
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Aaron Patterson
|
@@ -183,10 +183,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements:
|
186
|
-
- jar org.yaml:snakeyaml, 1.
|
186
|
+
- jar org.yaml:snakeyaml, 1.18
|
187
187
|
rubyforge_project:
|
188
188
|
rubygems_version: 2.6.8
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Psych is a YAML parser and emitter
|
192
192
|
test_files: []
|
193
|
+
has_rdoc:
|