diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2016-11-29 18:19:49 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2016-11-29 18:19:49 +0900 |
commit | bb5a80c2b87d074120b7fc91bc30df01694864fe (patch) | |
tree | d9966c3d37f1a07d585dd6b957151219bb9185c3 /psych.gemspec | |
parent | dd73a7e5535a00a3b9f425f1eedb880e740c1065 (diff) | |
download | psych-bb5a80c2b87d074120b7fc91bc30df01694864fe.zip |
unified jruby detection
Diffstat (limited to 'psych.gemspec')
-rw-r--r-- | psych.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psych.gemspec b/psych.gemspec index 192d195..3d3a740 100644 --- a/psych.gemspec +++ b/psych.gemspec @@ -30,7 +30,7 @@ DESCRIPTION s.add_development_dependency 'rake-compiler', ">= 0.4.1" s.add_development_dependency 'minitest', "~> 5.0" - if RUBY_PLATFORM =~ /java/ + if RUBY_ENGINE == 'jruby' load 'psych/versions.rb' s.platform = 'java' s.requirements = "jar org.yaml:snakeyaml, #{Psych::DEFAULT_SNAKEYAML_VERSION}" |