Rakefile in unicode-scripts-1.6.0 vs Rakefile in unicode-scripts-1.7.0

- old
+ new

@@ -30,8 +30,12 @@ # # # # Run Specs desc "#{gemspec.name} | Spec" task :spec do - sh "for file in 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