assets/src/org/ruboto/JRubyAdapter.java in ruboto-0.15.0 vs assets/src/org/ruboto/JRubyAdapter.java in ruboto-0.16.0

- old
+ new

@@ -270,10 +270,12 @@ } addLoadPath(scriptsDirName(appContext)); put("$package_name", appContext.getPackageName()); + runScriptlet("::RUBOTO_JAVA_PROXIES = {}"); + initialized = true; } catch (ClassNotFoundException e) { handleInitException(e); } catch (IllegalArgumentException e) { handleInitException(e); @@ -351,10 +353,10 @@ } // FIXME(uwe): Remove when we stop supporting Ruby 1.8 @Deprecated public static boolean isRubyOneNine() { String rv = ((String)get("RUBY_VERSION")); - return rv.startsWith("2.0.") || rv.startsWith("1.9."); + return rv.startsWith("2.1.") || rv.startsWith("2.0.") || rv.startsWith("1.9."); } static void printStackTrace(Throwable t) { // TODO(uwe): Simplify this when Issue #144 is resolved // TODO(scott): printStackTrace is causing too many problems