lib/roachclip.rb in roachclip-0.1.2 vs lib/roachclip.rb in roachclip-0.1.3
- old
+ new
@@ -47,10 +47,10 @@
name = img[:name]
styles = img[:options][:styles]
return unless assigned_attachments[name]
- src = Tempfile.new ["roachclip", name.to_s].join('.')
+ src = Tempfile.new ["roachclip", name.to_s].join('-')
src.write assigned_attachments[name].read
src.close
assigned_attachments[name].rewind