зеркало из https://github.com/github/ruby.git
Bump version to psych 3.1.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
04a9b0da9d
Коммит
623c6d972a
|
@ -1,7 +1,8 @@
|
|||
|
||||
# frozen_string_literal: true
|
||||
module Psych
|
||||
# The version of Psych you are using
|
||||
VERSION = '3.1.0.pre2' unless defined?(::Psych::VERSION)
|
||||
VERSION = '3.1.0' unless defined?(::Psych::VERSION)
|
||||
|
||||
if RUBY_ENGINE == 'jruby'
|
||||
DEFAULT_SNAKEYAML_VERSION = '1.23'.freeze
|
||||
|
|
|
@ -57,8 +57,13 @@ DESCRIPTION
|
|||
if RUBY_ENGINE == 'jruby'
|
||||
s.platform = 'java'
|
||||
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"
|
||||
"ext/java/org/jruby/ext/psych/PsychEmitter.java",
|
||||
"ext/java/org/jruby/ext/psych/PsychLibrary.java",
|
||||
"ext/java/org/jruby/ext/psych/PsychParser.java",
|
||||
"ext/java/org/jruby/ext/psych/PsychToRuby.java",
|
||||
"ext/java/org/jruby/ext/psych/PsychYamlTree.java",
|
||||
"lib/psych_jars.rb",
|
||||
"lib/psych.jar"
|
||||
]
|
||||
s.requirements = "jar org.yaml:snakeyaml, #{Psych::DEFAULT_SNAKEYAML_VERSION}"
|
||||
s.add_dependency 'jar-dependencies', '>= 0.1.7'
|
||||
|
|
Загрузка…
Ссылка в новой задаче