summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2016-11-17 12:01:19 -0600
committerCharles Oliver Nutter <headius@headius.com>2016-11-17 12:01:19 -0600
commit146a637e2205b2b36a6fa83fc0c6f7ce0c74e123 (patch)
tree6dd9d6eb27b8713cfc3760646f07de416d3f49e7 /Rakefile
parentcf1264d636417bbd5ce51e1c284a452f0cf1f8ba (diff)
downloadpsych-146a637e2205b2b36a6fa83fc0c6f7ce0c74e123.tar.gz
Update to snakeyaml 1.17.update_snakeyaml
I had to hard-code two places that referenced a constant under Psych because neither the Rakefile nor a "gem build" loads that file. It was picking up the older version in my current JRuby process.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 100c27e..25d523f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -15,7 +15,7 @@ if RUBY_PLATFORM =~ /java/
# and tell maven via system properties the snakeyaml version
# this is basically the same as running from the commandline:
# rmvn dependency:build-classpath -Dsnakeyaml.version='use version from Psych::DEFAULT_SNAKEYAML_VERSION here'
- Maven::Ruby::Maven.new.exec( 'dependency:build-classpath', "-Dsnakeyaml.version=#{Psych::DEFAULT_SNAKEYAML_VERSION}", '-Dverbose=true')#, '--quiet' )
+ Maven::Ruby::Maven.new.exec( 'dependency:build-classpath', "-Dsnakeyaml.version=1.17", '-Dverbose=true')#, '--quiet' )
ext.source_version = '1.7'
ext.target_version = '1.7'
ext.classpath = File.read('pkg/classpath')