psych 2.2.2 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a313a229414dfd63935636f04d3ebab85158c84f
4
- data.tar.gz: b7ae98b2814f0f758d40039826b16007815d8589
3
+ metadata.gz: 29b8a3a88d7d7e74fd8c9d4981c49dc214f44143
4
+ data.tar.gz: dfda13f202d45846129e32c65c289ae36bd4174a
5
5
  SHA512:
6
- metadata.gz: 1c7ade5e5cfa0fe33a19d7b501c11b217b8c7a6e567d426f73bb7de81fd23fb4c8eed32cb1b1919c819105bd5df00c2f58319d29d84757bb684efe76d9ed3530
7
- data.tar.gz: 5d9b84f77626007fbaf2e209c1abe3b6154fdc1b2ee0f051fe3ddf98f07a06984987887f0c2187db2f791427e81b07636dd2d9dfd53dbd34e28263c9ee9acbd3
6
+ metadata.gz: 1a77abc3fb55ee445b5c3a08e0732bd16f995f1ce44da6ebb8b0868469f988cd534d6496e6095c2a3e9e958502a4552bd8240e3508a434b5cee33340533f5344
7
+ data.tar.gz: d5475f6892d41b6e466fa5888460e2d8b20c1ef7b2ff55570d1ac9fd1a332eef930d45ce57923a6ad0e30911d6eb4002a9892e2ab61456b57954497700e902c1
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.17", '-Dverbose=true')
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')
@@ -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 preceeded_by_whitespace = 0;
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
- preceeded_by_whitespace = 1;
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, '#') && preceeded_by_whitespace) {
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
- preceeded_by_whitespace = IS_BLANKZ(string);
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));
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: false
2
2
  module Psych
3
3
  # The version is Psych you're using
4
- VERSION = '2.2.2'
4
+ VERSION = '2.2.3'
5
5
 
6
6
  if RUBY_ENGINE == 'jruby'
7
- DEFAULT_SNAKEYAML_VERSION = '1.17'.freeze
7
+ DEFAULT_SNAKEYAML_VERSION = '1.18'.freeze
8
8
  end
9
9
  end
@@ -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.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.17"
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.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson