rmagick4j 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0c8a3d0f2639a6d975fc73808b165051bfb049fb
4
+ data.tar.gz: 0eab21321d4116805cf3000f2b33f25114a06bc2
5
+ SHA512:
6
+ metadata.gz: cc69def351297928e1230dc04ee0147d894b94677c3258837cab226dea1e74894e72ccb785cc2563081ffcc620e8bb027367caf669b04868a4f0cf20dfe4fe96
7
+ data.tar.gz: 2fa95a556da17b386e6ad11bb82c25e070e3ae4220815f948ea3d5649e7f6b81ccc497d47d2d9d5893b4d60bc6ca227c9833a422875ba1e78495f452035eb006
@@ -4,6 +4,28 @@ RMagick.rb, clown.jpg, most of rmagick.gemspec, and the contents of rvg come fro
4
4
 
5
5
  See these respective projects for the licenses and ownership of these files.
6
6
 
7
- Other files in RMagickJr are hereby placed in the public domain.
7
+ Other files lies under MIT license.
8
8
 
9
- - Thomas Palmer
9
+ Copyright (c) 2010 Tom Palmer, Sergio Arbeo, Patrick Hurley, Karl Palmskog
10
+
11
+ Permission is hereby granted, free of charge, to any
12
+ person obtaining a copy of this software and associated
13
+ documentation files (the "Software"), to deal in the
14
+ Software without restriction, including without limitation
15
+ the rights to use, copy, modify, merge, publish,
16
+ distribute, sublicense, and/or sell copies of the
17
+ Software, and to permit persons to whom the Software is
18
+ furnished to do so, subject to the following conditions:
19
+
20
+ The above copyright notice and this permission notice
21
+ shall be included in all copies or substantial portions of
22
+ the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
25
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
26
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
27
+ PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
28
+ OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
29
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
30
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
31
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,29 +1,18 @@
1
- #TODO Remove all unnecessary code.
2
-
3
1
  require 'rake'
4
2
  require 'rake/testtask'
3
+ require 'bundler/gem_tasks'
5
4
 
6
- task :default => [:compile]
5
+ task :default => [:test, :gruff_test, :gem]
6
+ task :gem => :build
7
7
 
8
8
  jar_file = File.join(%w(lib magick4j.jar))
9
- src_files = FileList['ext/rmagick4j/src/**/*.java'].join(' ')
10
- classes_dir = File.join(%w(pkg classes))
11
-
12
- desc "Compile the native Java code."
13
- task :compile do
14
- # mkdir_p classes_dir
15
- # sh "javac -target 1.5 -source 1.5 -d #{classes_dir} #{classpath} #{src_files}"
16
- # sh "jar cf #{jar_file} -C #{classes_dir} ."
17
- end
18
- file jar_file => :compile
19
9
 
20
- desc "Clean up any generated file."
10
+ desc 'Clean up any generated file.'
21
11
  task :clean do
22
12
  rm_rf 'pkg'
23
- #rm_rf jar_file
24
13
  end
25
14
 
26
- desc "Run gruff unit tests."
15
+ desc 'Run gruff unit tests.'
27
16
  task :gruff_test do
28
17
  FileList['test/gruff_tests/test/test_*.rb'].each do |file|
29
18
  puts `ruby #{file}`
@@ -31,20 +20,15 @@ task :gruff_test do
31
20
  end
32
21
  end
33
22
 
34
- desc "Run a live sample using RMagick4j."
23
+ desc 'Run a live sample using RMagick4j.'
35
24
  task :sample do
36
25
  load_paths = '-Ijruby -Ilib -Ipkg'
37
26
  sh "java #{classpath(jar_file)} org.jruby.Main #{load_paths} test/RMagickTestSuite.rb addWatermark"
38
27
  end
39
28
 
40
- # MANIFEST does not see this file, so touch it so it always appears
41
- # to be there (this is a hack and someone more knowledgable can hopefully
42
- # figure this out.
43
- #File.open('lib/magick4j.jar', 'a') {}
44
-
45
29
  task :spec do
46
30
  require 'spec/rake/spectask'
47
- desc "Runs Java Integration Specs"
31
+ desc 'Runs Java Integration Specs'
48
32
 
49
33
  Spec::Rake::SpecTask.new do |t|
50
34
  t.spec_opts ||= []
@@ -67,35 +51,7 @@ task :stories do
67
51
  end
68
52
  end
69
53
 
70
- MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt",
71
- "Rakefile", "LICENSE.txt", "lib/**/*.rb", "lib/**/*.jar",
72
- "test/**/*.rb", "test/**/execute_test", "test/images/*.jpg", "ext/rmagick4j/src/**/*.java"]
73
-
74
- file "Manifest.txt" => :manifest
75
- task :manifest do
76
- File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
77
- end
78
- Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
79
-
80
- require File.dirname(__FILE__) + "/lib/rmagick4j/version"
81
- begin
82
- require 'hoe'
83
- Hoe.new("rmagick4j", RMagick4J::Version::VERSION) do |p|
84
- p.rubyforge_name = "jruby-extras"
85
- p.url = "http://jruby-extras.rubyforge.org/rmagick4j"
86
- p.author = "Thomas Palmer, Sergio Rodríguez Arbeo and Thomas Enebo"
87
- p.email = "serabe@gmail.com, tom.enebo@gmail.com"
88
- p.summary = "RMagick for Java"
89
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
90
- p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
91
- end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
92
- rescue LoadError
93
- puts "You really need Hoe installed to be able to package this gem"
94
- rescue => e
95
- puts "ignoring error while loading hoe: #{e.to_s}"
96
- end
97
-
98
- %w(package install_gem debug_gem gem).each { |t| task t => :compile }
54
+ %w(package install_gem debug_gem).each { |t| task t => :compile }
99
55
 
100
56
  # helper methods below
101
57
 
@@ -58,19 +58,16 @@ class Geometry
58
58
 
59
59
  # Support floating-point width and height arguments so Geometry
60
60
  # objects can be used to specify Image#density= arguments.
61
- if width == nil
62
- @width = 0
63
- elsif width.to_f >= 0.0
64
- @width = width.to_f
65
- else
66
- Kernel.raise ArgumentError, "width must be >= 0: #{width}"
61
+ if width && width.to_f >= 0.0
62
+ @width = width.to_f
63
+ elsif width
64
+ Kernel.raise ArgumentError, "width must be >= 0: #{width}"
67
65
  end
68
- if height == nil
69
- @height = 0
70
- elsif height.to_f >= 0.0
71
- @height = height.to_f
72
- else
73
- Kernel.raise ArgumentError, "height must be >= 0: #{height}"
66
+
67
+ if height && height.to_f >= 0.0
68
+ @height = height.to_f
69
+ elsif height
70
+ Kernel.raise ArgumentError, "height must be >= 0: #{height}"
74
71
  end
75
72
 
76
73
  @x = x.to_i
@@ -87,11 +84,10 @@ class Geometry
87
84
  RE = /\A#{W}x?#{H}#{X}#{Y}([!<>@\^]?)\Z/
88
85
 
89
86
  def Geometry.from_s(str)
90
-
91
87
  m = RE.match(str)
92
88
  if m
93
- width = (m[1] || m[2]).to_f
94
- height = (m[3] || m[4]).to_f
89
+ width = m[1].nil? && m[2].empty? ? nil : (m[1] || m[2]).to_f
90
+ height = m[3].nil? && m[4].empty? ? nil : (m[3] || m[4]).to_f
95
91
  x = m[5].to_i
96
92
  y = m[6].to_i
97
93
  flag = RFLAGS[m[7]]
@@ -107,17 +103,17 @@ class Geometry
107
103
  # Convert object to a geometry string
108
104
  def to_s
109
105
  str = ''
110
- if @width > 0
106
+ if @width && @width > 0
111
107
  fmt = @width.truncate == @width ? "%d" : "%.2f"
112
108
  str << sprintf(fmt, @width)
113
109
  str << '%' if @flag == PercentGeometry
114
110
  end
115
111
 
116
- if (@width > 0 && @flag != PercentGeometry) || (@height > 0)
112
+ if (@width && @width > 0 && @flag != PercentGeometry) || (@height && @height > 0)
117
113
  str << 'x'
118
114
  end
119
115
 
120
- if @height > 0
116
+ if @height && @height > 0
121
117
  fmt = @height.truncate == @height ? "%d" : "%.2f"
122
118
  str << sprintf(fmt, @height)
123
119
  str << '%' if @flag == PercentGeometry
Binary file
@@ -10,13 +10,25 @@ module Magick
10
10
 
11
11
  # Geometries
12
12
  JGeometry = Magick4J::Geometry
13
+
14
+ JRelativeHeightDistance = Magick4J::RelativeHeightDistance
15
+ JRelativeWidthDistance = Magick4J::RelativeWidthDistance
13
16
 
14
- JGeometries = [
15
- JGeometry,
16
- Magick4J::PercentGeometry,
17
- Magick4J::AspectGeometry,
18
- Magick4J::LessGeometry,
19
- Magick4J::GreaterGeometry,
20
- Magick4J::AreaGeometry
21
- ]
17
+ JHeightDistances = [
18
+ Magick4J::SimpleValueHeightDistance,
19
+ Magick4J::PercentValueHeightDistance,
20
+ Magick4J::AspectValueHeightDistance,
21
+ Magick4J::LessValueHeightDistance,
22
+ Magick4J::GreaterValueHeightDistance,
23
+ Magick4J::AreaValueHeightDistance
24
+ ]
25
+
26
+ JWidthDistances = [
27
+ Magick4J::SimpleValueWidthDistance,
28
+ Magick4J::PercentValueWidthDistance,
29
+ Magick4J::AspectValueWidthDistance,
30
+ Magick4J::LessValueWidthDistance,
31
+ Magick4J::GreaterValueWidthDistance,
32
+ Magick4J::AreaValueWidthDistance
33
+ ]
22
34
  end
@@ -73,8 +73,14 @@ module Magick
73
73
  else
74
74
  geometry.flag._val
75
75
  end
76
- geometry = JGeometries[index].new( geometry.width, geometry.height,
77
- geometry.x, geometry.y)
76
+ width_distance = geometry.width.nil? ?
77
+ JRelativeWidthDistance.new :
78
+ JWidthDistances[index].new(geometry.width)
79
+ height_distance = geometry.height.nil? ?
80
+ JRelativeHeightDistance.new :
81
+ JHeightDistances[index].new(geometry.height)
82
+ geometry = JGeometry.new(width_distance, height_distance,
83
+ geometry.x, geometry.y)
78
84
  yield geometry.calculate_width(self._image),
79
85
  geometry.calculate_height(self._image),
80
86
  self
@@ -305,6 +311,14 @@ module Magick
305
311
  self
306
312
  end
307
313
 
314
+ def file_type(file)
315
+ @image.file_type(file)
316
+ end
317
+
318
+ def file_path(file)
319
+ @image.file_path(file)
320
+ end
321
+
308
322
  class Info
309
323
 
310
324
  # TODO Replace with call to Java, or is this the better way? Should it be converted to the Java version only later?
@@ -1,5 +1,5 @@
1
1
  module RMagick4J
2
2
  module Version
3
- VERSION = "0.3.7"
3
+ VERSION = '0.3.8'
4
4
  end
5
5
  end
@@ -0,0 +1,18 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ include Magick
4
+
5
+ draw = Draw.new
6
+
7
+ draw.stroke = 'green'
8
+ draw.rectangle(200,20, 200,180)
9
+
10
+ draw.stroke = 'blue'
11
+ draw.rectangle(200,180, 80,180)
12
+
13
+ # b = Image.new(300, 300, HatchFill.new('white', 'black'))
14
+ b = Image.new(300, 300)
15
+
16
+ draw.draw b
17
+
18
+ b.write('draw_rectangle_narrow.jpg')
@@ -0,0 +1,22 @@
1
+ Given /a new Image sized (\d+) x (\d+)/ do |width, height|
2
+ @image = Image.new(width.to_i, height.to_i)
3
+ end
4
+
5
+ Given /a new Geometry from string (.*)/ do |geometry|
6
+ @geometry = Geometry.from_s(geometry)
7
+ end
8
+
9
+ When /changing geometry/ do
10
+ @image.change_geometry(@geometry) do |cols, rows, image|
11
+ @new_width = cols
12
+ @new_height = rows
13
+ end
14
+ end
15
+
16
+ Then /the new width should be (\d+)/ do |value|
17
+ @new_width.should eql(value.to_f)
18
+ end
19
+
20
+ Then /the new height should be (\d+)/ do |value|
21
+ @new_height.should eql(value.to_f)
22
+ end
@@ -0,0 +1,49 @@
1
+ Given /a new GradientFill with starting line (\d+) (\d+) (\d+) (\d+) with start color: (.*) and end color: (.*)/ do |x1, y1, x2, y2, start_color, end_color|
2
+ @fill = GradientFill.new(x1.to_i, y1.to_i, x2.to_i, y2.to_i, '#'+start_color, '#'+end_color)
3
+ end
4
+
5
+ Given /a new GradientFill with starting point (\d+) (\d+) with start color: (.*) and end color: (.*)/ do |x, y, start_color, end_color|
6
+ @fill = GradientFill.new(x.to_i, y.to_i, x.to_i, y.to_i, '#'+start_color, '#'+end_color)
7
+ end
8
+
9
+ Given /a new Image (.*) with extension (.*)/ do |image_name, extension|
10
+ @image = Image.read(File.join(File.dirname(__FILE__), '..', '..', '..', 'images', image_name+'.'+extension))
11
+ end
12
+
13
+ Given /a new TextureFill from image/ do
14
+ @fill = TextureFill.new(@image.first)
15
+ end
16
+
17
+ When /filling a new image sized (\d+) (\d+) with the Fill object/ do |columns, rows|
18
+ begin
19
+ @image = Image.new(columns.to_i, rows.to_i, @fill)
20
+ rescue
21
+ @image = nil
22
+ end
23
+ end
24
+
25
+ Then /the new image should not be (.*)/ do |value|
26
+ expected_value = case value
27
+ when 'nil': nil
28
+ when 'false': false
29
+ when 'true': true
30
+ when value.to_i.to_s: value.to_i
31
+ when value.to_f.to_s: value.to_f
32
+ else
33
+ value
34
+ end
35
+ @image.should_not be expected_value
36
+ end
37
+
38
+ Then /the new image should be (.*)/ do |value|
39
+ expected_value = case value
40
+ when 'nil': nil
41
+ when 'false': false
42
+ when 'true': true
43
+ when value.to_i.to_s: value.to_i
44
+ when value.to_f.to_s: value.to_f
45
+ else
46
+ value
47
+ end
48
+ @image.should be expected_value
49
+ end
@@ -0,0 +1,3 @@
1
+ require File.join(File.dirname(__FILE__), '..', '..', '..', '..','lib','RMagick')
2
+
3
+ include Magick
@@ -39,4 +39,45 @@ describe Image do
39
39
  it "should return a one-item array after reading an image" do
40
40
  @image.should have(1).images
41
41
  end
42
+
43
+ it "should have type for file with extension jpeg" do
44
+ @image = @image.first
45
+ @image.file_type('img.jpeg').should == 'JPEG'
46
+ end
47
+
48
+ it "should have type for file with extension jpg" do
49
+ @image = @image.first
50
+ @image.file_type('img.jpg').should == 'JPEG'
51
+ end
52
+
53
+ it "should have type for file with prefix jpeg" do
54
+ @image = @image.first
55
+ @image.file_type('jpeg:img').should == 'JPEG'
56
+ end
57
+
58
+ it "should have type for file with prefix jpg" do
59
+ @image = @image.first
60
+ @image.file_type('jpg:img').should == 'JPEG'
61
+ end
62
+
63
+ it "should have path for file with extension jpeg" do
64
+ @image = @image.first
65
+ @image.file_path('img.jpeg').should == 'img.jpeg'
66
+ end
67
+
68
+ it "should have type for file with extension jpg" do
69
+ @image = @image.first
70
+ @image.file_path('img.jpg').should == 'img.jpg'
71
+ end
72
+
73
+ it "should have type for file with prefix jpeg" do
74
+ @image = @image.first
75
+ @image.file_path('jpeg:img').should == 'img'
76
+ end
77
+
78
+ it "should have type for file with prefix jpg" do
79
+ @image = @image.first
80
+ @image.file_path('jpg:img').should == 'img'
81
+ end
82
+
42
83
  end
metadata CHANGED
@@ -1,242 +1,356 @@
1
- --- !ruby/object:Gem::Specification
2
- required_ruby_version: !ruby/object:Gem::Requirement
3
- requirements:
4
- - - '>='
5
- - !ruby/object:Gem::Version
6
- version: "0"
7
- version:
8
- email: serabe@gmail.com, tom.enebo@gmail.com
9
- cert_chain: []
10
-
11
- summary: RMagick for Java
12
- post_install_message:
13
- extra_rdoc_files:
14
- - History.txt
15
- - Manifest.txt
16
- - README.txt
17
- - LICENSE.txt
18
- homepage: http://jruby-extras.rubyforge.org/rmagick4j
19
- signing_key:
1
+ --- !ruby/object:Gem::Specification
20
2
  name: rmagick4j
21
- rdoc_options:
22
- - --main
23
- - README.txt
24
- autorequire:
25
- rubyforge_project: jruby-extras
26
- executables: []
27
-
28
- description: RMagick is a Ruby binding to ImageMagick and GraphicsMagick. RMagick4J
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.8
5
+ platform: ruby
6
+ authors:
7
+ - Thomas Palmer
8
+ - Sergio Arbeo
9
+ - Thomas Enebo
10
+ - Uwe Kubosch
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+ date: 2013-10-23 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rake
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ requirement: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ prerelease: false
29
+ type: :development
30
+ description: 'RMagick is a Ruby binding to ImageMagick and GraphicsMagick. RMagick4J
29
31
  implements ImageMagick functionality and the C portions of RMagick for use with
30
- JRuby.
31
- specification_version: 2
32
- default_executable:
33
- files:
32
+ JRuby. '
33
+ email:
34
+ - serabe@gmail.com
35
+ - tom.enebo@gmail.com
36
+ executables: []
37
+ extensions: []
38
+ extra_rdoc_files: []
39
+ files:
34
40
  - History.txt
35
- - Manifest.txt
36
41
  - README.txt
37
42
  - Rakefile
38
43
  - LICENSE.txt
39
44
  - lib/RMagick.rb
40
- - lib/rvg/stylable.rb
41
- - lib/rvg/deep_equal.rb
42
- - lib/rvg/pathdata.rb
43
- - lib/rvg/units.rb
44
- - lib/rvg/container.rb
45
- - lib/rvg/misc.rb
46
- - lib/rvg/paint.rb
47
- - lib/rvg/embellishable.rb
48
- - lib/rvg/describable.rb
49
- - lib/rvg/text.rb
50
- - lib/rvg/transformable.rb
51
- - lib/rvg/rvg.rb
52
- - lib/rvg/clippath.rb
53
- - lib/rvg/stretchable.rb
54
45
  - lib/rmagick4j/constants.rb
55
- - lib/rmagick4j/gradient_fill.rb
56
46
  - lib/rmagick4j/draw.rb
57
- - lib/rmagick4j/pixel.rb
58
- - lib/rmagick4j/rmagick4j.rb
47
+ - lib/rmagick4j/enum.rb
48
+ - lib/rmagick4j/gradient_fill.rb
59
49
  - lib/rmagick4j/image.rb
60
50
  - lib/rmagick4j/image_list.rb
61
- - lib/rmagick4j/version.rb
62
- - lib/rmagick4j/enum.rb
63
- - lib/rmagick4j/type_metric.rb
51
+ - lib/rmagick4j/pixel.rb
52
+ - lib/rmagick4j/rmagick4j.rb
64
53
  - lib/rmagick4j/texture_fill.rb
65
- - lib/svgsalamander.jar
54
+ - lib/rmagick4j/type_metric.rb
55
+ - lib/rmagick4j/version.rb
56
+ - lib/rvg/clippath.rb
57
+ - lib/rvg/container.rb
58
+ - lib/rvg/deep_equal.rb
59
+ - lib/rvg/describable.rb
60
+ - lib/rvg/embellishable.rb
61
+ - lib/rvg/misc.rb
62
+ - lib/rvg/paint.rb
63
+ - lib/rvg/pathdata.rb
64
+ - lib/rvg/rvg.rb
65
+ - lib/rvg/stretchable.rb
66
+ - lib/rvg/stylable.rb
67
+ - lib/rvg/text.rb
68
+ - lib/rvg/transformable.rb
69
+ - lib/rvg/units.rb
66
70
  - lib/magick4j.jar
71
+ - lib/svgsalamander.jar
67
72
  - test/implemented_methods.rb
68
73
  - test/RMagickTestSuite.rb
69
74
  - test/eyetests/bullseye.rb
70
75
  - test/eyetests/doc.rb
71
- - test/eyetests/tests/path_c_command_01.rb
72
- - test/eyetests/tests/draw_line_basic.rb
73
- - test/eyetests/tests/gruff_stacked_bar_2.rb
74
- - test/eyetests/tests/effect_blur.rb
76
+ - test/eyetests/tests/draw_arc_basic.rb
77
+ - test/eyetests/tests/draw_circle_affine.rb
78
+ - test/eyetests/tests/draw_circle_basic.rb
75
79
  - test/eyetests/tests/draw_clip_path.rb
76
- - test/eyetests/tests/gruff_sidestacked_bar_1.rb
77
- - test/eyetests/tests/store_pixel_smiley.rb
78
- - test/eyetests/tests/gruff_bar_1.rb
80
+ - test/eyetests/tests/draw_ellipse_affine.rb
81
+ - test/eyetests/tests/draw_ellipse_basic.rb
82
+ - test/eyetests/tests/draw_line_affine.rb
83
+ - test/eyetests/tests/draw_line_basic.rb
84
+ - test/eyetests/tests/draw_multiline_type_metrics.rb
85
+ - test/eyetests/tests/draw_pattern_1.rb
86
+ - test/eyetests/tests/draw_polygon_affine.rb
87
+ - test/eyetests/tests/draw_polygon_basic.rb
79
88
  - test/eyetests/tests/draw_polyline_affine.rb
80
- - test/eyetests/tests/effect_charcoal.rb
89
+ - test/eyetests/tests/draw_polyline_basic.rb
90
+ - test/eyetests/tests/draw_pop_push.rb
91
+ - test/eyetests/tests/draw_pop_push_translate.rb
92
+ - test/eyetests/tests/draw_rectangle_affine.rb
93
+ - test/eyetests/tests/draw_rectangle_basic.rb
94
+ - test/eyetests/tests/draw_rectangle_narrow.rb
95
+ - test/eyetests/tests/draw_rmagick_test_01.rb
81
96
  - test/eyetests/tests/draw_rmagick_test_02.rb
82
- - test/eyetests/tests/path_m_command_02.rb
83
- - test/eyetests/tests/draw_circle_affine.rb
84
- - test/eyetests/tests/gruff_pie_2.rb
85
- - test/eyetests/tests/effect_negate_true.rb
86
- - test/eyetests/tests/draw_pattern_1.rb
87
- - test/eyetests/tests/draw_arc_basic.rb
88
- - test/eyetests/tests/gruff_net_1.rb
89
- - test/eyetests/tests/path_h_command_01.rb
90
- - test/eyetests/tests/path_a_command_02.rb
91
- - test/eyetests/tests/path_m_command_03.rb
92
- - test/eyetests/tests/effect_implode.rb
93
97
  - test/eyetests/tests/draw_rmagick_test_03.rb
94
- - test/eyetests/tests/gruff_scene_2.rb
95
- - test/eyetests/tests/path_h_command_02.rb
98
+ - test/eyetests/tests/draw_rmagick_test_04.rb
99
+ - test/eyetests/tests/draw_rotate_01.rb
96
100
  - test/eyetests/tests/draw_roundrectangle_affine.rb
97
- - test/eyetests/tests/gruff_bar_2.rb
98
- - test/eyetests/tests/gruff_area_1.rb
99
- - test/eyetests/tests/path_c_command_02.rb
100
- - test/eyetests/tests/hatch_fill.rb
101
- - test/eyetests/tests/gruff_line_1.rb
102
- - test/eyetests/tests/path_complex_01.rb
103
- - test/eyetests/tests/path_l_command_02.rb
104
- - test/eyetests/tests/path_q_command_03.rb
105
- - test/eyetests/tests/path_star_01.rb
106
- - test/eyetests/tests/gruff_stacked_area_1.rb
101
+ - test/eyetests/tests/draw_roundrectangle_basic.rb
102
+ - test/eyetests/tests/draw_scale_01.rb
103
+ - test/eyetests/tests/draw_skewx_01.rb
104
+ - test/eyetests/tests/draw_skewy_01.rb
105
+ - test/eyetests/tests/draw_stroke_miterlimit.rb
106
+ - test/eyetests/tests/effect_blur.rb
107
+ - test/eyetests/tests/effect_charcoal.rb
108
+ - test/eyetests/tests/effect_edge.rb
109
+ - test/eyetests/tests/effect_implode.rb
110
+ - test/eyetests/tests/effect_negate.rb
111
+ - test/eyetests/tests/effect_negate_true.rb
107
112
  - test/eyetests/tests/effect_normalize.rb
108
- - test/eyetests/tests/path_espiral_01.rb
113
+ - test/eyetests/tests/effect_shade.rb
109
114
  - test/eyetests/tests/effect_solarize.rb
110
- - test/eyetests/tests/draw_rotate_01.rb
115
+ - test/eyetests/tests/effect_wave.rb
116
+ - test/eyetests/tests/gradient_fill_horizontal_diagonal_fill.rb
117
+ - test/eyetests/tests/gradient_fill_horizontal_fill.rb
118
+ - test/eyetests/tests/gradient_fill_point_fill.rb
119
+ - test/eyetests/tests/gradient_fill_vertical_diagonal_fill.rb
120
+ - test/eyetests/tests/gradient_fill_vertical_fill.rb
121
+ - test/eyetests/tests/gruff_accumulator_bar.rb
122
+ - test/eyetests/tests/gruff_area_1.rb
111
123
  - test/eyetests/tests/gruff_area_2.rb
124
+ - test/eyetests/tests/gruff_bar_1.rb
125
+ - test/eyetests/tests/gruff_bar_2.rb
126
+ - test/eyetests/tests/gruff_dot_1.rb
127
+ - test/eyetests/tests/gruff_line_1.rb
128
+ - test/eyetests/tests/gruff_line_2.rb
129
+ - test/eyetests/tests/gruff_net_1.rb
112
130
  - test/eyetests/tests/gruff_net_2.rb
113
- - test/eyetests/tests/draw_ellipse_affine.rb
114
- - test/eyetests/tests/draw_rectangle_affine.rb
115
- - test/eyetests/tests/gruff_spider_1.rb
116
131
  - test/eyetests/tests/gruff_pie_1.rb
117
- - test/eyetests/tests/path_t_command_01.rb
118
- - test/eyetests/tests/gruff_sidebar.rb
132
+ - test/eyetests/tests/gruff_pie_2.rb
119
133
  - test/eyetests/tests/gruff_scene_1.rb
120
- - test/eyetests/tests/draw_pop_push.rb
121
- - test/eyetests/tests/draw_ellipse_basic.rb
122
- - test/eyetests/tests/draw_rmagick_test_01.rb
123
- - test/eyetests/tests/gruff_dot_1.rb
124
- - test/eyetests/tests/gradient_fill_horizontal_fill.rb
125
- - test/eyetests/tests/path_t_command_02.rb
126
- - test/eyetests/tests/path_v_command_02.rb
127
- - test/eyetests/tests/gruff_accumulator_bar.rb
128
- - test/eyetests/tests/path_l_command_01.rb
129
- - test/eyetests/tests/gruff_line_2.rb
130
- - test/eyetests/tests/path_s_command_02.rb
131
- - test/eyetests/tests/draw_multiline_type_metrics.rb
132
- - test/eyetests/tests/effect_wave.rb
133
- - test/eyetests/tests/path_q_command_01.rb
134
- - test/eyetests/tests/draw_rmagick_test_04.rb
135
- - test/eyetests/tests/draw_stroke_miterlimit.rb
136
- - test/eyetests/tests/draw_roundrectangle_basic.rb
134
+ - test/eyetests/tests/gruff_scene_2.rb
135
+ - test/eyetests/tests/gruff_sidebar.rb
136
+ - test/eyetests/tests/gruff_sidestacked_bar_1.rb
137
+ - test/eyetests/tests/gruff_sidestacked_bar_2.rb
138
+ - test/eyetests/tests/gruff_spider_1.rb
137
139
  - test/eyetests/tests/gruff_spider_2.rb
138
- - test/eyetests/tests/gradient_fill_horizontal_diagonal_fill.rb
139
- - test/eyetests/tests/path_s_command_01.rb
140
+ - test/eyetests/tests/gruff_stacked_area_1.rb
141
+ - test/eyetests/tests/gruff_stacked_bar_1.rb
142
+ - test/eyetests/tests/gruff_stacked_bar_2.rb
143
+ - test/eyetests/tests/hatch_fill.rb
140
144
  - test/eyetests/tests/image_list_flatten_images.rb
141
- - test/eyetests/tests/effect_shade.rb
142
- - test/eyetests/tests/draw_pop_push_translate.rb
143
- - test/eyetests/tests/draw_polygon_basic.rb
145
+ - test/eyetests/tests/new_image.rb
146
+ - test/eyetests/tests/path_a_command_01.rb
147
+ - test/eyetests/tests/path_a_command_02.rb
148
+ - test/eyetests/tests/path_c_command_01.rb
149
+ - test/eyetests/tests/path_c_command_02.rb
150
+ - test/eyetests/tests/path_complex_01.rb
151
+ - test/eyetests/tests/path_espiral_01.rb
152
+ - test/eyetests/tests/path_h_command_01.rb
153
+ - test/eyetests/tests/path_h_command_02.rb
154
+ - test/eyetests/tests/path_l_command_01.rb
155
+ - test/eyetests/tests/path_l_command_02.rb
156
+ - test/eyetests/tests/path_m_command_01.rb
157
+ - test/eyetests/tests/path_m_command_02.rb
158
+ - test/eyetests/tests/path_m_command_03.rb
159
+ - test/eyetests/tests/path_q_command_01.rb
144
160
  - test/eyetests/tests/path_q_command_02.rb
145
- - test/eyetests/tests/draw_polyline_basic.rb
161
+ - test/eyetests/tests/path_q_command_03.rb
162
+ - test/eyetests/tests/path_s_command_01.rb
163
+ - test/eyetests/tests/path_s_command_02.rb
164
+ - test/eyetests/tests/path_star_01.rb
165
+ - test/eyetests/tests/path_t_command_01.rb
166
+ - test/eyetests/tests/path_t_command_02.rb
146
167
  - test/eyetests/tests/path_v_command_01.rb
147
- - test/eyetests/tests/draw_skewy_01.rb
148
- - test/eyetests/tests/gradient_fill_vertical_diagonal_fill.rb
149
- - test/eyetests/tests/gruff_sidestacked_bar_2.rb
150
- - test/eyetests/tests/path_m_command_01.rb
151
- - test/eyetests/tests/effect_edge.rb
152
- - test/eyetests/tests/draw_skewx_01.rb
153
- - test/eyetests/tests/gradient_fill_vertical_fill.rb
154
- - test/eyetests/tests/gruff_stacked_bar_1.rb
155
- - test/eyetests/tests/draw_polygon_affine.rb
156
- - test/eyetests/tests/draw_circle_basic.rb
157
- - test/eyetests/tests/new_image.rb
158
- - test/eyetests/tests/effect_negate.rb
168
+ - test/eyetests/tests/path_v_command_02.rb
169
+ - test/eyetests/tests/store_pixel_smiley.rb
159
170
  - test/eyetests/tests/texture_fill.rb
160
- - test/eyetests/tests/draw_rectangle_basic.rb
161
- - test/eyetests/tests/path_a_command_01.rb
162
- - test/eyetests/tests/draw_scale_01.rb
163
- - test/eyetests/tests/gradient_fill_point_fill.rb
164
- - test/eyetests/tests/draw_line_affine.rb
165
- - test/gruff_tests/test/test_base.rb
166
- - test/gruff_tests/test/test_scene.rb
167
- - test/gruff_tests/test/test_photo.rb
168
- - test/gruff_tests/test/test_legend.rb
169
- - test/gruff_tests/test/test_dot.rb
170
- - test/gruff_tests/test/test_bullet.rb
171
- - test/gruff_tests/test/test_area.rb
172
- - test/gruff_tests/test/test_bar.rb
173
- - test/gruff_tests/test/test_pie.rb
174
- - test/gruff_tests/test/test_net.rb
175
- - test/gruff_tests/test/test_mini_bar.rb
176
- - test/gruff_tests/test/test_stacked_bar.rb
171
+ - test/gruff_tests/test/gruff_test_case.rb
177
172
  - test/gruff_tests/test/monkey_gruff.rb
178
173
  - test/gruff_tests/test/test_accumulator_bar.rb
179
- - test/gruff_tests/test/test_stacked_area.rb
180
- - test/gruff_tests/test/test_sidestacked_bar.rb
174
+ - test/gruff_tests/test/test_area.rb
175
+ - test/gruff_tests/test/test_bar.rb
176
+ - test/gruff_tests/test/test_base.rb
177
+ - test/gruff_tests/test/test_bullet.rb
178
+ - test/gruff_tests/test/test_dot.rb
179
+ - test/gruff_tests/test/test_legend.rb
181
180
  - test/gruff_tests/test/test_line.rb
182
- - test/gruff_tests/test/test_side_bar.rb
183
- - test/gruff_tests/test/test_mini_side_bar.rb
184
- - test/gruff_tests/test/gruff_test_case.rb
181
+ - test/gruff_tests/test/test_mini_bar.rb
185
182
  - test/gruff_tests/test/test_mini_pie.rb
183
+ - test/gruff_tests/test/test_mini_side_bar.rb
184
+ - test/gruff_tests/test/test_net.rb
185
+ - test/gruff_tests/test/test_photo.rb
186
+ - test/gruff_tests/test/test_pie.rb
187
+ - test/gruff_tests/test/test_scene.rb
188
+ - test/gruff_tests/test/test_side_bar.rb
189
+ - test/gruff_tests/test/test_sidestacked_bar.rb
186
190
  - test/gruff_tests/test/test_spider.rb
191
+ - test/gruff_tests/test/test_stacked_area.rb
192
+ - test/gruff_tests/test/test_stacked_bar.rb
187
193
  - test/spec/draw_spec.rb
188
- - test/spec/pixel_spec.rb
189
194
  - test/spec/image_constants.rb
190
195
  - test/spec/image_spec.rb
191
- - test/spec/stories/image_filling_steps.rb
192
- - test/spec/stories/geometry_story.rb
193
- - test/spec/stories/image_filling_story.rb
194
- - test/spec/stories/geometry_runner.rb
195
- - test/spec/stories/geometry_steps.rb
196
- - test/spec/stories/image_filling_runner.rb
196
+ - test/spec/pixel_spec.rb
197
+ - test/spec/features/step_definitions/geometry_steps.rb
198
+ - test/spec/features/step_definitions/image_filling_steps.rb
199
+ - test/spec/features/support/env.rb
197
200
  - test/images/clown.jpg
198
201
  - test/images/texture.jpg
199
- required_rubygems_version: !ruby/object:Gem::Requirement
200
- requirements:
202
+ homepage: https://github.com/Serabe/RMagick4J
203
+ licenses:
204
+ - MIT
205
+ metadata: {}
206
+ post_install_message:
207
+ rdoc_options: []
208
+ require_paths:
209
+ - lib
210
+ required_ruby_version: !ruby/object:Gem::Requirement
211
+ requirements:
201
212
  - - '>='
202
- - !ruby/object:Gem::Version
203
- version: "0"
204
- version:
205
- extensions: []
206
-
207
- rubygems_version: 1.3.1
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ required_rubygems_version: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
208
220
  requirements: []
209
-
210
- authors:
211
- - "Thomas Palmer, Sergio Rodr\xc3\xadguez Arbeo and Thomas Enebo"
212
- date: 2009-03-21 23:00:00 +00:00
213
- platform: ruby
214
- test_files:
215
- - test/gruff_tests/test/test_base.rb
216
- - test/gruff_tests/test/test_scene.rb
217
- - test/gruff_tests/test/test_photo.rb
218
- - test/gruff_tests/test/test_legend.rb
219
- - test/gruff_tests/test/test_dot.rb
220
- - test/gruff_tests/test/test_bullet.rb
221
+ rubyforge_project: jruby-extras
222
+ rubygems_version: 2.1.9
223
+ signing_key:
224
+ specification_version: 4
225
+ summary: RMagick for Java
226
+ test_files:
227
+ - test/implemented_methods.rb
228
+ - test/RMagickTestSuite.rb
229
+ - test/eyetests/bullseye.rb
230
+ - test/eyetests/doc.rb
231
+ - test/eyetests/tests/draw_arc_basic.rb
232
+ - test/eyetests/tests/draw_circle_affine.rb
233
+ - test/eyetests/tests/draw_circle_basic.rb
234
+ - test/eyetests/tests/draw_clip_path.rb
235
+ - test/eyetests/tests/draw_ellipse_affine.rb
236
+ - test/eyetests/tests/draw_ellipse_basic.rb
237
+ - test/eyetests/tests/draw_line_affine.rb
238
+ - test/eyetests/tests/draw_line_basic.rb
239
+ - test/eyetests/tests/draw_multiline_type_metrics.rb
240
+ - test/eyetests/tests/draw_pattern_1.rb
241
+ - test/eyetests/tests/draw_polygon_affine.rb
242
+ - test/eyetests/tests/draw_polygon_basic.rb
243
+ - test/eyetests/tests/draw_polyline_affine.rb
244
+ - test/eyetests/tests/draw_polyline_basic.rb
245
+ - test/eyetests/tests/draw_pop_push.rb
246
+ - test/eyetests/tests/draw_pop_push_translate.rb
247
+ - test/eyetests/tests/draw_rectangle_affine.rb
248
+ - test/eyetests/tests/draw_rectangle_basic.rb
249
+ - test/eyetests/tests/draw_rectangle_narrow.rb
250
+ - test/eyetests/tests/draw_rmagick_test_01.rb
251
+ - test/eyetests/tests/draw_rmagick_test_02.rb
252
+ - test/eyetests/tests/draw_rmagick_test_03.rb
253
+ - test/eyetests/tests/draw_rmagick_test_04.rb
254
+ - test/eyetests/tests/draw_rotate_01.rb
255
+ - test/eyetests/tests/draw_roundrectangle_affine.rb
256
+ - test/eyetests/tests/draw_roundrectangle_basic.rb
257
+ - test/eyetests/tests/draw_scale_01.rb
258
+ - test/eyetests/tests/draw_skewx_01.rb
259
+ - test/eyetests/tests/draw_skewy_01.rb
260
+ - test/eyetests/tests/draw_stroke_miterlimit.rb
261
+ - test/eyetests/tests/effect_blur.rb
262
+ - test/eyetests/tests/effect_charcoal.rb
263
+ - test/eyetests/tests/effect_edge.rb
264
+ - test/eyetests/tests/effect_implode.rb
265
+ - test/eyetests/tests/effect_negate.rb
266
+ - test/eyetests/tests/effect_negate_true.rb
267
+ - test/eyetests/tests/effect_normalize.rb
268
+ - test/eyetests/tests/effect_shade.rb
269
+ - test/eyetests/tests/effect_solarize.rb
270
+ - test/eyetests/tests/effect_wave.rb
271
+ - test/eyetests/tests/gradient_fill_horizontal_diagonal_fill.rb
272
+ - test/eyetests/tests/gradient_fill_horizontal_fill.rb
273
+ - test/eyetests/tests/gradient_fill_point_fill.rb
274
+ - test/eyetests/tests/gradient_fill_vertical_diagonal_fill.rb
275
+ - test/eyetests/tests/gradient_fill_vertical_fill.rb
276
+ - test/eyetests/tests/gruff_accumulator_bar.rb
277
+ - test/eyetests/tests/gruff_area_1.rb
278
+ - test/eyetests/tests/gruff_area_2.rb
279
+ - test/eyetests/tests/gruff_bar_1.rb
280
+ - test/eyetests/tests/gruff_bar_2.rb
281
+ - test/eyetests/tests/gruff_dot_1.rb
282
+ - test/eyetests/tests/gruff_line_1.rb
283
+ - test/eyetests/tests/gruff_line_2.rb
284
+ - test/eyetests/tests/gruff_net_1.rb
285
+ - test/eyetests/tests/gruff_net_2.rb
286
+ - test/eyetests/tests/gruff_pie_1.rb
287
+ - test/eyetests/tests/gruff_pie_2.rb
288
+ - test/eyetests/tests/gruff_scene_1.rb
289
+ - test/eyetests/tests/gruff_scene_2.rb
290
+ - test/eyetests/tests/gruff_sidebar.rb
291
+ - test/eyetests/tests/gruff_sidestacked_bar_1.rb
292
+ - test/eyetests/tests/gruff_sidestacked_bar_2.rb
293
+ - test/eyetests/tests/gruff_spider_1.rb
294
+ - test/eyetests/tests/gruff_spider_2.rb
295
+ - test/eyetests/tests/gruff_stacked_area_1.rb
296
+ - test/eyetests/tests/gruff_stacked_bar_1.rb
297
+ - test/eyetests/tests/gruff_stacked_bar_2.rb
298
+ - test/eyetests/tests/hatch_fill.rb
299
+ - test/eyetests/tests/image_list_flatten_images.rb
300
+ - test/eyetests/tests/new_image.rb
301
+ - test/eyetests/tests/path_a_command_01.rb
302
+ - test/eyetests/tests/path_a_command_02.rb
303
+ - test/eyetests/tests/path_c_command_01.rb
304
+ - test/eyetests/tests/path_c_command_02.rb
305
+ - test/eyetests/tests/path_complex_01.rb
306
+ - test/eyetests/tests/path_espiral_01.rb
307
+ - test/eyetests/tests/path_h_command_01.rb
308
+ - test/eyetests/tests/path_h_command_02.rb
309
+ - test/eyetests/tests/path_l_command_01.rb
310
+ - test/eyetests/tests/path_l_command_02.rb
311
+ - test/eyetests/tests/path_m_command_01.rb
312
+ - test/eyetests/tests/path_m_command_02.rb
313
+ - test/eyetests/tests/path_m_command_03.rb
314
+ - test/eyetests/tests/path_q_command_01.rb
315
+ - test/eyetests/tests/path_q_command_02.rb
316
+ - test/eyetests/tests/path_q_command_03.rb
317
+ - test/eyetests/tests/path_s_command_01.rb
318
+ - test/eyetests/tests/path_s_command_02.rb
319
+ - test/eyetests/tests/path_star_01.rb
320
+ - test/eyetests/tests/path_t_command_01.rb
321
+ - test/eyetests/tests/path_t_command_02.rb
322
+ - test/eyetests/tests/path_v_command_01.rb
323
+ - test/eyetests/tests/path_v_command_02.rb
324
+ - test/eyetests/tests/store_pixel_smiley.rb
325
+ - test/eyetests/tests/texture_fill.rb
326
+ - test/gruff_tests/test/gruff_test_case.rb
327
+ - test/gruff_tests/test/monkey_gruff.rb
328
+ - test/gruff_tests/test/test_accumulator_bar.rb
221
329
  - test/gruff_tests/test/test_area.rb
222
330
  - test/gruff_tests/test/test_bar.rb
223
- - test/gruff_tests/test/test_pie.rb
224
- - test/gruff_tests/test/test_net.rb
225
- - test/gruff_tests/test/test_mini_bar.rb
226
- - test/gruff_tests/test/test_stacked_bar.rb
227
- - test/gruff_tests/test/test_accumulator_bar.rb
228
- - test/gruff_tests/test/test_stacked_area.rb
229
- - test/gruff_tests/test/test_sidestacked_bar.rb
331
+ - test/gruff_tests/test/test_base.rb
332
+ - test/gruff_tests/test/test_bullet.rb
333
+ - test/gruff_tests/test/test_dot.rb
334
+ - test/gruff_tests/test/test_legend.rb
230
335
  - test/gruff_tests/test/test_line.rb
231
- - test/gruff_tests/test/test_side_bar.rb
232
- - test/gruff_tests/test/test_mini_side_bar.rb
336
+ - test/gruff_tests/test/test_mini_bar.rb
233
337
  - test/gruff_tests/test/test_mini_pie.rb
338
+ - test/gruff_tests/test/test_mini_side_bar.rb
339
+ - test/gruff_tests/test/test_net.rb
340
+ - test/gruff_tests/test/test_photo.rb
341
+ - test/gruff_tests/test/test_pie.rb
342
+ - test/gruff_tests/test/test_scene.rb
343
+ - test/gruff_tests/test/test_side_bar.rb
344
+ - test/gruff_tests/test/test_sidestacked_bar.rb
234
345
  - test/gruff_tests/test/test_spider.rb
235
- version: !ruby/object:Gem::Version
236
- version: 0.3.7
237
- require_paths:
238
- - lib
239
- dependencies: []
240
-
241
- bindir: bin
242
- has_rdoc: true
346
+ - test/gruff_tests/test/test_stacked_area.rb
347
+ - test/gruff_tests/test/test_stacked_bar.rb
348
+ - test/spec/draw_spec.rb
349
+ - test/spec/image_constants.rb
350
+ - test/spec/image_spec.rb
351
+ - test/spec/pixel_spec.rb
352
+ - test/spec/features/step_definitions/geometry_steps.rb
353
+ - test/spec/features/step_definitions/image_filling_steps.rb
354
+ - test/spec/features/support/env.rb
355
+ - test/images/clown.jpg
356
+ - test/images/texture.jpg