lib/newjs.rb in newjs-1.5.1 vs lib/newjs.rb in newjs-1.7.0
- old
+ new
@@ -1,7 +1,8 @@
-$:.unshift File.dirname(__FILE__)
+$:.unshift(File.dirname(__FILE__)) unless
+ $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
module Newjs
-
+ VERSION = '1.7.0'
end
require 'newjs/jstest'
\ No newline at end of file