Rakefile in fiddle-1.1.2 vs Rakefile in fiddle-1.1.3

- old
+ new

@@ -15,10 +15,15 @@ end File.write(version_rb_path, version_rb) end end -require 'rake/extensiontask' -Rake::ExtensionTask.new("fiddle") -Rake::ExtensionTask.new("-test-/memory_view") +if RUBY_ENGINE == "ruby" + require 'rake/extensiontask' + Rake::ExtensionTask.new("fiddle") + Rake::ExtensionTask.new("-test-/memory_view") + task test: :compile +else + task :compile +end -task :default => [:compile, :test] +task default: :test