processing 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcfefec0dd503e3934cfd162cf4c2ed6e351b0ca16e5a8f262831ae339677741
4
- data.tar.gz: aa8fa395d100d4c4b5124d239213f6608a87e556beefb80dd4d50cf8d64a8ce0
3
+ metadata.gz: '09125754200830d8b1e3cc8fce0f31194bbe0c319ffd0410be43a3860ef5747e'
4
+ data.tar.gz: 5cf8e0e1c1c0b1fc46d88c6043ad3a44e32819dd7a9ace3066489c101529b40e
5
5
  SHA512:
6
- metadata.gz: 94852e2aff0eaece5b719cb1ca7ffb9651cd7de5012ae9992f909213746aee5cdca33a37e0f88e0d65bef1a2d79fa8a0bbbad2ed4d1439373175eb4167f7286a
7
- data.tar.gz: a59a540d86331c45502c71bdc259e86591c836c92d857bb11dfe65244412f9697c664517aeceaba3f28fcbdc19917909c38832e21813e638b8c8a5580b28c1be
6
+ metadata.gz: 60829858cded743eb30a1bd7076953048f824a159d6fd98d8c8e08ec49f80802e0ca2554f04a0766ad6a4067db75f4938a1aae1d7c51b55bb0ad4e2e7cd7c622
7
+ data.tar.gz: aa3f8da5dd0168cca1aef67462dc11930f5a1dec95b52dab31e720df114f40ead20ff5062a898baca80eb87f76e6a13731d8dd22ff932e86c44cf28426ddacd8
data/ChangeLog.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # processing ChangeLog
2
2
 
3
3
 
4
+ ## [v0.5.6] - 2023-05-08
5
+
6
+ - Add inspect() to classes
7
+ - Alias draw methods
8
+ - colorMode(), angleMode(), and blendMode() returns current mode value
9
+ - fix that mouseButton returns 0 on mouseReleased
10
+
11
+
4
12
  ## [v0.5.5] - 2023-04-30
5
13
 
6
14
  - Update documents
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.5
1
+ 0.5.6
@@ -3,6 +3,7 @@ require 'digest/sha1'
3
3
  require 'pathname'
4
4
  require 'tmpdir'
5
5
  require 'open-uri'
6
+ require 'xot/inspectable'
6
7
  require 'reflex'
7
8
 
8
9
  require 'processing/extension'
@@ -5,6 +5,8 @@ module Processing
5
5
  #
6
6
  class Capture
7
7
 
8
+ include Xot::Inspectable
9
+
8
10
  # Returns a list of available camera device names
9
11
  #
10
12
  # @return [Array] device name list
@@ -5,6 +5,7 @@ module Processing
5
5
  #
6
6
  class Context
7
7
 
8
+ include Xot::Inspectable
8
9
  include GraphicsContext
9
10
 
10
11
  Capture = Processing::Capture
@@ -35,17 +36,18 @@ module Processing
35
36
  @window__.canvas_image,
36
37
  @window__.canvas_painter.paint {background 0.8})
37
38
 
38
- @loop__ = true
39
- @redraw__ = false
40
- @frameCount__ = 0
41
- @key__ = nil
42
- @keyCode__ = nil
43
- @keysPressed__ = Set.new
44
- @pointerPos__ =
45
- @pointerPrevPos__ = Rays::Point.new 0
46
- @pointersPressed__ = []
47
- @touches__ = []
48
- @motionGravity__ = createVector 0, 0
39
+ @loop__ = true
40
+ @redraw__ = false
41
+ @frameCount__ = 0
42
+ @key__ = nil
43
+ @keyCode__ = nil
44
+ @keysPressed__ = Set.new
45
+ @pointerPos__ =
46
+ @pointerPrevPos__ = Rays::Point.new 0
47
+ @pointersPressed__ = []
48
+ @pointersReleased__ = []
49
+ @touches__ = []
50
+ @motionGravity__ = createVector 0, 0
49
51
 
50
52
  @window__.before_draw = proc {beginDraw__}
51
53
  @window__.after_draw = proc {endDraw__}
@@ -95,11 +97,13 @@ module Processing
95
97
  @pointerPos__ = event.pos.dup
96
98
  @touches__ = event.pointers.map {|p| Touch.new(p.id, *p.pos.to_a)}
97
99
  if pressed != nil
98
- array = @pointersPressed__
99
100
  event.types
100
101
  .tap {|types| types.delete :mouse}
101
102
  .map {|type| mouseButtonMap[type] || type}
102
- .each {|type| pressed ? array.push(type) : array.delete(type)}
103
+ .each do |type|
104
+ (pressed ? @pointersPressed__ : @pointersReleased__).push type
105
+ @pointersPressed__.delete type unless pressed
106
+ end
103
107
  end
104
108
  }
105
109
 
@@ -127,6 +131,7 @@ module Processing
127
131
  @mouseClickedBlock__&.call if (@pointerPos__ - startPos).length < 3
128
132
  @pointerDownStartPos__ = nil
129
133
  end
134
+ @pointersReleased__.clear
130
135
  end
131
136
 
132
137
  @window__.pointer_move = proc do |e|
@@ -440,7 +445,7 @@ module Processing
440
445
  # @return [Numeric] LEFT, RIGHT, CENTER or 0
441
446
  #
442
447
  def mouseButton()
443
- (@pointersPressed__ & [LEFT, RIGHT, CENTER]).last || 0
448
+ ((@pointersPressed__ + @pointersReleased__) & [LEFT, RIGHT, CENTER]).last
444
449
  end
445
450
 
446
451
  # Returns array of touches
@@ -28,6 +28,14 @@ module Processing
28
28
  TextBounds.new x, y, x + f.width(str), y + f.height
29
29
  end
30
30
 
31
+ # Returns a string containing a human-readable representation of object.
32
+ #
33
+ # @return [String] inspected text
34
+ #
35
+ def inspect()
36
+ "#<Processing::Font: name:'#{@font.name}' size:#{@font.size}>"
37
+ end
38
+
31
39
  end# Font
32
40
 
33
41
 
@@ -56,6 +64,14 @@ module Processing
56
64
  @x, @y, @w, @h = x, y, w, h
57
65
  end
58
66
 
67
+ # Returns a string containing a human-readable representation of object.
68
+ #
69
+ # @return [String] inspected text
70
+ #
71
+ def inspect()
72
+ "#<Processing::TextBounds: x:#{x} y:#{y} w:#{w} h:#{h}>"
73
+ end
74
+
59
75
  end# TextBounds
60
76
 
61
77
 
@@ -5,6 +5,7 @@ module Processing
5
5
  #
6
6
  class Graphics
7
7
 
8
+ include Xot::Inspectable
8
9
  include GraphicsContext
9
10
 
10
11
  # Initialize graphics object.
@@ -198,12 +198,15 @@ module Processing
198
198
  # @private
199
199
  def init__(image, painter)
200
200
  @drawing__ = false
201
+ @colorMode__ = nil
201
202
  @hsbColor__ = false
202
203
  @colorMaxes__ = [1.0] * 4
204
+ @angleMode__ = nil
203
205
  @angleScale__ = 1.0
204
206
  @rectMode__ = nil
205
207
  @ellipseMode__ = nil
206
208
  @imageMode__ = nil
209
+ @blendMode__ = nil
207
210
  @textAlignH__ = nil
208
211
  @textAlignV__ = nil
209
212
  @tint__ = nil
@@ -271,19 +274,22 @@ module Processing
271
274
  # @param max3 [Numeric] max value for blue or brightness
272
275
  # @param maxA [Numeric] max value for alpha
273
276
  #
274
- # @return [nil] nil
277
+ # @return [RGB, HSB] current mode
275
278
  #
276
- def colorMode(mode, *maxes)
277
- mode = mode.downcase.to_sym
278
- raise ArgumentError, "invalid color mode: #{mode}" unless [RGB, HSB].include?(mode)
279
- raise ArgumentError unless [0, 1, 3, 4].include?(maxes.size)
279
+ def colorMode(mode = nil, *maxes)
280
+ if mode != nil
281
+ mode = mode.downcase.to_sym
282
+ raise ArgumentError, "invalid color mode: #{mode}" unless [RGB, HSB].include?(mode)
283
+ raise ArgumentError unless [0, 1, 3, 4].include?(maxes.size)
280
284
 
281
- @hsbColor__ = mode == HSB
282
- case maxes.size
283
- when 1 then @colorMaxes__ = [maxes.first.to_f] * 4
284
- when 3, 4 then @colorMaxes__[0...maxes.size] = maxes.map &:to_f
285
+ @colorMode__ = mode
286
+ @hsbColor__ = mode == HSB
287
+ case maxes.size
288
+ when 1 then @colorMaxes__ = [maxes.first.to_f] * 4
289
+ when 3, 4 then @colorMaxes__[0...maxes.size] = maxes.map &:to_f
290
+ end
285
291
  end
286
- nil
292
+ @colorMode__
287
293
  end
288
294
 
289
295
  # @private
@@ -319,15 +325,19 @@ module Processing
319
325
  #
320
326
  # @param mode [RADIANS, DEGREES] RADIANS or DEGREES
321
327
  #
322
- # @return [nil] nil
328
+ # @return [RADIANS, DEGREES] current mode
323
329
  #
324
- def angleMode(mode)
325
- @angleScale__ = case mode.downcase.to_sym
326
- when RADIANS then RAD2DEG__
327
- when DEGREES then 1.0
328
- else raise ArgumentError, "invalid angle mode: #{mode}"
329
- end
330
- nil
330
+ def angleMode(mode = nil)
331
+ if mode != nil
332
+ @angleMode__ = mode
333
+ @angleScale__ =
334
+ case mode.downcase.to_sym
335
+ when RADIANS then RAD2DEG__
336
+ when DEGREES then 1.0
337
+ else raise ArgumentError, "invalid angle mode: #{mode}"
338
+ end
339
+ end
340
+ @angleMode__
331
341
  end
332
342
 
333
343
  # @private
@@ -335,6 +345,24 @@ module Processing
335
345
  angle * @angleScale__
336
346
  end
337
347
 
348
+ # @private
349
+ def fromRadians__(radians)
350
+ case @angleMode__
351
+ when RADIANS then radians
352
+ when DEGREES then radians * RAD2DEG__
353
+ else raise "invalid angle mode: #{mode}"
354
+ end
355
+ end
356
+
357
+ # @private
358
+ def fromDegrees__(degrees)
359
+ case @angleMode__
360
+ when RADIANS then degrees * DEG2RAD__
361
+ when DEGREES then degrees
362
+ else raise "invalid angle mode: #{mode}"
363
+ end
364
+ end
365
+
338
366
  # Sets rect mode. Default is CORNER.
339
367
  #
340
368
  # CORNER -> rect(left, top, width, height)
@@ -396,9 +424,12 @@ module Processing
396
424
  #
397
425
  # @return [nil] nil
398
426
  #
399
- def blendMode(mode)
400
- @painter__.blend_mode = mode
401
- nil
427
+ def blendMode(mode = nil)
428
+ if mode != nil
429
+ @blendMode__ = mode
430
+ @painter__.blend_mode = mode
431
+ end
432
+ @blendMode__
402
433
  end
403
434
 
404
435
  # Sets fill color.
@@ -691,6 +722,8 @@ module Processing
691
722
  nil
692
723
  end
693
724
 
725
+ alias drawPoint point
726
+
694
727
  # Draws a line.
695
728
  #
696
729
  # @param x1 [Numeric] horizontal position of first point
@@ -706,6 +739,8 @@ module Processing
706
739
  nil
707
740
  end
708
741
 
742
+ alias drawLine line
743
+
709
744
  # Draws a rectangle.
710
745
  #
711
746
  # The parameters a, b, c, and d are determined by rectMode().
@@ -738,6 +773,8 @@ module Processing
738
773
  nil
739
774
  end
740
775
 
776
+ alias drawRect rect
777
+
741
778
  # Draws an ellipse.
742
779
  #
743
780
  # The parameters a, b, c, and d are determined by ellipseMode().
@@ -756,6 +793,8 @@ module Processing
756
793
  nil
757
794
  end
758
795
 
796
+ alias drawEllipse ellipse
797
+
759
798
  # Draws a circle.
760
799
  #
761
800
  # @param x [Numeric] horizontal position of the shape
@@ -768,6 +807,8 @@ module Processing
768
807
  ellipse x, y, extent, extent
769
808
  end
770
809
 
810
+ alias drawCircle circle
811
+
771
812
  # Draws an arc.
772
813
  #
773
814
  # The parameters a, b, c, and d are determined by ellipseMode().
@@ -790,6 +831,8 @@ module Processing
790
831
  nil
791
832
  end
792
833
 
834
+ alias drawArc arc
835
+
793
836
  # Draws a square.
794
837
  #
795
838
  # @param x [Numeric] horizontal position of the shape
@@ -802,6 +845,8 @@ module Processing
802
845
  rect x, y, extent, extent
803
846
  end
804
847
 
848
+ alias drawSquare square
849
+
805
850
  # Draws a triangle.
806
851
  #
807
852
  # @param x1 [Numeric] horizontal position of first point
@@ -819,6 +864,8 @@ module Processing
819
864
  nil
820
865
  end
821
866
 
867
+ alias drawTriangle triangle
868
+
822
869
  # Draws a quad.
823
870
  #
824
871
  # @param x1 [Numeric] horizontal position of first point
@@ -838,6 +885,8 @@ module Processing
838
885
  nil
839
886
  end
840
887
 
888
+ alias drawQuad quad
889
+
841
890
  # Draws a Catmull-Rom spline curve.
842
891
  #
843
892
  # @param cx1 [Numeric] horizontal position of beginning control point
@@ -857,6 +906,8 @@ module Processing
857
906
  nil
858
907
  end
859
908
 
909
+ alias drawCurve curve
910
+
860
911
  # Draws a Bezier spline curve.
861
912
  #
862
913
  # @param x1 [Numeric] horizontal position of first point
@@ -876,6 +927,8 @@ module Processing
876
927
  nil
877
928
  end
878
929
 
930
+ alias drawBezier bezier
931
+
879
932
  # Draws a text.
880
933
  #
881
934
  # The parameters a, b, c, and d are determined by rectMode().
@@ -915,6 +968,8 @@ module Processing
915
968
  nil
916
969
  end
917
970
 
971
+ alias drawText text
972
+
918
973
  # Draws an image.
919
974
  #
920
975
  # The parameters a, b, c, and d are determined by imageMode().
@@ -938,6 +993,8 @@ module Processing
938
993
  nil
939
994
  end
940
995
 
996
+ alias drawImage image
997
+
941
998
  # Copies image.
942
999
  #
943
1000
  # @overload copy(sx, sy, sw, sh, dx, dy, dw, dh)
@@ -5,6 +5,8 @@ module Processing
5
5
  #
6
6
  class Image
7
7
 
8
+ include Xot::Inspectable
9
+
8
10
  # @private
9
11
  def initialize(image)
10
12
  @image = image
@@ -5,6 +5,8 @@ module Processing
5
5
  #
6
6
  class Shader
7
7
 
8
+ include Xot::Inspectable
9
+
8
10
  # Initialize shader object.
9
11
  #
10
12
  # @param vertSrc [String] vertex shader source
@@ -26,6 +26,14 @@ module Processing
26
26
  @id, @x, @y = id, x, y
27
27
  end
28
28
 
29
+ # Returns a string containing a human-readable representation of object.
30
+ #
31
+ # @return [String] inspected text
32
+ #
33
+ def inspect()
34
+ "#<Processing::Touch: id:#{id} x:#{x} y:#{y}>"
35
+ end
36
+
29
37
  end# Touch
30
38
 
31
39
 
@@ -535,9 +535,12 @@ module Processing
535
535
  v
536
536
  end
537
537
 
538
- # @private
538
+ # Returns a string containing a human-readable representation of object.
539
+ #
540
+ # @return [String] inspected text
541
+ #
539
542
  def inspect()
540
- "<##{self.class.name} #{x}, #{y}, #{z}>"
543
+ "#<#{self.class.name}: #{x}, #{y}, #{z}>"
541
544
  end
542
545
 
543
546
  # @private
@@ -4,6 +4,8 @@ module Processing
4
4
  # @private
5
5
  class Window < Reflex::Window
6
6
 
7
+ include Xot::Inspectable
8
+
7
9
  attr_accessor :setup, :update, :draw, :resize,
8
10
  :key_down, :key_up,
9
11
  :pointer_down, :pointer_up, :pointer_move, :pointer_drag,
data/processing.gemspec CHANGED
@@ -28,10 +28,10 @@ Gem::Specification.new do |s|
28
28
  s.platform = Gem::Platform::RUBY
29
29
  s.required_ruby_version = '>= 2.7.0'
30
30
 
31
- s.add_runtime_dependency 'xot', '~> 0.1.34'
32
- s.add_runtime_dependency 'rucy', '~> 0.1.34'
33
- s.add_runtime_dependency 'rays', '~> 0.1.34'
34
- s.add_runtime_dependency 'reflexion', '~> 0.1.35'
31
+ s.add_runtime_dependency 'xot', '~> 0.1.35'
32
+ s.add_runtime_dependency 'rucy', '~> 0.1.35'
33
+ s.add_runtime_dependency 'rays', '~> 0.1.35'
34
+ s.add_runtime_dependency 'reflexion', '~> 0.1.36'
35
35
 
36
36
  s.add_development_dependency 'rake'
37
37
  s.add_development_dependency 'test-unit'
data/test/helper.rb CHANGED
@@ -1,6 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
-
3
-
4
1
  %w[../xot ../rucy ../rays ../reflex .]
5
2
  .map {|s| File.expand_path "../#{s}/lib", __dir__}
6
3
  .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)}
@@ -0,0 +1,16 @@
1
+ require_relative 'helper'
2
+
3
+
4
+ class TestCapture < Test::Unit::TestCase
5
+
6
+ P = Processing
7
+
8
+ def capture(*args, **kwargs)
9
+ P::Capture.new(*args, **kwargs)
10
+ end
11
+
12
+ def test_inspect()
13
+ assert_match %r|#<Processing::Capture:0x\w{16}>|, capture.inspect
14
+ end
15
+
16
+ end# TestCapture
data/test/test_font.rb ADDED
@@ -0,0 +1,16 @@
1
+ require_relative 'helper'
2
+
3
+
4
+ class TestFont < Test::Unit::TestCase
5
+
6
+ P = Processing
7
+
8
+ def font()
9
+ P::Font.new Rays::Font.new(nil, 10)
10
+ end
11
+
12
+ def test_inspect()
13
+ assert_match %r|#<Processing::Font: name:'[\w\s]+' size:[\d\.]+>|, font.inspect
14
+ end
15
+
16
+ end# TestFont
@@ -1,6 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
-
3
-
4
1
  require_relative 'helper'
5
2
 
6
3
 
@@ -18,4 +15,8 @@ class TestGraphics < Test::Unit::TestCase
18
15
  assert_raise {g.beginDraw}
19
16
  end
20
17
 
18
+ def test_inspect()
19
+ assert_match %r|#<Processing::Graphics:0x\w{16}>|, graphics.inspect
20
+ end
21
+
21
22
  end# TestGraphics
@@ -0,0 +1,43 @@
1
+ require_relative 'helper'
2
+
3
+
4
+ class TestGraphicsContext < Test::Unit::TestCase
5
+
6
+ P = Processing
7
+ G = P::Graphics
8
+
9
+ def graphics(w = 10, h = 10)
10
+ G.new w, h
11
+ end
12
+
13
+ def test_colorMode()
14
+ g = graphics
15
+ assert_equal G::RGB, g.colorMode
16
+
17
+ g.colorMode G::HSB, 1
18
+ assert_equal G::HSB, g.colorMode
19
+
20
+ assert_raise {g.colorMode LEFT}
21
+ end
22
+
23
+ def test_angleMode()
24
+ g = graphics
25
+ assert_equal G::RADIANS, g.angleMode
26
+
27
+ g.angleMode G::DEGREES
28
+ assert_equal G::DEGREES, g.angleMode
29
+
30
+ assert_raise {g.angleMode LEFT}
31
+ end
32
+
33
+ def test_blendMode()
34
+ g = graphics
35
+ assert_equal G::BLEND, g.blendMode
36
+
37
+ g.blendMode G::ADD
38
+ assert_equal G::ADD, g.blendMode
39
+
40
+ assert_raise {g.blendMode LEFT}
41
+ end
42
+
43
+ end# TestGraphics
@@ -0,0 +1,16 @@
1
+ require_relative 'helper'
2
+
3
+
4
+ class TestImage < Test::Unit::TestCase
5
+
6
+ P = Processing
7
+
8
+ def image(w = 10, h = 10)
9
+ P::Image.new(Rays::Image.new w, h)
10
+ end
11
+
12
+ def test_inspect()
13
+ assert_match %r|#<Processing::Image:0x\w{16}>|, image.inspect
14
+ end
15
+
16
+ end# TestImage
data/test/test_shader.rb CHANGED
@@ -1,6 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
-
3
-
4
1
  require_relative 'helper'
5
2
 
6
3
 
@@ -44,4 +41,8 @@ class TestShader < Test::Unit::TestCase
44
41
  end
45
42
  end
46
43
 
44
+ def test_inspect()
45
+ assert_match %r|#<Processing::Shader:0x\w{16}>|, shader.inspect
46
+ end
47
+
47
48
  end# TestShader
@@ -0,0 +1,16 @@
1
+ require_relative 'helper'
2
+
3
+
4
+ class TestTextBounds < Test::Unit::TestCase
5
+
6
+ P = Processing
7
+
8
+ def bounds(*args)
9
+ P::TextBounds.new(*args)
10
+ end
11
+
12
+ def test_inspect()
13
+ assert_equal "#<Processing::TextBounds: x:1 y:2 w:3 h:4>", bounds(1, 2, 3, 4).inspect
14
+ end
15
+
16
+ end# TestTextBounds
@@ -0,0 +1,16 @@
1
+ require_relative 'helper'
2
+
3
+
4
+ class TestTouch < Test::Unit::TestCase
5
+
6
+ P = Processing
7
+
8
+ def touch(id, x, y)
9
+ P::Touch.new id, x, y
10
+ end
11
+
12
+ def test_inspect()
13
+ assert_equal "#<Processing::Touch: id:1 x:2 y:3>", touch(1, 2, 3).inspect
14
+ end
15
+
16
+ end# TestTouch
data/test/test_utility.rb CHANGED
@@ -1,6 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
-
3
-
4
1
  require_relative 'helper'
5
2
 
6
3
 
data/test/test_vector.rb CHANGED
@@ -1,6 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
-
3
-
4
1
  require_relative 'helper'
5
2
 
6
3
 
@@ -395,4 +392,8 @@ class TestVector < Test::Unit::TestCase
395
392
  assert_in_delta 1, v2.mag, 0.000001
396
393
  end
397
394
 
395
+ def test_inspect()
396
+ assert_equal '#<Processing::Vector: 1.0, 2.0, 3.0>', vec(1, 2, 3).inspect
397
+ end
398
+
398
399
  end# TestVector
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: processing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - xordog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xot
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.34
19
+ version: 0.1.35
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.34
26
+ version: 0.1.35
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rucy
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.34
33
+ version: 0.1.35
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.1.34
40
+ version: 0.1.35
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rays
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.34
47
+ version: 0.1.35
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.34
54
+ version: 0.1.35
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: reflexion
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.35
61
+ version: 0.1.36
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.35
68
+ version: 0.1.36
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -149,8 +149,14 @@ files:
149
149
  - lib/processing/window.rb
150
150
  - processing.gemspec
151
151
  - test/helper.rb
152
+ - test/test_capture.rb
153
+ - test/test_font.rb
152
154
  - test/test_graphics.rb
155
+ - test/test_graphics_context.rb
156
+ - test/test_image.rb
153
157
  - test/test_shader.rb
158
+ - test/test_text_bounds.rb
159
+ - test/test_touch.rb
154
160
  - test/test_utility.rb
155
161
  - test/test_vector.rb
156
162
  homepage: https://github.com/xord/processing
@@ -177,7 +183,13 @@ specification_version: 4
177
183
  summary: Processing compatible Creative Coding Framework.
178
184
  test_files:
179
185
  - test/helper.rb
186
+ - test/test_capture.rb
187
+ - test/test_font.rb
180
188
  - test/test_graphics.rb
189
+ - test/test_graphics_context.rb
190
+ - test/test_image.rb
181
191
  - test/test_shader.rb
192
+ - test/test_text_bounds.rb
193
+ - test/test_touch.rb
182
194
  - test/test_utility.rb
183
195
  - test/test_vector.rb