image_voodoo 0.8.0 → 0.8.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/.gitignore +2 -0
- data/.hgignore +12 -0
- data/.hgtags +3 -0
- data/History.txt +41 -0
- data/Rakefile +2 -28
- data/image_voodoo.gemspec +22 -0
- data/lib/image_voodoo/version.rb +1 -1
- metadata +54 -82
data/.gitignore
ADDED
data/.hgignore
ADDED
data/.hgtags
ADDED
data/History.txt
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
== 0.8.0
|
2
|
+
|
3
|
+
- Fix "too big for byte: 253" error
|
4
|
+
- Add Github location
|
5
|
+
|
6
|
+
== 0.7
|
7
|
+
|
8
|
+
- add alias for image science method with_image_from_memory to our existing
|
9
|
+
with_bytes
|
10
|
+
|
11
|
+
== 0.6
|
12
|
+
|
13
|
+
- import statements changed to java_import to not interfere with rake
|
14
|
+
- experimental Google App Engine backend (untested) to their image service
|
15
|
+
|
16
|
+
== 0.5
|
17
|
+
|
18
|
+
- Better scaling implementation for thumbnails.
|
19
|
+
- Some minor refactorings
|
20
|
+
|
21
|
+
== 0.4
|
22
|
+
|
23
|
+
- --border option missing a comma in code which broke recognizing that option
|
24
|
+
- scale and thumbnail were broken. Fixed
|
25
|
+
|
26
|
+
== 0.3
|
27
|
+
|
28
|
+
- Added new methods: flip_vertically, flip_horizontally, alpha, add_border
|
29
|
+
- Add alias grayscale for greyscale
|
30
|
+
- Add documentation to code by popular demand
|
31
|
+
|
32
|
+
== 0.2
|
33
|
+
|
34
|
+
- Added new methods: adjust_brightness, negative
|
35
|
+
- Fixed greyscale now honors alpha channel
|
36
|
+
- Added from_url which allows loading images from url
|
37
|
+
- Allow all methods to be callable without block
|
38
|
+
|
39
|
+
== 0.1
|
40
|
+
|
41
|
+
- Birthday!
|
data/Rakefile
CHANGED
@@ -1,28 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
file "Manifest.txt" => :manifest
|
4
|
-
task :manifest do
|
5
|
-
File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
|
6
|
-
end
|
7
|
-
Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
|
8
|
-
|
9
|
-
$LOAD_PATH << 'lib'
|
10
|
-
require 'image_voodoo/version'
|
11
|
-
begin
|
12
|
-
require 'hoe'
|
13
|
-
Hoe.spec("image_voodoo") do |p|
|
14
|
-
p.version = ImageVoodoo::VERSION
|
15
|
-
p.rubyforge_name = "jruby-extras"
|
16
|
-
p.url = "http://jruby-extras.rubyforge.org/image_voodoo"
|
17
|
-
p.author = "Thomas Enebo, Charles Nutter and JRuby contributors"
|
18
|
-
p.email = "enebo@acm.org, headius@headius.com"
|
19
|
-
p.summary = "Image manipulation in JRuby with ImageScience compatible API"
|
20
|
-
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
|
21
|
-
p.description = "Install this gem and require 'image_voodoo' to load the library."
|
22
|
-
end
|
23
|
-
rescue LoadError
|
24
|
-
puts "You need Hoe installed to be able to package this gem"
|
25
|
-
rescue => e
|
26
|
-
p e.backtrace
|
27
|
-
puts "ignoring error while loading hoe: #{e.to_s}"
|
28
|
-
end
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "image_voodoo/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'image_voodoo'
|
7
|
+
s.version = ImageVoodoo::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = 'Thomas E. Enebo, Charles Nutter, Nick Sieger'
|
10
|
+
s.email = 'tom.enebo@gmail.com'
|
11
|
+
s.homepage = 'http://github.com/jruby/image_voodoo'
|
12
|
+
s.summary = 'Image manipulation in JRuby with ImageScience compatible API'
|
13
|
+
s.description = 'Image manipulation in JRuby with ImageScience compatible API'
|
14
|
+
|
15
|
+
s.rubyforge_project = "image_voodoo"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
s.has_rdoc = true
|
22
|
+
end
|
data/lib/image_voodoo/version.rb
CHANGED
metadata
CHANGED
@@ -3,111 +3,83 @@ name: image_voodoo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
version: 0.8.
|
6
|
+
- 0
|
7
|
+
- 8
|
8
|
+
- 1
|
9
|
+
version: 0.8.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
|
-
|
12
|
+
- Thomas E. Enebo, Charles Nutter, Nick Sieger
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2012-04-27 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 2
|
30
|
-
- 0
|
31
|
-
- 4
|
32
|
-
version: 2.0.4
|
33
|
-
type: :development
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: hoe
|
37
|
-
prerelease: false
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 2
|
45
|
-
- 6
|
46
|
-
- 2
|
47
|
-
version: 2.6.2
|
48
|
-
type: :development
|
49
|
-
version_requirements: *id002
|
50
|
-
description: Install this gem and require 'image_voodoo' to load the library.
|
51
|
-
email: enebo@acm.org, headius@headius.com
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: Image manipulation in JRuby with ImageScience compatible API
|
22
|
+
email: tom.enebo@gmail.com
|
52
23
|
executables:
|
53
|
-
|
24
|
+
- image_voodoo
|
54
25
|
extensions: []
|
55
26
|
|
56
|
-
extra_rdoc_files:
|
57
|
-
|
58
|
-
- README.txt
|
59
|
-
- LICENSE.txt
|
27
|
+
extra_rdoc_files: []
|
28
|
+
|
60
29
|
files:
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
30
|
+
- .gitignore
|
31
|
+
- .hgignore
|
32
|
+
- .hgtags
|
33
|
+
- History.txt
|
34
|
+
- LICENSE.txt
|
35
|
+
- Manifest.txt
|
36
|
+
- README.txt
|
37
|
+
- Rakefile
|
38
|
+
- bin/image_voodoo
|
39
|
+
- image_voodoo.gemspec
|
40
|
+
- lib/image_science.rb
|
41
|
+
- lib/image_voodoo.rb
|
42
|
+
- lib/image_voodoo/awt.rb
|
43
|
+
- lib/image_voodoo/gae.rb
|
44
|
+
- lib/image_voodoo/version.rb
|
45
|
+
- samples/bench.rb
|
46
|
+
- samples/checkerboard.jpg
|
47
|
+
- samples/file_greyscale.rb
|
48
|
+
- samples/file_thumbnail.rb
|
49
|
+
- samples/file_view.rb
|
50
|
+
- samples/in-memory.rb
|
51
|
+
- test/pix.png
|
52
|
+
- test/test_image_science.rb
|
79
53
|
has_rdoc: true
|
80
|
-
homepage: http://
|
54
|
+
homepage: http://github.com/jruby/image_voodoo
|
81
55
|
licenses: []
|
82
56
|
|
83
57
|
post_install_message:
|
84
|
-
rdoc_options:
|
85
|
-
|
86
|
-
- README.txt
|
58
|
+
rdoc_options: []
|
59
|
+
|
87
60
|
require_paths:
|
88
|
-
|
61
|
+
- lib
|
89
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
63
|
requirements:
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
segments:
|
67
|
+
- 0
|
68
|
+
version: "0"
|
97
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
70
|
requirements:
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
105
76
|
requirements: []
|
106
77
|
|
107
|
-
rubyforge_project:
|
108
|
-
rubygems_version: 1.3.
|
78
|
+
rubyforge_project: image_voodoo
|
79
|
+
rubygems_version: 1.3.6
|
109
80
|
signing_key:
|
110
81
|
specification_version: 3
|
111
82
|
summary: Image manipulation in JRuby with ImageScience compatible API
|
112
83
|
test_files:
|
113
|
-
|
84
|
+
- test/pix.png
|
85
|
+
- test/test_image_science.rb
|