lib/dependency_resolvers/base.rb in fairchild-poolparty-1.3.5 vs lib/dependency_resolvers/base.rb in fairchild-poolparty-1.3.17
- old
+ new
@@ -87,18 +87,11 @@
"0#{obj.to_i}"
else
"#{obj.to_i}"
end
when String
- case obj
- when /^\d{4}$/
- "#{obj}"
- when /^\d{3}$/
- "0#{obj}"
- else
- "\"#{obj}\""
- end
+ "\"#{obj}\""
when Proc
obj.call # eh
when Array
# If we are sending a notifies with a second argument
if obj[1] && [:immediately, :delayed].include?(obj[1])
@@ -117,6 +110,6 @@
end
end
end
-end
\ No newline at end of file
+end