Rakefile in orm_adapter-0.0.4 vs Rakefile in orm_adapter-0.0.5

- old
+ new

@@ -41,10 +41,10 @@ if File.exists?("Gemfile.lock") && File.read("Gemfile.lock") != File.read("Gemfile.lock.development") cp "Gemfile.lock", "Gemfile.lock.development" raise "** Gemfile.lock.development has been updated, please commit these changes." end - if (git.status.changed + git.status.added + git.status.deleted).any? + if git.status.changed.any? || git.status.added.any? || git.status.deleted.any? raise "** repo is not clean, try committing some files" end if git.object('HEAD').sha != git.object('origin/master').sha raise "** origin does not match HEAD, have you pushed?" \ No newline at end of file