Rakefile in pws-otp-0.9.0 vs Rakefile in pws-otp-0.9.1

- old
+ new

@@ -30,9 +30,13 @@ # # # # 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