rubysketch 0.5.26 → 0.5.27

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: 26c49c9860053850965c49ba550e222dbbc31dd41c26ed5a0e3ccba96cc70f30
4
- data.tar.gz: f6d5e3eff58ce12340eccf50bb9dc2d21f19403ad54828890fe49c19428a9f30
3
+ metadata.gz: 920f2b89bf85f1524a621c2857d4284e4276a8e4589c2533b63f48d34b1c5b25
4
+ data.tar.gz: 26073df4e8b497ef2bcd749143379a21d504a32c45eb7e89afdccfd5d47c82f5
5
5
  SHA512:
6
- metadata.gz: fbab1d6a12f52dbbef8c66be6dc86fccfb5da9c63807ea579ca4b61042d4e8df0fa223f533eb2ef6505054b4d4e0cfe812e9eadebd6926ae65ec0a22243c0760
7
- data.tar.gz: a942e138e2350c873a148cf2ec17f58c6aded29685956f00c35eb50583403d3771dfe84b8ea3d303c01c0026e93fdd079716b47699f21d4a86189de378f96234
6
+ metadata.gz: eeb5d649537dad8fa0e329679ffb571977e7619c96af9b757ed980b5dc368226c80f6fc10bd93df729075d4e1837d09013addcd4e902a9db45f64cd5cfe39ced
7
+ data.tar.gz: 1873d77cb216ccb8d2221d0a31c09b3e5f29b76e4f4e8c7da2602422e83567f22763d98b114044721dc2e48db3110d41cc2257880e798be47344c22113e54325
data/ChangeLog.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # rubysketch ChangeLog
2
2
 
3
3
 
4
+ ## [v0.5.27] - 2023-07-30
5
+
6
+ - add vibrate()
7
+
8
+
4
9
  ## [v0.5.26] - 2023-07-26
5
10
 
6
11
  - Rescue exceptions thrown at sprite event handlers
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.26
1
+ 0.5.27
@@ -272,6 +272,14 @@ module RubySketch
272
272
  @layer__.gravity x, y
273
273
  end
274
274
 
275
+ # Generates haptic feedback
276
+ #
277
+ # @return [nil] nil
278
+ #
279
+ def vibrate ()
280
+ Reflex.vibrate
281
+ end
282
+
275
283
  end# Context
276
284
 
277
285
 
@@ -958,7 +958,7 @@ module RubySketch
958
958
 
959
959
  def on_contact_begin(e)
960
960
  v = e.view
961
- call_block @contact, v.sprite, e.action if @contact && v.respond_to?(:sprite)
961
+ call_block @contact, v.sprite, e.action if v.respond_to?(:sprite)
962
962
  end
963
963
 
964
964
  def will_contact?(v)
data/rubysketch.gemspec CHANGED
@@ -29,8 +29,8 @@ Gem::Specification.new do |s|
29
29
  s.add_runtime_dependency 'rucy', '~> 0.1.39'
30
30
  s.add_runtime_dependency 'beeps', '~> 0.1.41'
31
31
  s.add_runtime_dependency 'rays', '~> 0.1.43'
32
- s.add_runtime_dependency 'reflexion', '~> 0.1.49'
33
- s.add_runtime_dependency 'processing', '~> 0.5.25'
32
+ s.add_runtime_dependency 'reflexion', '~> 0.1.50'
33
+ s.add_runtime_dependency 'processing', '~> 0.5.26'
34
34
 
35
35
  s.add_development_dependency 'rake'
36
36
  s.add_development_dependency 'test-unit'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysketch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.26
4
+ version: 0.5.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - xordog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-26 00:00:00.000000000 Z
11
+ date: 2023-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xot
@@ -72,28 +72,28 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.1.49
75
+ version: 0.1.50
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.1.49
82
+ version: 0.1.50
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: processing
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.5.25
89
+ version: 0.5.26
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.5.25
96
+ version: 0.5.26
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement