lib/exodus/config/migration_info.rb in exodus-1.1.2 vs lib/exodus/config/migration_info.rb in exodus-1.1.3
- old
+ new
@@ -24,10 +24,10 @@
raise ArgumentError, "#{file} not found"
end
end
def rake_namespace=(namespace)
- @rake_namespace = namespace.to_s.empty? || namespace[-1] == ':' ? namespace.to_s : namespace + ':'
+ @rake_namespace = namespace.to_s.empty? || namespace.end_with?(':') ? namespace.to_s : namespace + ':'
end
def migrate
verify_yml_syntax { @info['migration']['migrate'] }
end
\ No newline at end of file