image_sorcery 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. data/README.markdown +5 -4
  2. data/lib/image_sorcery.rb +2 -0
  3. metadata +9 -8
data/README.markdown CHANGED
@@ -2,12 +2,12 @@ Image Sorcery allows you to leverage all three of ImageMagick's command line too
2
2
 
3
3
  ## Why?
4
4
 
5
- Several other ImageMagick libraries exist for Ruby, but most have at least one of two issues:
5
+ At [Fol.io](http://fol.io), we need server-side image processing to work well and bend to our will. I wrote this because the ImageMagick libraries we tried suffered from at least one of two problems:
6
6
 
7
7
  * Large memory consumption/leaking
8
- * Doesn't expose the entire ImageMagick library
8
+ * Didn't expose the entire ImageMagick library
9
9
 
10
- Due to the way Image Sorcery was written, it manages to avoid both of these issues.
10
+ Due to the way Image Sorcery was written, it manages to avoid both of these problems.
11
11
 
12
12
  ## Installation
13
13
 
@@ -24,4 +24,5 @@ image.convert("thumbnail.jpg", quality: 80, crop: "100x100>") # => true
24
24
 
25
25
  ## Todo
26
26
 
27
- Unit tests coming soon! And a few new convenience methods (like "dimensions").
27
+ * More unit tests
28
+ * A few more convenience methods (like "dimensions").
data/lib/image_sorcery.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'subexec'
2
+
1
3
  class Sorcery
2
4
  def initialize(file)
3
5
  @file = file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_sorcery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-09 00:00:00.000000000Z
12
+ date: 2012-06-13 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: subexec
16
- requirement: &70141614869640 !ruby/object:Gem::Requirement
16
+ requirement: &70267718721080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,8 +21,8 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70141614869640
25
- description: A ruby ImageMagick library that doesn't suck.
24
+ version_requirements: *70267718721080
25
+ description: A ruby ImageMagick library that doesn't suck
26
26
  email:
27
27
  - hello@ericrafaloff.com
28
28
  executables: []
@@ -31,7 +31,7 @@ extra_rdoc_files: []
31
31
  files:
32
32
  - lib/image_sorcery.rb
33
33
  - README.markdown
34
- homepage: http://github.com/ericr/image_sorcery
34
+ homepage: https://github.com/ericr/image_sorcery
35
35
  licenses: []
36
36
  post_install_message:
37
37
  rdoc_options: []
@@ -49,10 +49,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  - - ! '>='
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
- requirements: []
52
+ requirements:
53
+ - ImageMagick
53
54
  rubyforge_project:
54
55
  rubygems_version: 1.8.10
55
56
  signing_key:
56
57
  specification_version: 3
57
- summary: A ruby ImageMagick library that doesn't suck.
58
+ summary: A ruby ImageMagick library that doesn't suck
58
59
  test_files: []