smartcropper 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +22 -0
- data/LICENSE.txt +674 -0
- data/README.md +60 -0
- data/Rakefile +56 -0
- data/VERSION +1 -0
- data/lib/smartcropper.rb +144 -0
- data/smartcropper.gemspec +70 -0
- data/test/fixtures/20x20.png +0 -0
- data/test/fixtures/entropyish.png +0 -0
- data/test/fixtures/entropyish.txt +1 -0
- data/test/fixtures/errors/flo-rida.png +0 -0
- data/test/fixtures/errors/hollywood-undead.jpg +0 -0
- data/test/fixtures/errors/maroon-5.jpg +0 -0
- data/test/fixtures/errors/yo-gotti.jpg +0 -0
- data/test/helper.rb +17 -0
- data/test/profiler.rb +37 -0
- data/test/test_croptoelie.rb +79 -0
- metadata +173 -0
data/.document
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
# Add dependencies required to use your gem here.
|
3
|
+
# Example:
|
4
|
+
# gem "activesupport", ">= 2.3.5"
|
5
|
+
|
6
|
+
gem "rmagick"
|
7
|
+
|
8
|
+
# Add dependencies to develop your gem here.
|
9
|
+
# Include everything needed to run rake, tests, features, etc.
|
10
|
+
group :development do
|
11
|
+
gem "shoulda", ">= 0"
|
12
|
+
gem "bundler", "~> 1.0.0"
|
13
|
+
gem "jeweler", "~> 1.5.2"
|
14
|
+
gem "rcov", ">= 0"
|
15
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
git (1.2.5)
|
5
|
+
jeweler (1.5.2)
|
6
|
+
bundler (~> 1.0.0)
|
7
|
+
git (>= 1.2.5)
|
8
|
+
rake
|
9
|
+
rake (0.8.7)
|
10
|
+
rcov (0.9.9)
|
11
|
+
rmagick (2.13.1)
|
12
|
+
shoulda (2.11.3)
|
13
|
+
|
14
|
+
PLATFORMS
|
15
|
+
ruby
|
16
|
+
|
17
|
+
DEPENDENCIES
|
18
|
+
bundler (~> 1.0.0)
|
19
|
+
jeweler (~> 1.5.2)
|
20
|
+
rcov
|
21
|
+
rmagick
|
22
|
+
shoulda
|