rmagick4j 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,27 +32,37 @@ lib/rvg/units.rb
32
32
  lib/jhlabs-filters.jar
33
33
  lib/magick4j.jar
34
34
  lib/svgsalamander.jar
35
+ test/implemented_methods.rb
36
+ test/RMagickTestSuite.rb
35
37
  test/eyetests/bullseye.rb
36
38
  test/eyetests/tests/draw_arc_basic.rb
37
39
  test/eyetests/tests/draw_circle_affine.rb
38
40
  test/eyetests/tests/draw_circle_basic.rb
41
+ test/eyetests/tests/draw_clip_path.rb
39
42
  test/eyetests/tests/draw_ellipse_affine.rb
40
43
  test/eyetests/tests/draw_ellipse_basic.rb
41
44
  test/eyetests/tests/draw_line_affine.rb
42
45
  test/eyetests/tests/draw_line_basic.rb
46
+ test/eyetests/tests/draw_multiline_type_metrics.rb
43
47
  test/eyetests/tests/draw_pattern_1.rb
44
48
  test/eyetests/tests/draw_polygon_affine.rb
45
49
  test/eyetests/tests/draw_polygon_basic.rb
46
50
  test/eyetests/tests/draw_polyline_affine.rb
47
51
  test/eyetests/tests/draw_polyline_basic.rb
52
+ test/eyetests/tests/draw_pop_push_translate.rb
48
53
  test/eyetests/tests/draw_rectangle_affine.rb
49
54
  test/eyetests/tests/draw_rectangle_basic.rb
50
55
  test/eyetests/tests/draw_rmagick_test_01.rb
51
56
  test/eyetests/tests/draw_rmagick_test_02.rb
52
57
  test/eyetests/tests/draw_rmagick_test_03.rb
53
58
  test/eyetests/tests/draw_rmagick_test_04.rb
59
+ test/eyetests/tests/draw_rotate_01.rb
54
60
  test/eyetests/tests/draw_roundrectangle_affine.rb
55
61
  test/eyetests/tests/draw_roundrectangle_basic.rb
62
+ test/eyetests/tests/draw_scale_01.rb
63
+ test/eyetests/tests/draw_skewx_01.rb
64
+ test/eyetests/tests/draw_skewy_01.rb
65
+ test/eyetests/tests/draw_stroke_miterlimit.rb
56
66
  test/eyetests/tests/gradient_fill_horizontal_diagonal_fill.rb
57
67
  test/eyetests/tests/gradient_fill_horizontal_fill.rb
58
68
  test/eyetests/tests/gradient_fill_point_fill.rb
@@ -126,8 +136,6 @@ test/gruff_tests/test/test_side_bar.rb
126
136
  test/gruff_tests/test/test_sidestacked_bar.rb
127
137
  test/gruff_tests/test/test_spider.rb
128
138
  test/gruff_tests/test/test_stacked_bar.rb
129
- test/implemented_methods.rb
130
- test/RMagickTestSuite.rb
131
139
  test/spec/draw_spec.rb
132
140
  test/spec/image_constants.rb
133
141
  test/spec/image_spec.rb
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ file jar_file => :compile
20
20
  desc "Clean up any generated file."
21
21
  task :clean do
22
22
  rm_rf 'pkg'
23
- # rm_rf jar_file
23
+ #rm_rf jar_file
24
24
  end
25
25
 
26
26
  desc "Run gruff unit tests."
Binary file
@@ -4,9 +4,18 @@ module Magick
4
4
 
5
5
  def annotate(img, width, height, x, y, text, &add)
6
6
  instance_eval &add if add
7
+ text = parse_string(text)
7
8
  @draw.annotate(img._image, width, height, x, y, text)
8
9
  self
9
10
  end
11
+
12
+ def clone
13
+ b = Draw.new
14
+ b.primitives = @primitives.clone
15
+ b._draw = @draw.clone
16
+ b.freeze if self.frozen?
17
+ b
18
+ end
10
19
 
11
20
  def draw(image)
12
21
  @draw.clone.draw(image._image, Magick4J.CommandParser.parse(@primitives))
@@ -28,18 +37,18 @@ module Magick
28
37
  @draw.font_weight = font_weight
29
38
  end
30
39
 
40
+ def get_multiline_type_metrics(*args)
41
+ raise ArgumentError.new('wrong number of arguments (#{args.length})') if not (1..2) === args.length
42
+ string = parse_string(args.last)
43
+ image = args.first._image if args.length == 2
44
+ type_metrics_from_java(@draw.getMultilineTypeMetrics(string, image))
45
+ end
46
+
31
47
  def get_type_metrics(*args)
32
48
  raise ArgumentError.new('wrong number of arguments (#{args.length})') if not (1..2) === args.length
33
- string = args.last
49
+ string = parse_string(args.last)
34
50
  image = args.first._image if args.length == 2
35
- jmetrics = @draw.getTypeMetrics(string, image)
36
- metrics = TypeMetric.new
37
- metrics.ascent = jmetrics.getAscent
38
- metrics.descent = jmetrics.getDescent
39
- metrics.height = jmetrics.getHeight
40
- metrics.max_advance = jmetrics.getMaxAdvance
41
- metrics.width = jmetrics.getWidth
42
- metrics
51
+ type_metrics_from_java(@draw.getTypeMetrics(string, image))
43
52
  end
44
53
 
45
54
  def font= font
@@ -58,7 +67,11 @@ module Magick
58
67
  end
59
68
 
60
69
  def inspect
61
- @primitives
70
+ if @primitives == ''
71
+ '(no primitives defined)'
72
+ else
73
+ @primitives
74
+ end
62
75
  end
63
76
 
64
77
  def pointsize= pointsize
@@ -82,5 +95,30 @@ module Magick
82
95
  self
83
96
  end
84
97
 
98
+ private
99
+
100
+ def parse_string(text)
101
+ text.split(/\\n/).join("\n")
102
+ end
103
+
104
+ def type_metrics_from_java(jmetrics)
105
+ metrics = TypeMetric.new
106
+ metrics.ascent = jmetrics.getAscent
107
+ metrics.descent = jmetrics.getDescent
108
+ metrics.height = jmetrics.getHeight
109
+ metrics.max_advance = jmetrics.getMaxAdvance
110
+ metrics.width = jmetrics.getWidth
111
+ metrics
112
+ end
113
+
114
+ protected
115
+
116
+ def primitives=(value)
117
+ @primitives = value.to_str
118
+ end
119
+
120
+ def _draw=(value)
121
+ @draw = value
122
+ end
85
123
  end
86
124
  end
@@ -1,5 +1,5 @@
1
1
  module RMagick4J
2
2
  module Version
3
- VERSION = "0.3.5"
3
+ VERSION = "0.3.6"
4
4
  end
5
5
  end
@@ -0,0 +1,44 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ include Magick
4
+
5
+ points = [145, 65, 174,151, 264,151, 192,205,
6
+ 218,291, 145,240, 72,291, 98,205,
7
+ 26,151, 116,151]
8
+
9
+ pr = Draw.new
10
+
11
+ # Define a clip-path.
12
+ # The name of the clip-path is "example"
13
+ pr.define_clip_path('example') do
14
+ pr.polygon(*points)
15
+ end
16
+
17
+ # Enable the clip-path
18
+ pr.push
19
+ pr.clip_path('example')
20
+
21
+ pr.stroke 'none'
22
+
23
+ pr.fill 'green'
24
+ pr.circle(150, 0, 150, 150)
25
+
26
+ pr.fill 'red'
27
+ pr.circle(0, 150, 150, 150)
28
+
29
+ pr.fill 'blue'
30
+ pr.circle(300, 150, 150, 150)
31
+
32
+ pr.fill 'orange'
33
+ pr.circle(150, 300, 150, 150)
34
+
35
+ pr.pop
36
+
37
+ # Create a canvas to draw on, a bit bigger than the star.
38
+ canvas = Image.new(300, 300, HatchFill.new('white', 'black'))
39
+
40
+ pr.draw(canvas)
41
+
42
+ canvas.write("draw_clip_path.jpg")
43
+
44
+
@@ -5,6 +5,7 @@ include Magick
5
5
  draw = Draw.new
6
6
 
7
7
  draw.stroke = 'red'
8
+ draw.stroke_linecap 'round'
8
9
  draw.stroke_width 10.0
9
10
 
10
11
  draw.line(50, 50, 50, 200)
@@ -0,0 +1,42 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ include Magick
4
+
5
+ TEXT = 'get\nmultiline\ntype\nmetrics'
6
+
7
+ background = Image.new(200, 200)
8
+ gc = Draw.new
9
+
10
+ # Draw the text centered on the background
11
+ gc.annotate(background, 0, 0, 0, 0, TEXT) do
12
+ gc.font_family = 'Verdana'
13
+ gc.pointsize = 36
14
+ gc.gravity = CenterGravity
15
+ gc.stroke = 'none'
16
+ end
17
+
18
+ # Get the metrics
19
+ metrics = gc.get_multiline_type_metrics(background, TEXT)
20
+
21
+ # Compute the corners for a rectangle surrounding the text
22
+ x = (background.columns - metrics.width) / 2
23
+ y = (background.rows - metrics.height) / 2
24
+
25
+ # Draw 2 rectangles over the text.
26
+ gc = Draw.new
27
+
28
+ gc.stroke('red')
29
+ gc.stroke_width(5)
30
+ gc.stroke_linejoin('round')
31
+ gc.fill('cyan')
32
+ gc.fill_opacity(0.10)
33
+ gc.rectangle(x, y, x+metrics.width, y+metrics.height)
34
+
35
+ gc.stroke('white')
36
+ gc.stroke_width(1)
37
+ gc.fill('none')
38
+ gc.rectangle(x, y, x+metrics.width, y+metrics.height)
39
+ gc.draw(background)
40
+
41
+
42
+ background.write('draw_multiline_type_metrics.jpg')
@@ -5,6 +5,7 @@ include Magick
5
5
  draw = Draw.new
6
6
 
7
7
  draw.stroke = 'blue'
8
+ draw.stroke_linejoin 'round'
8
9
  draw.stroke_width 5.0
9
10
  draw.fill = 'red'
10
11
 
@@ -0,0 +1,22 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ include Magick
4
+
5
+ draw = Draw.new
6
+
7
+ draw.translate 100, 100
8
+ draw.circle 100,100, 100, 50
9
+ draw.stroke 'blue'
10
+ draw.fill 'white'
11
+ draw.push
12
+ draw.circle 100,100, 100, 50
13
+ draw.translate(-100, -100)
14
+ draw.fill 'green'
15
+ draw.pop
16
+ draw.circle 100, 100, 100, 50
17
+
18
+ b = Image.new(300, 300)
19
+
20
+ draw.draw b
21
+
22
+ b.write('draw_pop_push_translate.jpg')
@@ -0,0 +1,33 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ # Taken from RMagick documentation. Modified.
4
+
5
+ imgl = Magick::Image.new(200, 200, Magick::HatchFill.new('white','lightcyan2'))
6
+
7
+ gc = Magick::Draw.new
8
+
9
+ # Move the origin to the center.
10
+ gc.translate(100, 100)
11
+ max_x = imgl.columns/2
12
+ max_y = imgl.rows/2
13
+
14
+ # Rotate 45 degrees
15
+ gc.rotate(45)
16
+
17
+ gc.stroke('red')
18
+ gc.stroke_width(3)
19
+
20
+ # Draw down-pointing arrow
21
+ gc.line(0, -max_y, 0, max_y)
22
+ gc.line(0, max_y, 10, max_y-10)
23
+ gc.line(0, max_y, -10, max_y-10)
24
+
25
+ # Draw right-pointing arrow
26
+ gc.line(-max_x, 0, max_x, 0)
27
+ gc.line( max_x, 0, max_x-10, -10)
28
+ gc.line( max_x, 0, max_x-10, 10)
29
+
30
+
31
+ gc.draw(imgl)
32
+
33
+ imgl.write("draw_rotate_01.jpg")
@@ -0,0 +1,33 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ # Taken from RMagick documentation. Modified.
4
+
5
+ imgl = Magick::Image.new(200, 200, Magick::HatchFill.new('white','lightcyan2'))
6
+
7
+ gc = Magick::Draw.new
8
+
9
+ # Move the origin to the center.
10
+ gc.translate(100, 100)
11
+ max_x = imgl.columns/2
12
+ max_y = imgl.rows/2
13
+
14
+ # Scale by 0.5 and 1/3.
15
+ gc.scale(0.5, 1.0/3.0)
16
+
17
+ gc.stroke('red')
18
+ gc.stroke_width(3)
19
+
20
+ # Draw down-pointing arrow
21
+ gc.line(0, -max_y, 0, max_y)
22
+ gc.line(0, max_y, 10, max_y-10)
23
+ gc.line(0, max_y, -10, max_y-10)
24
+
25
+ # Draw right-pointing arrow
26
+ gc.line(-max_x, 0, max_x, 0)
27
+ gc.line( max_x, 0, max_x-10, -10)
28
+ gc.line( max_x, 0, max_x-10, 10)
29
+
30
+
31
+ gc.draw(imgl)
32
+
33
+ imgl.write("draw_scale_01.jpg")
@@ -0,0 +1,34 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ # Taken from RMagick documentation. Modified.
4
+
5
+ imgl = Magick::Image.new(250, 250, Magick::HatchFill.new('white','lightcyan2'))
6
+
7
+ gc = Magick::Draw.new
8
+
9
+ # Move the origin to the center.
10
+ gc.translate(125, 125)
11
+ max_x = imgl.columns/2
12
+ max_y = imgl.rows/2 - 5
13
+
14
+ # Skew x 30 degrees
15
+ gc.skewx(30)
16
+
17
+ # Draw down-pointing arrow
18
+ gc.fill('red')
19
+ gc.stroke('red')
20
+ gc.stroke_width(3)
21
+ gc.line(0, -max_y, 0, max_y)
22
+ gc.line(0, max_y, 7, max_y-7)
23
+ gc.line(0, max_y, -7, max_y-7)
24
+
25
+ # Draw right-pointing arrow
26
+ gc.stroke('gray50')
27
+ gc.stroke_width(1)
28
+ gc.line(-max_x, 0, max_x, 0)
29
+ gc.line( max_x, 0, max_x-5, -5)
30
+ gc.line( max_x, 0, max_x-5, 5)
31
+
32
+ gc.draw(imgl)
33
+
34
+ imgl.write("draw_skewx_01.jpg")
@@ -0,0 +1,33 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ # Taken from RMagick documentation. Modified.
4
+
5
+ imgl = Magick::Image.new(300, 300, Magick::HatchFill.new('white','lightcyan2'))
6
+
7
+ gc = Magick::Draw.new
8
+
9
+ # Move the origin to the center.
10
+ gc.translate(125, 125)
11
+ max_x = imgl.columns/2
12
+ max_y = imgl.rows/2
13
+
14
+ # Skew y 30 degrees
15
+ gc.skewy(30)
16
+
17
+ # Draw down-pointing arrow
18
+ gc.fill('gray50')
19
+
20
+ gc.line(0, -max_y, 0, max_y)
21
+ gc.line(0, max_y, 10, max_y-10)
22
+ gc.line(0, max_y, -10, max_y-10)
23
+
24
+ # Draw right-pointing arrow
25
+ gc.stroke('red')
26
+ gc.stroke_width(3)
27
+ gc.line(-max_x+10, 0, max_x-10, 0)
28
+ gc.line( max_x-10, 0, max_x-20, -10)
29
+ gc.line( max_x-10, 0, max_x-20, 10)
30
+
31
+ gc.draw(imgl)
32
+
33
+ imgl.write("draw_skewy_01.jpg")
@@ -0,0 +1,21 @@
1
+ require File.join(File.dirname(__FILE__), 'new_image.rb')
2
+
3
+ include Magick
4
+
5
+ draw = Draw.new
6
+
7
+ draw.stroke = 'blue'
8
+ draw.stroke_linejoin 'miter'
9
+ draw.stroke_miterlimit 5.0
10
+ draw.stroke_width 5.0
11
+ draw.fill = 'red'
12
+
13
+ points = [125,300,175,300,150,50]
14
+
15
+ draw.polygon(*points)
16
+
17
+ b = Image.new(300, 300, HatchFill.new('white', 'black'))
18
+
19
+ draw.draw b
20
+
21
+ b.write('draw_stroke_miterlimit.jpg')
@@ -10,4 +10,4 @@ g.labels = {
10
10
  }
11
11
  g.data('one', 1)
12
12
 
13
- g.write("gruff_line_1.jpg")
13
+ g.write("gruff_line_1.jpg")
@@ -5,6 +5,7 @@ include Magick
5
5
  draw = Draw.new
6
6
 
7
7
  draw.fill 'red'
8
+ draw.fill_rule 'nonzero'
8
9
  draw.stroke 'blue'
9
10
  draw.stroke_width(5)
10
11
  draw.path 'M153 334
@@ -5,6 +5,9 @@ include Magick
5
5
  draw = Draw.new
6
6
 
7
7
  draw.fill 'red'
8
+
9
+ draw.fill_rule 'nonzero'
10
+
8
11
  draw.stroke 'blue'
9
12
  draw.stroke_width(5)
10
13
  draw.path 'M100,10 L100,10 40,180 190,60 10,60 160,180 z'
@@ -4,4 +4,4 @@ module Gruff
4
4
  #do nothing
5
5
  end
6
6
  end
7
- end
7
+ end
@@ -1,24 +1,42 @@
1
- require File.join(File.dirname(__FILE__),'..','..','lib','RMagick')
1
+ if PLATFORM == 'java'
2
+ require File.join(File.dirname(__FILE__),'..','..','lib','RMagick')
3
+ else
4
+ require 'rubygems'
5
+ require 'RMagick'
6
+ end
2
7
 
3
8
  include Magick
4
9
 
5
10
  describe Draw do
6
11
 
7
- it "should save the state when calling push and recover it after pop" do
8
- a = Draw.new
9
- a.line(5, 5, 10, 10)
10
- b = a.clone
12
+ before(:each) do
13
+ @draw = Draw.new
14
+ end
15
+
16
+ it "should clone correctly the primitives" do
17
+ b = @draw.clone
11
18
  b.push
12
- b.stroke('blue')
13
- a.inspect.should != b.inspect
14
- b.pop
15
- a.inspect.should == b.inspect
19
+
20
+ @draw.inspect.should_not == b.inspect
21
+ end
22
+
23
+ it "should say that has no primitives defined" do
24
+ @draw.inspect.should == '(no primitives defined)'
16
25
  end
17
26
 
18
27
  it "should add one line per primitive" do
19
- a = Draw.new
20
- a.path 'M150,150
21
- l50,50'
22
- a.inspect.split('\n').size.should == 1
28
+ @draw.path 'M150,150
29
+ l50,50'
30
+ @draw.inspect.split(/\n/).size.should == 1
31
+ end
32
+
33
+ it "should have the maximum width" do
34
+ string = "get\nmultiline\ntype\nmetrics"
35
+ @draw.get_multiline_type_metrics(string).width.should == string.split(/\n/).map{|x| @draw.get_type_metrics(x).width }.max
36
+ end
37
+
38
+ it "should have the correct multiline height" do
39
+ string = "get\nmultiline\ntype\nmetrics"
40
+ @draw.get_multiline_type_metrics(string).height.should == string.split(/\n/).map{|x| @draw.get_type_metrics(x).height }.inject{|memo, obj| memo + obj}
23
41
  end
24
- end
42
+ end
@@ -1,4 +1,9 @@
1
- require File.join(File.dirname(__FILE__),'..','..','lib','RMagick')
1
+ if PLATFORM == 'java'
2
+ require File.join(File.dirname(__FILE__),'..','..','lib','RMagick')
3
+ else
4
+ require 'rubygems'
5
+ require 'RMagick'
6
+ end
2
7
  require File.join(File.dirname(__FILE__),"image_constants.rb")
3
8
 
4
9
  include Magick
@@ -1,4 +1,9 @@
1
- require File.join(File.dirname(__FILE__),'..','..','lib','RMagick')
1
+ if PLATFORM == 'java'
2
+ require File.join(File.dirname(__FILE__),'..','..','lib','RMagick')
3
+ else
4
+ require 'rubygems'
5
+ require 'RMagick'
6
+ end
2
7
 
3
8
  include Magick
4
9
 
metadata CHANGED
@@ -1,29 +1,11 @@
1
- --- !ruby/object:Gem::Specification
2
- name: rmagick4j
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.5
5
- platform: ruby
6
- authors:
7
- - "Thomas Palmer, Sergio Rodr\xC3\xADguez Arbeo and Thomas Enebo"
8
- autorequire:
9
- bindir: bin
10
- cert_chain: []
11
-
12
- date: 2008-07-09 00:00:00 -05:00
13
- default_executable:
14
- dependencies: []
15
-
16
- description: RMagick is a Ruby binding to ImageMagick and GraphicsMagick. RMagick4J implements ImageMagick functionality and the C portions of RMagick for use with JRuby.
17
- email: serabe@gmail.com, tom.enebo@gmail.com
18
- executables: []
19
-
1
+ --- !ruby/object:Gem::Specification
20
2
  extensions: []
21
-
22
- extra_rdoc_files:
23
- - History.txt
24
- - Manifest.txt
25
- - README.txt
26
- - LICENSE.txt
3
+ homepage: http://jruby-extras.rubyforge.org/rmagick4j
4
+ executables: []
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.3.6
7
+ post_install_message:
8
+ date: 2008-08-14 22:00:00 +00:00
27
9
  files:
28
10
  - History.txt
29
11
  - Manifest.txt
@@ -59,27 +41,37 @@ files:
59
41
  - lib/jhlabs-filters.jar
60
42
  - lib/magick4j.jar
61
43
  - lib/svgsalamander.jar
44
+ - test/implemented_methods.rb
45
+ - test/RMagickTestSuite.rb
62
46
  - test/eyetests/bullseye.rb
63
47
  - test/eyetests/tests/draw_arc_basic.rb
64
48
  - test/eyetests/tests/draw_circle_affine.rb
65
49
  - test/eyetests/tests/draw_circle_basic.rb
50
+ - test/eyetests/tests/draw_clip_path.rb
66
51
  - test/eyetests/tests/draw_ellipse_affine.rb
67
52
  - test/eyetests/tests/draw_ellipse_basic.rb
68
53
  - test/eyetests/tests/draw_line_affine.rb
69
54
  - test/eyetests/tests/draw_line_basic.rb
55
+ - test/eyetests/tests/draw_multiline_type_metrics.rb
70
56
  - test/eyetests/tests/draw_pattern_1.rb
71
57
  - test/eyetests/tests/draw_polygon_affine.rb
72
58
  - test/eyetests/tests/draw_polygon_basic.rb
73
59
  - test/eyetests/tests/draw_polyline_affine.rb
74
60
  - test/eyetests/tests/draw_polyline_basic.rb
61
+ - test/eyetests/tests/draw_pop_push_translate.rb
75
62
  - test/eyetests/tests/draw_rectangle_affine.rb
76
63
  - test/eyetests/tests/draw_rectangle_basic.rb
77
64
  - test/eyetests/tests/draw_rmagick_test_01.rb
78
65
  - test/eyetests/tests/draw_rmagick_test_02.rb
79
66
  - test/eyetests/tests/draw_rmagick_test_03.rb
80
67
  - test/eyetests/tests/draw_rmagick_test_04.rb
68
+ - test/eyetests/tests/draw_rotate_01.rb
81
69
  - test/eyetests/tests/draw_roundrectangle_affine.rb
82
70
  - test/eyetests/tests/draw_roundrectangle_basic.rb
71
+ - test/eyetests/tests/draw_scale_01.rb
72
+ - test/eyetests/tests/draw_skewx_01.rb
73
+ - test/eyetests/tests/draw_skewy_01.rb
74
+ - test/eyetests/tests/draw_stroke_miterlimit.rb
83
75
  - test/eyetests/tests/gradient_fill_horizontal_diagonal_fill.rb
84
76
  - test/eyetests/tests/gradient_fill_horizontal_fill.rb
85
77
  - test/eyetests/tests/gradient_fill_point_fill.rb
@@ -153,8 +145,6 @@ files:
153
145
  - test/gruff_tests/test/test_sidestacked_bar.rb
154
146
  - test/gruff_tests/test/test_spider.rb
155
147
  - test/gruff_tests/test/test_stacked_bar.rb
156
- - test/implemented_methods.rb
157
- - test/RMagickTestSuite.rb
158
148
  - test/spec/draw_spec.rb
159
149
  - test/spec/image_constants.rb
160
150
  - test/spec/image_spec.rb
@@ -167,33 +157,33 @@ files:
167
157
  - test/spec/stories/image_filling_story.rb
168
158
  - test/images/clown.jpg
169
159
  - test/images/texture.jpg
170
- has_rdoc: true
171
- homepage: http://jruby-extras.rubyforge.org/rmagick4j
172
- post_install_message:
160
+ rubygems_version: 1.2.0
173
161
  rdoc_options:
174
162
  - --main
175
163
  - README.txt
176
- require_paths:
177
- - lib
178
- required_ruby_version: !ruby/object:Gem::Requirement
179
- requirements:
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- version: "0"
164
+ signing_key:
165
+ cert_chain: []
166
+ name: rmagick4j
167
+ has_rdoc: true
168
+ platform: ruby
169
+ summary: RMagick for Java
170
+ default_executable:
171
+ bindir: bin
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
183
173
  version:
184
- required_rubygems_version: !ruby/object:Gem::Requirement
185
174
  requirements:
186
- - - ">="
187
- - !ruby/object:Gem::Version
188
- version: "0"
175
+ - - '>='
176
+ - !ruby/object:Gem::Version
177
+ version: !str 0
178
+ required_ruby_version: !ruby/object:Gem::Requirement
189
179
  version:
190
- requirements: []
191
-
192
- rubyforge_project: jruby-extras
193
- rubygems_version: 1.0.1
194
- signing_key:
180
+ requirements:
181
+ - - '>='
182
+ - !ruby/object:Gem::Version
183
+ version: !str 0
184
+ require_paths:
185
+ - lib
195
186
  specification_version: 2
196
- summary: RMagick for Java
197
187
  test_files:
198
188
  - test/gruff_tests/test/test_accumulator_bar.rb
199
189
  - test/gruff_tests/test/test_area.rb
@@ -213,3 +203,18 @@ test_files:
213
203
  - test/gruff_tests/test/test_sidestacked_bar.rb
214
204
  - test/gruff_tests/test/test_spider.rb
215
205
  - test/gruff_tests/test/test_stacked_bar.rb
206
+ dependencies: []
207
+ description: RMagick is a Ruby binding to ImageMagick and GraphicsMagick. RMagick4J
208
+ implements ImageMagick functionality and the C portions of RMagick for use with
209
+ JRuby.
210
+ email: serabe@gmail.com, tom.enebo@gmail.com
211
+ authors:
212
+ - "Thomas Palmer, Sergio Rodr\xc3\xadguez Arbeo and Thomas Enebo"
213
+ extra_rdoc_files:
214
+ - History.txt
215
+ - Manifest.txt
216
+ - README.txt
217
+ - LICENSE.txt
218
+ requirements: []
219
+ rubyforge_project: jruby-extras
220
+ autorequire: