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.
@@ -0,0 +1,2 @@
1
+ /pkg
2
+ *~
@@ -0,0 +1,12 @@
1
+ syntax: glob
2
+ nbproject/
3
+ *~
4
+
5
+ syntax: regexp
6
+ ^pkg/
7
+
8
+ \.orig\..*$
9
+ \.orig$
10
+ \.chg\..*$
11
+ \.rej$
12
+ \.conflict\~$
data/.hgtags ADDED
@@ -0,0 +1,3 @@
1
+ 7f113e6505d7b9ef9a16401b2ee5de712368fdf1 0.5
2
+ 4f5b594c7920b796a74baacc5e1ec91b0e33ffd8 0.6
3
+ 70f8d5bf5d6a91c0d18739be9da8700ab6e8ce09 0.7
@@ -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
- MANIFEST = FileList["bin/*", "Manifest.txt", "Rakefile", "README.txt", "LICENSE.txt", "lib/**/*", "samples/*","test/**/*"]
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
@@ -1,3 +1,3 @@
1
1
  class ImageVoodoo
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
metadata CHANGED
@@ -3,111 +3,83 @@ name: image_voodoo
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
- - 0
7
- - 8
8
- - 0
9
- version: 0.8.0
6
+ - 0
7
+ - 8
8
+ - 1
9
+ version: 0.8.1
10
10
  platform: ruby
11
11
  authors:
12
- - Thomas Enebo, Charles Nutter and JRuby contributors
12
+ - Thomas E. Enebo, Charles Nutter, Nick Sieger
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-09 00:00:00 -08:00
17
+ date: 2012-04-27 00:00:00 -05:00
18
18
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: rubyforge
22
- prerelease: false
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
- - image_voodoo
24
+ - image_voodoo
54
25
  extensions: []
55
26
 
56
- extra_rdoc_files:
57
- - Manifest.txt
58
- - README.txt
59
- - LICENSE.txt
27
+ extra_rdoc_files: []
28
+
60
29
  files:
61
- - bin/image_voodoo
62
- - Manifest.txt
63
- - Rakefile
64
- - README.txt
65
- - LICENSE.txt
66
- - lib/image_science.rb
67
- - lib/image_voodoo.rb
68
- - lib/image_voodoo/awt.rb
69
- - lib/image_voodoo/gae.rb
70
- - lib/image_voodoo/version.rb
71
- - samples/bench.rb
72
- - samples/checkerboard.jpg
73
- - samples/file_greyscale.rb
74
- - samples/file_thumbnail.rb
75
- - samples/file_view.rb
76
- - samples/in-memory.rb
77
- - test/pix.png
78
- - test/test_image_science.rb
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://jruby-extras.rubyforge.org/image_voodoo
54
+ homepage: http://github.com/jruby/image_voodoo
81
55
  licenses: []
82
56
 
83
57
  post_install_message:
84
- rdoc_options:
85
- - --main
86
- - README.txt
58
+ rdoc_options: []
59
+
87
60
  require_paths:
88
- - lib
61
+ - lib
89
62
  required_ruby_version: !ruby/object:Gem::Requirement
90
- none: false
91
63
  requirements:
92
- - - ">="
93
- - !ruby/object:Gem::Version
94
- segments:
95
- - 0
96
- version: "0"
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
- - !ruby/object:Gem::Version
102
- segments:
103
- - 0
104
- version: "0"
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ segments:
74
+ - 0
75
+ version: "0"
105
76
  requirements: []
106
77
 
107
- rubyforge_project: jruby-extras
108
- rubygems_version: 1.3.7
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
- - test/test_image_science.rb
84
+ - test/pix.png
85
+ - test/test_image_science.rb