lib/natural_key.rb in natural_key-0.2.1 vs lib/natural_key.rb in natural_key-0.2.2
- old
+ new
@@ -1,9 +1,7 @@
-$:.unshift(File.dirname(__FILE__)) unless
- $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
+require 'natural_key/version'
module NaturalKey
- version = YAML.load_file(File.dirname(__FILE__) + "/../VERSION.yml")
- VERSION = "#{version[:major]}.#{version[:minor]}.#{version[:patch]}"
+ # Your code goes here...
end
require 'natural_key/base'