file_column_with_s3 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/test/magick_test.rb +1 -8
- metadata +4 -4
data/test/magick_test.rb
CHANGED
@@ -3,12 +3,6 @@ begin
|
|
3
3
|
require File.dirname(__FILE__) + '/abstract_unit'
|
4
4
|
require File.dirname(__FILE__) + '/fixtures/entry'
|
5
5
|
|
6
|
-
class Entry < ActiveRecord::Base
|
7
|
-
def load_image_with_rmagick(path)
|
8
|
-
Magick::Image::read(path).first
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
6
|
class AbstractRMagickTest < Test::Unit::TestCase
|
13
7
|
def teardown
|
14
8
|
FileUtils.rm_rf File.dirname(__FILE__)+"/public/entry/"
|
@@ -89,9 +83,8 @@ begin
|
|
89
83
|
end
|
90
84
|
|
91
85
|
def test_imagemagick_still_usable
|
92
|
-
e = Entry.new
|
93
86
|
assert_nothing_raised {
|
94
|
-
img =
|
87
|
+
img = Magick::Image::read(file_path("skanthak.png")).first
|
95
88
|
assert img.kind_of?(Magick::Image)
|
96
89
|
}
|
97
90
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: file_column_with_s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mingle SaaS team
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
- 0
|
45
45
|
version: "0"
|
46
46
|
prerelease: false
|
47
|
-
type: :
|
47
|
+
type: :development
|
48
48
|
name: sqlite3
|
49
49
|
requirement: *id002
|
50
50
|
- !ruby/object:Gem::Dependency
|