mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-01 16:05:40 +03:00
Fix more warnings
This commit is contained in:
1
Rakefile
1
Rakefile
@@ -74,7 +74,6 @@ spec = Gem::Specification.new do |s|
|
||||
s.require_path = "lib"
|
||||
s.test_files = FileList["test/**/test_*.rb"].to_a
|
||||
s.rubyforge_project = "paperclip"
|
||||
s.has_rdoc = true
|
||||
s.extra_rdoc_files = FileList["README*"].to_a
|
||||
s.rdoc_options << '--line-numbers' << '--inline-source'
|
||||
s.requirements << "ImageMagick"
|
||||
|
||||
@@ -232,7 +232,7 @@ class AttachmentTest < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
teardown do
|
||||
@file.close
|
||||
@file&.close
|
||||
Paperclip::Attachment.default_options.merge!(@old_defaults)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user