diff options
author | murphy <murphy@rubychan.de> | 2010-04-28 13:59:30 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-04-28 13:59:30 +0000 |
commit | 543ccf7de2c2979f000d2ad168563830b6df676e (patch) | |
tree | bbd088a840a6494be2d806c9aa88c9a629f9729a | |
parent | e5c7cbb44722db5671cef5391d0a2ecbee41dce5 (diff) | |
download | coderay-543ccf7de2c2979f000d2ad168563830b6df676e.tar.gz |
Added 191 task, added 191 and 187 to the list of test:all Ruby versions.
-rw-r--r-- | rake_tasks/gem.rake | 2 | ||||
-rw-r--r-- | rake_tasks/ruby-versions.rake | 4 | ||||
-rw-r--r-- | rake_tasks/test.rake | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/rake_tasks/gem.rake b/rake_tasks/gem.rake index 7bb2b1b..66ad65f 100644 --- a/rake_tasks/gem.rake +++ b/rake_tasks/gem.rake @@ -61,7 +61,7 @@ namespace :gem do task :get_version do
$gem_name = 'coderay'
unless $version
- $: << './lib'
+ $:.unshift './lib'
require 'coderay'
$version = CodeRay::VERSION
end
diff --git a/rake_tasks/ruby-versions.rake b/rake_tasks/ruby-versions.rake index bfb1f88..135a297 100644 --- a/rake_tasks/ruby-versions.rake +++ b/rake_tasks/ruby-versions.rake @@ -16,6 +16,10 @@ task '19' do RUBY.replace 'ruby19' end +task '191' do + RUBY.replace 'ruby191' +end + task '18' do RUBY.replace 'ruby18' end diff --git a/rake_tasks/test.rake b/rake_tasks/test.rake index 67c6f62..8f114a4 100644 --- a/rake_tasks/test.rake +++ b/rake_tasks/test.rake @@ -15,7 +15,7 @@ namespace :test do desc 'run all functional tests on all supported Ruby platforms' task :all do $stdout.sync = true - for task in %w(test:functional 19 test:functional jruby test:functional ee test:functional) + for task in %w(test:functional 187 test:functional ee test:functional 19 test:functional 191 test:functional jruby test:functional) if task == 'test:functional' puts "\n\nTesting with #{RUBY}..." Rake::Task['test:functional'].reenable |