summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2017-02-23 09:37:22 -0600
committerCharles Oliver Nutter <headius@headius.com>2017-02-23 09:37:22 -0600
commitfc55b92ed76836ded814149628828bc424bd3af1 (patch)
treedec8aa873326956069daa5291bee4a5439960556 /Rakefile
parented272d20cf0930231abe82b5d90dbd9827b9243e (diff)
downloadpsych-fc55b92ed76836ded814149628828bc424bd3af1.tar.gz
Remove load of psych during gem builds and bump snakeyaml to 1.18.
Fixes #293. Fixes jruby/jruby#4492.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 5238b7a..a72ca50 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,3 @@
-$LOAD_PATH.unshift './lib'
-load 'psych/versions.rb'
require "bundler/gem_tasks"
require "rake/testtask"
@@ -19,7 +17,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=1.17", '-Dverbose=true')
+ Maven::Ruby::Maven.new.exec('dependency:build-classpath', "-Dsnakeyaml.version=1.18", '-Dverbose=true')
ext.source_version = '1.7'
ext.target_version = '1.7'
ext.classpath = File.read('pkg/classpath')