rays 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. data/.doc/ext/rays/bitmap.cpp +76 -53
  2. data/.doc/ext/rays/font.cpp +31 -27
  3. data/.doc/ext/rays/image.cpp +44 -37
  4. data/.doc/ext/rays/native.cpp +6 -0
  5. data/.doc/ext/rays/painter.cpp +276 -160
  6. data/.doc/ext/rays/rays.cpp +8 -9
  7. data/.doc/ext/rays/texture.cpp +50 -28
  8. data/.gitignore +14 -0
  9. data/Rakefile +5 -30
  10. data/VERSION +1 -1
  11. data/ext/rays/bitmap.cpp +77 -53
  12. data/ext/rays/bounds.cpp +426 -0
  13. data/ext/rays/color.cpp +199 -0
  14. data/ext/rays/defs.h +1 -18
  15. data/ext/rays/extconf.rb +10 -8
  16. data/ext/rays/font.cpp +31 -27
  17. data/ext/rays/image.cpp +44 -37
  18. data/ext/rays/matrix.cpp +154 -0
  19. data/ext/rays/native.cpp +6 -0
  20. data/ext/rays/painter.cpp +288 -163
  21. data/ext/rays/point.cpp +175 -0
  22. data/ext/rays/rays.cpp +8 -9
  23. data/ext/rays/texture.cpp +52 -28
  24. data/include/rays.h +1 -2
  25. data/include/rays/bitmap.h +5 -3
  26. data/include/rays/bounds.h +94 -0
  27. data/include/rays/color.h +53 -0
  28. data/include/rays/colorspace.h +2 -2
  29. data/include/rays/exception.h +1 -1
  30. data/include/rays/font.h +7 -3
  31. data/include/rays/image.h +6 -2
  32. data/include/rays/matrix.h +63 -0
  33. data/include/rays/opengl.h +1 -1
  34. data/include/rays/painter.h +138 -39
  35. data/include/rays/point.h +39 -0
  36. data/include/rays/ruby.h +3 -0
  37. data/include/rays/ruby/bitmap.h +5 -3
  38. data/include/rays/ruby/bounds.h +41 -0
  39. data/include/rays/ruby/color.h +41 -0
  40. data/include/rays/ruby/font.h +5 -3
  41. data/include/rays/ruby/image.h +5 -3
  42. data/include/rays/ruby/matrix.h +41 -0
  43. data/include/rays/ruby/painter.h +5 -3
  44. data/include/rays/ruby/point.h +41 -0
  45. data/include/rays/ruby/texture.h +5 -3
  46. data/include/rays/texture.h +6 -2
  47. data/lib/rays.rb +3 -0
  48. data/lib/rays/autoinit.rb +1 -1
  49. data/lib/rays/bitmap.rb +15 -1
  50. data/lib/rays/bounds.rb +138 -0
  51. data/lib/rays/color.rb +52 -0
  52. data/lib/rays/ext.rb +4 -0
  53. data/lib/rays/image.rb +1 -1
  54. data/lib/rays/module.rb +9 -2
  55. data/lib/rays/painter.rb +40 -41
  56. data/lib/rays/point.rb +82 -0
  57. data/lib/rays/texture.rb +1 -1
  58. data/rays.gemspec +16 -37
  59. data/src/bounds.cpp +234 -0
  60. data/src/cocoa/bitmap.mm +4 -4
  61. data/src/cocoa/font.mm +35 -30
  62. data/src/cocoa/rays.mm +2 -0
  63. data/src/color.cpp +77 -0
  64. data/src/colorspace.cpp +3 -3
  65. data/src/exception.cpp +3 -18
  66. data/src/image.cpp +9 -2
  67. data/src/matrix.cpp +103 -0
  68. data/src/painter.cpp +475 -224
  69. data/src/point.cpp +52 -0
  70. data/src/texture.cpp +14 -2
  71. data/src/win32/bitmap.cpp +2 -2
  72. data/src/win32/gdi.cpp +22 -13
  73. data/src/win32/gdi.h +7 -7
  74. data/test/helpers.rb +1 -5
  75. data/test/test_bitmap.rb +9 -0
  76. data/test/test_bounds.rb +246 -0
  77. data/test/test_color.rb +88 -0
  78. data/test/test_font.rb +28 -0
  79. data/test/test_image.rb +9 -0
  80. data/test/test_painter.rb +1 -3
  81. data/test/test_point.rb +121 -0
  82. data/test/test_rays.rb +2 -3
  83. data/test/test_texture.rb +1 -3
  84. metadata +146 -75
  85. data/include/rays/helpers.h +0 -37
  86. data/include/rays/transform.h +0 -35
  87. data/src/helpers.cpp +0 -22
  88. data/src/transform.cpp +0 -88
@@ -0,0 +1,88 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+
4
+ require_relative 'helpers'
5
+
6
+
7
+ class TestColor < Test::Unit::TestCase
8
+
9
+ def color (*args)
10
+ Rays::Color.new *args
11
+ end
12
+
13
+ def test_initialize ()
14
+ assert_equal color(0, 0, 0, 1), color()
15
+ assert_equal color(1, 1, 1, 1), color(1)
16
+ assert_equal color(1, 1, 1, 2), color(1, 2)
17
+ assert_equal color(1, 2, 3, 1), color(1, 2, 3)
18
+ assert_equal color(1, 2, 3, 4), color(1, 2, 3, 4)
19
+ assert_raise(ArgumentError) {color(1, 2, 3, 4, 5)}
20
+ end
21
+
22
+ def test_get_rgb ()
23
+ o = color 1, 2, 3, 4
24
+ assert_equal 1, o.red
25
+ assert_equal 2, o.green
26
+ assert_equal 3, o.blue
27
+ assert_equal 4, o.alpha
28
+ end
29
+
30
+ def test_set_rgb ()
31
+ o = color
32
+ assert_equal [0, 0, 0, 1], o.to_a
33
+ o.red = 1
34
+ assert_equal [1, 0, 0, 1], o.to_a
35
+ o.green = 2
36
+ assert_equal [1, 2, 0, 1], o.to_a
37
+ o.blue = 3
38
+ assert_equal [1, 2, 3, 1], o.to_a
39
+ o.alpha = 4
40
+ assert_equal [1, 2, 3, 4], o.to_a
41
+ end
42
+
43
+ def test_to_a ()
44
+ o = color 1, 2, 3, 4
45
+ assert_equal [1, 2, 3, 4], o.to_a
46
+ end
47
+
48
+ def test_index ()
49
+ o = color 1, 2, 3, 4
50
+ assert_equal 1, o[0]
51
+ assert_equal 2, o[1]
52
+ assert_equal 3, o[2]
53
+ assert_equal 4, o[3]
54
+ assert_raise(IndexError) {color[-1]}
55
+ assert_raise(IndexError) {color[4]}
56
+ end
57
+
58
+ def test_index_assign ()
59
+ o = color 1, 2, 3, 4
60
+ o[0] = 4
61
+ assert_equal [4, 2, 3, 4], o.to_a
62
+ o[1] = 5
63
+ assert_equal [4, 5, 3, 4], o.to_a
64
+ o[2] = 6
65
+ assert_equal [4, 5, 6, 4], o.to_a
66
+ o[3] = 7
67
+ assert_equal [4, 5, 6, 7], o.to_a
68
+ assert_raise(IndexError) {color[-1] = 8}
69
+ assert_raise(IndexError) {color[ 4] = 8}
70
+ end
71
+
72
+ def test_compare ()
73
+ o = color 1, 2, 3, 4
74
+ assert o == color(1, 2, 3, 4)
75
+ assert !(o != color(1, 2, 3, 4))
76
+
77
+ assert o < color(2, 2, 3, 4)
78
+ assert o < color(1, 3, 3, 4)
79
+ assert o < color(1, 2, 4, 4)
80
+ assert o < color(1, 2, 3, 5)
81
+
82
+ assert o > color(0, 2, 3, 4)
83
+ assert o > color(1, 1, 3, 4)
84
+ assert o > color(1, 2, 2, 4)
85
+ assert o > color(1, 2, 3, 3)
86
+ end
87
+
88
+ end# TestColor
data/test/test_font.rb ADDED
@@ -0,0 +1,28 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+
4
+ require_relative 'helpers'
5
+
6
+
7
+ class TestFont < Test::Unit::TestCase
8
+
9
+ def font (*args)
10
+ Rays::Font.new *args
11
+ end
12
+
13
+ def test_name ()
14
+ assert_kind_of String, font.name
15
+ end
16
+
17
+ def test_size ()
18
+ assert_kind_of Numeric, font.size
19
+ assert_equal 32, font(nil, 32).size
20
+ end
21
+
22
+ def test_width ()
23
+ assert_equal 0, font.width('')
24
+ w = font.width 'X'
25
+ assert_equal w * 2, font.width('XX')
26
+ end
27
+
28
+ end# TestFont
@@ -0,0 +1,9 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+
4
+ require_relative 'helpers'
5
+
6
+
7
+ class TestImage < Test::Unit::TestCase
8
+
9
+ end# TestImage
data/test/test_painter.rb CHANGED
@@ -1,9 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
 
4
- $: << File.dirname(__FILE__)
5
-
6
- require 'helpers'
4
+ require_relative 'helpers'
7
5
 
8
6
 
9
7
  class TestPainter < Test::Unit::TestCase
@@ -0,0 +1,121 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+
4
+ require_relative 'helpers'
5
+
6
+
7
+ class TestPoint < Test::Unit::TestCase
8
+
9
+ def point (*args)
10
+ Rays::Point.new *args
11
+ end
12
+
13
+ def test_initialize ()
14
+ assert_equal point(0, 0, 0), point()
15
+ assert_equal point(1, 1, 0), point(1)
16
+ assert_equal point(1, 2, 0), point(1, 2)
17
+ assert_equal point(1, 2, 3), point(1, 2, 3)
18
+ assert_raise(ArgumentError) {point(1, 2, 3, 4)}
19
+ end
20
+
21
+ def test_get_xyz ()
22
+ o = point 1, 2, 3
23
+ assert_equal 1, o.x
24
+ assert_equal 2, o.y
25
+ assert_equal 3, o.z
26
+ end
27
+
28
+ def test_set_xyz ()
29
+ o = point
30
+ o.x = 1
31
+ assert_equal [1, 0, 0], o.to_a(3)
32
+ o.y = 2
33
+ assert_equal [1, 2, 0], o.to_a(3)
34
+ o.z = 3
35
+ assert_equal [1, 2, 3], o.to_a(3)
36
+ end
37
+
38
+ def test_move_to ()
39
+ o = point 1, 2, 3
40
+ assert_equal point(4, 4, 3), o.move_to(4)
41
+ assert_equal point(4, 5, 3), o.move_to(4, 5)
42
+ assert_equal point(4, 5, 6), o.move_to(4, 5, 6)
43
+ assert_raise(ArgumentError) {o.move_to()}
44
+ assert_raise(ArgumentError) {o.move_to(4, 5, 6, 7)}
45
+
46
+ o0 = point 1, 2, 3
47
+ o1 = o0.move_to 4, 5, 6
48
+ assert_equal point(1, 2, 3), o0
49
+ assert_equal point(4, 5, 6), o1
50
+ o0.move_to! 7, 8, 9
51
+ assert_equal point(7, 8, 9), o0
52
+ assert_equal point(4, 5, 6), o1
53
+ end
54
+
55
+ def test_move_by ()
56
+ o = point 1, 2, 3
57
+ assert_equal point( 5, 6, 3), o.move_by(4)
58
+ assert_equal point( 5, 7, 3), o.move_by(4, 5)
59
+ assert_equal point( 5, 7, 9), o.move_by(4, 5, 6)
60
+ assert_equal point(-3, -2, 3), o.move_by(-4)
61
+ assert_equal point(-3, -3, 3), o.move_by(-4, -5)
62
+ assert_equal point(-3, -3, -3), o.move_by(-4, -5, -6)
63
+ assert_raise(ArgumentError) {o.move_by()}
64
+ assert_raise(ArgumentError) {o.move_by(4, 5, 6, 7)}
65
+
66
+ o0 = point 1, 2, 3
67
+ o1 = o0.move_by 4, 5, 6
68
+ assert_equal point(1, 2, 3), o0
69
+ assert_equal point(5, 7, 9), o1
70
+ o0.move_by! 7, 8, 9
71
+ assert_equal point(8, 10, 12), o0
72
+ assert_equal point(5, 7, 9), o1
73
+ end
74
+
75
+ def test_to_a ()
76
+ o = point 1, 2, 3
77
+ assert_equal [1, 2], o.to_a
78
+ assert_equal [1], o.to_a(1)
79
+ assert_equal [1, 2], o.to_a(2)
80
+ assert_equal [1, 2, 3], o.to_a(3)
81
+ assert_raise(ArgumentError) {o.to_a(-1)}
82
+ assert_raise(ArgumentError) {o.to_a(0)}
83
+ assert_raise(ArgumentError) {o.to_a(4)}
84
+ end
85
+
86
+ def test_index ()
87
+ o = point 1, 2, 3
88
+ assert_equal 1, o[0]
89
+ assert_equal 2, o[1]
90
+ assert_equal 3, o[2]
91
+ assert_raise(IndexError) {point[-1]}
92
+ assert_raise(IndexError) {point[3]}
93
+ end
94
+
95
+ def test_index_assign ()
96
+ o = point 1, 2, 3
97
+ o[0] = 4
98
+ assert_equal [4, 2, 3], o.to_a(3)
99
+ o[1] = 5
100
+ assert_equal [4, 5, 3], o.to_a(3)
101
+ o[2] = 6
102
+ assert_equal [4, 5, 6], o.to_a(3)
103
+ assert_raise(IndexError) {point[-1] = 7}
104
+ assert_raise(IndexError) {point[ 3] = 7}
105
+ end
106
+
107
+ def test_compare ()
108
+ o = point 1, 2, 3
109
+ assert o == point(1, 2, 3)
110
+ assert !(o != point(1, 2, 3))
111
+
112
+ assert o < point(2, 2, 3)
113
+ assert o < point(1, 3, 3)
114
+ assert o < point(1, 2, 4)
115
+
116
+ assert o > point(0, 2, 3)
117
+ assert o > point(1, 1, 3)
118
+ assert o > point(1, 2, 2)
119
+ end
120
+
121
+ end# TestPoint
data/test/test_rays.rb CHANGED
@@ -1,10 +1,9 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
 
4
- $: << File.dirname(__FILE__)
5
-
6
4
  $RAYS_NOAUTOINIT = true
7
- require 'helpers'
5
+
6
+ require_relative 'helpers'
8
7
 
9
8
 
10
9
  class TestRays < Test::Unit::TestCase
data/test/test_texture.rb CHANGED
@@ -1,9 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
 
4
- $: << File.dirname(__FILE__)
5
-
6
- require 'helpers'
4
+ require_relative 'helpers'
7
5
 
8
6
 
9
7
  class TestTexture < Test::Unit::TestCase
metadata CHANGED
@@ -1,175 +1,246 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rays
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.4
4
5
  prerelease:
5
- version: 0.1.3
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - snori
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-09-19 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: xot
12
+ date: 2013-04-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
17
23
  prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
19
25
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: xot
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
24
38
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: rucy
28
39
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
30
41
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rucy
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
35
54
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: rake
39
55
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
41
65
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
46
70
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: gemcutter
50
71
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: gemcutter
80
+ requirement: !ruby/object:Gem::Requirement
52
81
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
57
86
  type: :development
58
- version_requirements: *id004
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
59
94
  description: This library helps you to develop graphics application with OpenGL.
60
95
  email: snori@xord.org
61
96
  executables: []
62
-
63
- extensions:
97
+ extensions:
64
98
  - Rakefile
65
- extra_rdoc_files:
99
+ extra_rdoc_files:
66
100
  - README
67
101
  - .doc/ext/rays/bitmap.cpp
102
+ - .doc/ext/rays/bounds.cpp
103
+ - .doc/ext/rays/color.cpp
68
104
  - .doc/ext/rays/font.cpp
69
105
  - .doc/ext/rays/image.cpp
106
+ - .doc/ext/rays/matrix.cpp
70
107
  - .doc/ext/rays/native.cpp
71
108
  - .doc/ext/rays/painter.cpp
109
+ - .doc/ext/rays/point.cpp
72
110
  - .doc/ext/rays/rays.cpp
73
111
  - .doc/ext/rays/texture.cpp
74
- files:
75
- - README
112
+ files:
113
+ - .gitignore
76
114
  - ChangeLog
115
+ - README
77
116
  - Rakefile
78
- - rays.gemspec
79
117
  - VERSION
80
- - ext/rays/extconf.rb
81
- - ext/rays/defs.h
82
118
  - ext/rays/bitmap.cpp
119
+ - ext/rays/bounds.cpp
120
+ - ext/rays/color.cpp
121
+ - ext/rays/defs.h
122
+ - ext/rays/extconf.rb
83
123
  - ext/rays/font.cpp
84
124
  - ext/rays/image.cpp
125
+ - ext/rays/matrix.cpp
85
126
  - ext/rays/native.cpp
86
127
  - ext/rays/painter.cpp
128
+ - ext/rays/point.cpp
87
129
  - ext/rays/rays.cpp
88
130
  - ext/rays/texture.cpp
131
+ - include/rays.h
89
132
  - include/rays/bitmap.h
133
+ - include/rays/bounds.h
134
+ - include/rays/color.h
90
135
  - include/rays/colorspace.h
91
136
  - include/rays/defs.h
92
137
  - include/rays/exception.h
93
138
  - include/rays/font.h
94
- - include/rays/helpers.h
95
139
  - include/rays/image.h
140
+ - include/rays/matrix.h
96
141
  - include/rays/opengl.h
97
142
  - include/rays/painter.h
143
+ - include/rays/point.h
98
144
  - include/rays/rays.h
145
+ - include/rays/ruby.h
99
146
  - include/rays/ruby/bitmap.h
147
+ - include/rays/ruby/bounds.h
148
+ - include/rays/ruby/color.h
100
149
  - include/rays/ruby/font.h
101
150
  - include/rays/ruby/image.h
151
+ - include/rays/ruby/matrix.h
102
152
  - include/rays/ruby/painter.h
153
+ - include/rays/ruby/point.h
103
154
  - include/rays/ruby/rays.h
104
155
  - include/rays/ruby/texture.h
105
- - include/rays/ruby.h
106
156
  - include/rays/texture.h
107
- - include/rays/transform.h
108
- - include/rays.h
157
+ - lib/rays.rb
109
158
  - lib/rays/autoinit.rb
110
159
  - lib/rays/bitmap.rb
160
+ - lib/rays/bounds.rb
161
+ - lib/rays/color.rb
162
+ - lib/rays/ext.rb
111
163
  - lib/rays/image.rb
112
164
  - lib/rays/module.rb
113
165
  - lib/rays/painter.rb
166
+ - lib/rays/point.rb
114
167
  - lib/rays/texture.rb
115
- - lib/rays.rb
168
+ - rays.gemspec
169
+ - src/bounds.cpp
170
+ - src/cocoa/bitmap.mm
171
+ - src/cocoa/font.mm
116
172
  - src/cocoa/helpers.h
117
- - src/win32/gdi.h
173
+ - src/cocoa/helpers.mm
174
+ - src/cocoa/rays.mm
175
+ - src/color.cpp
118
176
  - src/colorspace.cpp
119
177
  - src/exception.cpp
120
- - src/helpers.cpp
121
178
  - src/image.cpp
179
+ - src/matrix.cpp
122
180
  - src/painter.cpp
181
+ - src/point.cpp
123
182
  - src/texture.cpp
124
- - src/transform.cpp
125
183
  - src/win32/bitmap.cpp
126
184
  - src/win32/font.cpp
127
185
  - src/win32/gdi.cpp
186
+ - src/win32/gdi.h
128
187
  - src/win32/rays.cpp
129
- - src/cocoa/bitmap.mm
130
- - src/cocoa/font.mm
131
- - src/cocoa/helpers.mm
132
- - src/cocoa/rays.mm
133
188
  - test/helpers.rb
189
+ - test/test_bitmap.rb
190
+ - test/test_bounds.rb
191
+ - test/test_color.rb
192
+ - test/test_font.rb
193
+ - test/test_image.rb
134
194
  - test/test_painter.rb
195
+ - test/test_point.rb
135
196
  - test/test_rays.rb
136
197
  - test/test_texture.rb
137
198
  - .doc/ext/rays/bitmap.cpp
199
+ - .doc/ext/rays/bounds.cpp
200
+ - .doc/ext/rays/color.cpp
138
201
  - .doc/ext/rays/font.cpp
139
202
  - .doc/ext/rays/image.cpp
203
+ - .doc/ext/rays/matrix.cpp
140
204
  - .doc/ext/rays/native.cpp
141
205
  - .doc/ext/rays/painter.cpp
206
+ - .doc/ext/rays/point.cpp
142
207
  - .doc/ext/rays/rays.cpp
143
208
  - .doc/ext/rays/texture.cpp
144
209
  homepage: http://github.com/xord/rays
145
210
  licenses: []
146
-
147
211
  post_install_message:
148
212
  rdoc_options: []
149
-
150
- require_paths:
213
+ require_paths:
151
214
  - lib
152
- - ext
153
- required_ruby_version: !ruby/object:Gem::Requirement
215
+ required_ruby_version: !ruby/object:Gem::Requirement
154
216
  none: false
155
- requirements:
156
- - - ">="
157
- - !ruby/object:Gem::Version
217
+ requirements:
218
+ - - ! '>='
219
+ - !ruby/object:Gem::Version
158
220
  version: 1.9.0
159
- required_rubygems_version: !ruby/object:Gem::Requirement
221
+ required_rubygems_version: !ruby/object:Gem::Requirement
160
222
  none: false
161
- requirements:
162
- - - ">="
163
- - !ruby/object:Gem::Version
164
- version: "0"
223
+ requirements:
224
+ - - ! '>='
225
+ - !ruby/object:Gem::Version
226
+ version: '0'
227
+ segments:
228
+ - 0
229
+ hash: 2102975611115655043
165
230
  requirements: []
166
-
167
231
  rubyforge_project:
168
- rubygems_version: 1.8.1
232
+ rubygems_version: 1.8.25
169
233
  signing_key:
170
234
  specification_version: 3
171
235
  summary: A Drawing Engine using OpenGL.
172
- test_files:
236
+ test_files:
237
+ - test/helpers.rb
238
+ - test/test_bitmap.rb
239
+ - test/test_bounds.rb
240
+ - test/test_color.rb
241
+ - test/test_font.rb
242
+ - test/test_image.rb
173
243
  - test/test_painter.rb
244
+ - test/test_point.rb
174
245
  - test/test_rays.rb
175
246
  - test/test_texture.rb