croptoelie 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/croptoelie.gemspec +3 -3
  3. data/lib/croptoelie.rb +2 -0
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.5.0
@@ -5,12 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{croptoelie}
8
- s.version = "0.4.1"
8
+ s.version = "0.5.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bèr Kessels"]
12
12
  s.date = %q{2011-04-19}
13
- s.description = %q{Crops images based on entropy: leaving the most interesting part intact. Don't expect this to be a replacement for human cropping, it is an algorythm and not an extremely smart one at that :). Best results achieved in combination with scaling: the cropping is then only used to square the image, cutting off the least interesting part. The trimming simply chops off te edge that is least interesting, and continues doing so, untill it reached the requested size.}
13
+ s.description = %q{WARNING: replaced by `smartcropper`, please use `smartcropper` as drop-in replacement for this. Crops images based on entropy: leaving the most interesting part intact. Don't expect this to be a replacement for human cropping, it is an algorythm and not an extremely smart one at that :). Best results achieved in combination with scaling: the cropping is then only used to square the image, cutting off the least interesting part. The trimming simply chops off te edge that is least interesting, and continues doing so, untill it reached the requested size.}
14
14
  s.email = %q{ber@webschuur.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
40
40
  s.licenses = ["MIT"]
41
41
  s.require_paths = ["lib"]
42
42
  s.rubygems_version = %q{1.5.2}
43
- s.summary = %q{Content aware cropper.}
43
+ s.summary = %q{WARNING: replaced by `smartcropper` gem. Content aware cropper.}
44
44
  s.test_files = [
45
45
  "test/helper.rb",
46
46
  "test/profiler.rb",
@@ -19,6 +19,8 @@ class CropToelie
19
19
  # Prepare some often-used internal variables.
20
20
  @rows = @image.rows
21
21
  @columns = @image.columns
22
+
23
+ warn "DEPRECATED: 'croptoelie' gem is replaced by 'smartcropper'. http://github.com/berkes/smartcropper"
22
24
  end
23
25
 
24
26
  # Open create a croptoelie from a file on disk.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: croptoelie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-18 00:00:00.000000000 Z
12
+ date: 2012-11-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rmagick
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  segments:
159
159
  - 0
160
- hash: 259147617
160
+ hash: 358805907
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  none: false
163
163
  requirements: