terminal_game_engine 0.3.0 → 0.4.0

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
  SHA1:
3
- metadata.gz: 007336af29788934644203dba0d58232cd8fec15
4
- data.tar.gz: a00f2be1c0fe0222a1ac8ea2dbfd0273dcc83b5c
3
+ metadata.gz: b89750ba2a79bf60c0b208634c0eb6fa0afc1b5d
4
+ data.tar.gz: d60da4c30e994c77b9b27a696b4a9835ecedd8f3
5
5
  SHA512:
6
- metadata.gz: ecaa864e8aa8393a67b74300a8cf7f62dbee2ffe304bda7ea6041cfd54af7891b857568b077ffe6b709db37fb59313f90d44bab0298b2e5282e6d7252c8e3520
7
- data.tar.gz: e245aa2378a74259b0a92049e3be150f858586686a344cf592da9a81b5691c4d21caec9760cd0c0ae6a203c2128063f58c3ad3f4153340d948bfbbf0aaa9064a
6
+ metadata.gz: 6ac2147837ec6440df21d0534ac1e488275dd9942661cdc6341f378ec69721ef9d3a0552f2898806927d77efd024bdcb6a047a6422bfbbeee4bed14678b8f6ac
7
+ data.tar.gz: 118fc9b4fadf79b34293040b8f7be7c2cdc70c981141675d92836a3c0e125ed57b0ba8dd551506aba8e917c1be73622b5abd0514a9ee45c626ca904d047f9634
@@ -8,7 +8,7 @@ module TerminalGameEngine
8
8
  def self.call(&block)
9
9
  begin
10
10
  loop do
11
- key = $stdin.read_nonblock(1).ord
11
+ key = $stdin.read_nonblock(1)
12
12
  block.call key
13
13
  end
14
14
  rescue Errno::EAGAIN
@@ -1,3 +1,3 @@
1
1
  module TerminalGameEngine
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terminal_game_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Odin Dutton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-29 00:00:00.000000000 Z
11
+ date: 2016-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler