test/angelo/mustermann_spec.rb in angelo-0.3.1 vs test/angelo/mustermann_spec.rb in angelo-0.3.2
- old
+ new
@@ -1,5 +1,5 @@
-if RUBY_VERSION =~ /^2\./ and RUBY_PLATFORM != 'java'
+if RUBY_VERSION =~ /^2\.(\d)/ and $1.to_i > 0 and RUBY_PLATFORM != 'java'
require_relative '../spec_helper'
require 'angelo/mustermann'
require 'angelo/tilt/erb'