Rakefile in render_react-1.0.1 vs Rakefile in render_react-1.0.2

- old
+ new

@@ -26,13 +26,17 @@ task :irb do sh "irb -I ./lib -r #{gemspec.name.gsub '-','/'}" end # # # -# Run specs +# Run Specs desc "#{gemspec.name} | Spec" task :spec do - sh "for file in spec/*_spec.rb; do ruby $file; done" + if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ + sh "for %f in (spec/\*.rb) do ruby spec/%f" + else + sh "for file in spec/*.rb; do ruby $file; done" + end end task default: :spec