summary refs log tree commit
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--COPYING2
-rw-r--r--lib/rack/mock.rb2
3 files changed, 2 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 83b5de46..5008c954 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,6 @@ rvm:
   - 2.3.0
   - ruby-head
   - rbx-2
-  - jruby
   - jruby-9.0.4.0
   - jruby-head
 
@@ -20,5 +19,4 @@ notifications:
 
 matrix:
   allow_failures:
-    - rvm: jruby
     - rvm: rbx-2
diff --git a/COPYING b/COPYING
index e1047569..1f5c7013 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
-Copyright (c) 2007-2015 Christian Neukirchen <purl.org/net/chneukirchen>
+Copyright (c) 2007-2016 Christian Neukirchen <purl.org/net/chneukirchen>
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to
diff --git a/lib/rack/mock.rb b/lib/rack/mock.rb
index a2fc2401..04d27a61 100644
--- a/lib/rack/mock.rb
+++ b/lib/rack/mock.rb
@@ -128,7 +128,7 @@ module Rack
         end
       end
 
-      empty_str = ''.force_encoding(Encoding::ASCII_8BIT)
+      empty_str = String.new.force_encoding(Encoding::ASCII_8BIT)
       opts[:input] ||= empty_str
       if String === opts[:input]
         rack_input = StringIO.new(opts[:input])