imageruby-devil 0.1.0 → 0.2.0
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/lib/imageruby-devil/devil_mixin.rb +6 -2
- metadata +6 -8
|
@@ -75,8 +75,12 @@ module ImageRuby
|
|
|
75
75
|
end
|
|
76
76
|
|
|
77
77
|
# devil methods
|
|
78
|
-
["
|
|
79
|
-
"
|
|
78
|
+
["rotate", "negative", "noisify", "emboss",
|
|
79
|
+
"resize2", "gamma_correct", "clear", "contrast",
|
|
80
|
+
"edge_detect", "pixelize", "resize", "flip",
|
|
81
|
+
"alienify", "blur", "negate","composite",
|
|
82
|
+
"equalize", "sharpen", "enlarge_canvas",
|
|
83
|
+
"mirror", "crop"].each do |m|
|
|
80
84
|
define_method m do |*args|
|
|
81
85
|
devil do |devil_image|
|
|
82
86
|
devil_image.send(m,*args)
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imageruby-devil
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 23
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
8
|
+
- 2
|
|
9
9
|
- 0
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.2.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Dario Seminara
|
|
@@ -15,8 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2011-11-28 00:00:00 Z
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
22
21
|
name: devil
|
|
@@ -52,7 +51,6 @@ files:
|
|
|
52
51
|
- examples/example1.rb
|
|
53
52
|
- examples/example2.rb
|
|
54
53
|
- README
|
|
55
|
-
has_rdoc: true
|
|
56
54
|
homepage: http://github.com/tario/imageruby-devil
|
|
57
55
|
licenses: []
|
|
58
56
|
|
|
@@ -82,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
82
80
|
requirements: []
|
|
83
81
|
|
|
84
82
|
rubyforge_project:
|
|
85
|
-
rubygems_version: 1.
|
|
83
|
+
rubygems_version: 1.8.11
|
|
86
84
|
signing_key:
|
|
87
85
|
specification_version: 3
|
|
88
86
|
summary: Bridge between ImageRuby and Devil image library
|