From 501da4d922c9d13a8c2c9bd19c3e5ebc65833b39 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sun, 27 Sep 2015 22:56:20 +0300 Subject: [PATCH] ignore 1.9.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit something with the integer encodings doesn’t quite sync --- .travis.yml | 1 - lib/interpreter/interpreter.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4490798b..b9666008 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,6 @@ cache: bundler script: - CODECLIMATE_REPO_TOKEN=e778c5658e8488a37795ec48f8c6990135f7a2ec35ceadc2e816a4ed1e3f20ab ruby test/test_all.rb rvm: - - 1.9.3 - 2.0.0 - 2.1.7 - 2.2.3 diff --git a/lib/interpreter/interpreter.rb b/lib/interpreter/interpreter.rb index 5ee276a0..9934a119 100644 --- a/lib/interpreter/interpreter.rb +++ b/lib/interpreter/interpreter.rb @@ -112,7 +112,7 @@ module Interpreter def execute_GetSlot object = object_for( @instruction.array ) value = object.internal_object_get( @instruction.index ) - value = value.object_id unless value.is_a? Integer + value = value.object_id unless value.is_a? Fixnum set_register( @instruction.register , value ) true end