chingu 0.7.7.2 → 0.7.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/chingu.gemspec +1 -1
- data/lib/chingu.rb +1 -1
- data/lib/chingu/helpers/input_dispatcher.rb +1 -1
- metadata +4 -4
data/chingu.gemspec
CHANGED
data/lib/chingu.rb
CHANGED
@@ -60,7 +60,7 @@ module Chingu
|
|
60
60
|
def dispatch_input_for(object, prefix = "holding_")
|
61
61
|
pattern = /^#{prefix}/
|
62
62
|
object.input.each do |symbol, actions|
|
63
|
-
if symbol =~ pattern and $window.button_down?(Input::SYMBOL_TO_CONSTANT[$'.to_sym])
|
63
|
+
if symbol.to_s =~ pattern and $window.button_down?(Input::SYMBOL_TO_CONSTANT[$'.to_sym])
|
64
64
|
dispatch_actions(actions)
|
65
65
|
end
|
66
66
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chingu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 109
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
9
|
- 7
|
10
|
-
-
|
11
|
-
version: 0.7.7.
|
10
|
+
- 3
|
11
|
+
version: 0.7.7.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- ippa
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
hash:
|
46
|
+
hash: 294392976
|
47
47
|
segments:
|
48
48
|
- 2
|
49
49
|
- 0
|