chingu 0.7.7.1 → 0.7.7.2

Sign up to get free protection for your applications and to get access to all the features.
data/chingu.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{chingu}
8
- s.version = "0.7.7.1"
8
+ s.version = "0.7.7.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["ippa"]
data/lib/chingu.rb CHANGED
@@ -33,7 +33,7 @@ require_all "#{CHINGU_ROOT}/chingu/traits"
33
33
  require_all "#{CHINGU_ROOT}/chingu"
34
34
 
35
35
  module Chingu
36
- VERSION = "0.7.7.1"
36
+ VERSION = "0.7.7.2"
37
37
 
38
38
  DEBUG_COLOR = Gosu::Color.new(0xFFFF0000)
39
39
  DEBUG_ZORDER = 9999
@@ -102,7 +102,7 @@ module Chingu
102
102
  prefix_used = ""
103
103
  ["holding_", "released_"].each do |prefix|
104
104
  break if base_key
105
- if key =~ /^#{prefix}(.*)$/
105
+ if key.to_s =~ /^#{prefix}(.*)$/
106
106
  base_key = Chingu::Input::SYMBOL_TO_CONSTANT.has_key?($1.to_sym) ? $1.to_sym : nil
107
107
  prefix_used = prefix
108
108
  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: 105
4
+ hash: 111
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
9
  - 7
10
- - 1
11
- version: 0.7.7.1
10
+ - 2
11
+ version: 0.7.7.2
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: -784023276
46
+ hash: 910101772
47
47
  segments:
48
48
  - 2
49
49
  - 0