Permalink
Browse files

Tested on JRuby & Rubinius

  • Loading branch information...
1 parent 7c62052 commit 977637b849742a299f02fc9ae3a9afae9a1b6efa Thibaud Guillaume-Gentil committed Mar 1, 2011
View
@@ -2,6 +2,7 @@ pkg/*
*.gem
.bundle
Gemfile.lock
+*.rbc
## MAC OS
.DS_Store
View
@@ -1,8 +1,7 @@
== 0.2.0 (Mar 1, 2011)
-=== Mar 1, 2011 by {Jimmy Cuadra}[https://github.com/jimmycuadra] and {Rémy Coutable}[https://github.com/rymai]
-
New features:
- New <tt>:cli</tt> option for passing RSpec CLI option to the runner, thanks to {Jimmy Cuadra}[https://github.com/jimmycuadra].
-- Deprecation of <tt>:color</tt>, <tt>:drb</tt>, <tt>:fail_fast</tt> and <tt>:formatter</tt> options.
-- New <tt>:notification</tt> option (to disable Growl/Libnotify notifications).
+- Deprecation of <tt>:color</tt>, <tt>:drb</tt>, <tt>:fail_fast</tt> and <tt>:formatter</tt> options. {Rémy Coutable}[https://github.com/rymai]
+- New <tt>:notification</tt> option (to disable Growl/Libnotify notifications). {Rémy Coutable}[https://github.com/rymai]
+- Tested with JRuby and Rubinius. {Thibaud Guillaume-Gentil}[https://github.com/thibaudgg]
View
@@ -5,11 +5,23 @@ gemspec
require 'rbconfig'
-if Config::CONFIG['target_os'] =~ /darwin/i
- gem 'rb-fsevent', '>= 0.3.9'
- gem 'growl', '~> 1.0.3'
+platforms :ruby do
+ if Config::CONFIG['target_os'] =~ /darwin/i
+ gem 'rb-fsevent', '>= 0.3.9'
+ gem 'growl', '~> 1.0.3'
+ end
+ if Config::CONFIG['target_os'] =~ /linux/i
+ gem 'rb-inotify', '>= 0.5.1'
+ gem 'libnotify', '~> 0.1.3'
+ end
end
-if Config::CONFIG['target_os'] =~ /linux/i
- gem 'rb-inotify', '>= 0.5.1'
- gem 'libnotify', '~> 0.1.3'
+
+platforms :jruby do
+ if Config::CONFIG['target_os'] =~ /darwin/i
+ gem 'growl', '~> 1.0.3'
+ end
+ if Config::CONFIG['target_os'] =~ /linux/i
+ gem 'rb-inotify', '>= 0.5.1'
+ gem 'libnotify', '~> 0.1.3'
+ end
end
View
@@ -2,8 +2,8 @@
RSpec guard allows to automatically & intelligently launch specs when files are modified.
-- Compatible with RSpec 1.x & RSpec 2.x
-- Tested on Ruby 1.8.6, 1.8.7 & 1.9.2.
+- Compatible with RSpec 1.x & RSpec 2.x (>= 2.4 needed for notification formatter)
+- Tested on Ruby 1.8.6, 1.8.7, 1.9.2, JRuby & Rubinius.
== Install
View
@@ -8,12 +8,14 @@ task :default => :spec
namespace(:spec) do
desc "Run all specs on multiple ruby versions (requires rvm)"
task(:portability) do
- %w[1.8.6 1.8.7 1.9.2].each do |version|
+ %w[1.8.6 1.8.7 1.9.2 jruby rubinius].each do |version|
system <<-BASH
bash -c 'source ~/.rvm/scripts/rvm;
rvm #{version};
echo "--------- version #{version} ----------\n";
+ gem install bundler
bundle install;
+ gem install rspec --version=1.3.1
rake spec:prepare_fixtures;
rake spec;'
BASH
@@ -4,6 +4,7 @@ GEM
rspec (1.3.1)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -12,6 +12,7 @@ GEM
rspec-mocks (2.5.0)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -17,6 +17,7 @@ GEM
thor (0.14.6)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -25,6 +25,7 @@ GEM
thor (0.14.6)
PLATFORMS
+ java
ruby
DEPENDENCIES

0 comments on commit 977637b

Please sign in to comment.