From de0d668039cc4df277eb0191f464332e4fa25a0a Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Fri, 25 Oct 2019 11:42:00 +0200 Subject: [PATCH 1/3] Fix CI build --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3aed178..43666c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ dist: trusty bundler_args: "--verbose" before_install: - - gem update --system - which bundle || gem install bundler - gem update bundler rvm: From f6e4488b8fcab1a5648de145f89669ad27f9619a Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Fri, 25 Oct 2019 11:49:12 +0200 Subject: [PATCH 2/3] Add MRI 2.5 and 2.6 --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 43666c7..ffd2772 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,11 +11,13 @@ rvm: - rbx-3 - jruby - jruby-head - - 2.0.0 - - 2.1 - - 2.2 - - 2.3 - - 2.4.2 + - "2.0" + - "2.1" + - "2.2" + - "2.3" + - "2.4" + - "2.5" + - "2.6" - ruby-head matrix: allow_failures: From 6487a1e425997f674c6a6bb8c9e5e83c425ba271 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Fri, 25 Oct 2019 11:56:35 +0200 Subject: [PATCH 3/3] Fix ruby warning in spec_helper --- spec/method_source_spec.rb | 2 +- spec/spec_helper.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/method_source_spec.rb b/spec/method_source_spec.rb index 088c21f..c4e0669 100644 --- a/spec/method_source_spec.rb +++ b/spec/method_source_spec.rb @@ -33,7 +33,7 @@ @lambda_source = "MyLambda = lambda { :lambda }\n" @proc_source = "MyProc = Proc.new { :proc }\n" @hello_instance_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n" - @hello_instance_evaled_source_2 = " def \#{name}_two()\n if 44\n 45\n end\n end\n" + @hello_instance_evaled_source_2 = " def \#{name}_two()\n if 40 + 4\n 45\n end\n end\n" @hello_class_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n" @hi_module_evaled_source = " def hi_\#{name}\n @var = \#{name}\n end\n" end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0e5de61..d011657 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -82,14 +82,14 @@ def hi_#{name} M.instance_eval <