psych 3.0.3.pre1 → 3.0.3.pre2

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
  SHA256:
3
- metadata.gz: e6289548b1232473ce5f8a09a247bd5852009fe67926591c26d34d55f3783199
4
- data.tar.gz: 69d6c0797c153e9b0e8b0641c9ed391e0dafcfd032fb29bbf1a7a4f2b2612ac6
3
+ metadata.gz: 12fbc1c00fbee9ab8a0ee3154f5799465a57f21720d599f4fbaa2701412b483e
4
+ data.tar.gz: 90ca8a2427af258f186dd8227c7771cab2286bfdbcc26521d1b1c2106f66cfdf
5
5
  SHA512:
6
- metadata.gz: 33d7b0b70c581f06800ededac04be8932548987a35455287a539431b2886c65022d62ddaedc6dd43109c4cb080a10d0ad9dbdfefc8106fc1d3e59b2aa04486cb
7
- data.tar.gz: c6006d90bdf64acb584150b5249f4dd706789ff9aa6ff43aeb79f717ae76bc3f722dd187fe8373fc159d0b5adab64f43328e9e1e9d2289c0bfa65dae9dec9fc3
6
+ metadata.gz: c617ad82272c6f217604b400882693dd0d427313dd59d3f87479511f483033f275a757185e97632b0890b01264403432a64ea0f973d83728ee75433dd4c9f290
7
+ data.tar.gz: e1bb220ab43e1a5d17f60033931275ad3a429eba6ad05a186944911cc031cc8a27e966c9061e568b1f1c1789b194fccc4bb0d91363f2284830047e39e7349f3c
data/Rakefile CHANGED
@@ -14,11 +14,13 @@ if RUBY_PLATFORM =~ /java/
14
14
  require 'rake/javaextensiontask'
15
15
  Rake::JavaExtensionTask.new("psych") do |ext|
16
16
  require 'maven/ruby/maven'
17
+ # force load of versions to overwrite constants with values from repo.
18
+ load './lib/psych/versions.rb'
17
19
  # uses Mavenfile to write classpath into pkg/classpath
18
20
  # and tell maven via system properties the snakeyaml version
19
21
  # this is basically the same as running from the commandline:
20
22
  # rmvn dependency:build-classpath -Dsnakeyaml.version='use version from Psych::DEFAULT_SNAKEYAML_VERSION here'
21
- Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.21", '-Dverbose=true')
23
+ Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.23", '-Dverbose=true')
22
24
  ext.source_version = '1.7'
23
25
  ext.target_version = '1.7'
24
26
  ext.classpath = File.read('pkg/classpath')
@@ -3,7 +3,12 @@ require 'psych/versions'
3
3
  case RUBY_ENGINE
4
4
  when 'jruby'
5
5
  require 'psych_jars'
6
- org.jruby.ext.psych.PsychLibrary.new.load(JRuby.runtime, false)
6
+ if JRuby::Util.respond_to?(:load_ext)
7
+ JRuby::Util.load_ext('org.jruby.ext.psych.PsychLibrary')
8
+ else
9
+ require 'java'; require 'jruby'
10
+ org.jruby.ext.psych.PsychLibrary.new.load(JRuby.runtime, false)
11
+ end
7
12
  else
8
13
  begin
9
14
  require "#{RUBY_VERSION[/\d+\.\d+/]}/psych.so"
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
  module Psych
3
3
  # The version is Psych you're using
4
- VERSION = '3.0.3.pre1'
4
+ VERSION = '3.0.3.pre2'
5
5
 
6
6
  if RUBY_ENGINE == 'jruby'
7
- DEFAULT_SNAKEYAML_VERSION = '1.21'.freeze
7
+ DEFAULT_SNAKEYAML_VERSION = '1.23'.freeze
8
8
  end
9
9
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "psych"
6
- s.version = "3.0.3.pre1"
6
+ s.version = "3.0.3.pre2"
7
7
  s.authors = ["Aaron Patterson", "SHIBATA Hiroshi", "Charles Oliver Nutter"]
8
8
  s.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org", "headius@headius.com"]
9
9
  s.summary = "Psych is a YAML parser and emitter"
@@ -53,7 +53,7 @@ DESCRIPTION
53
53
  "ext/java/PsychEmitter.java", "ext/java/PsychLibrary.java", "ext/java/PsychParser.java", "ext/java/PsychToRuby.java",
54
54
  "ext/java/PsychYamlTree.java", "lib/psych_jars.rb", "lib/psych.jar"
55
55
  ]
56
- s.requirements = "jar org.yaml:snakeyaml, 1.21"
56
+ s.requirements = "jar org.yaml:snakeyaml, 1.23"
57
57
  s.add_dependency 'jar-dependencies', '>= 0.1.7'
58
58
  s.add_development_dependency 'ruby-maven'
59
59
  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: 3.0.3.pre1
4
+ version: 3.0.3.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-04-16 00:00:00.000000000 Z
13
+ date: 2018-09-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake-compiler