nokogiri-diff.gemspec in nokogiri-diff-0.2.0 vs nokogiri-diff.gemspec in nokogiri-diff-0.3.0
- old
+ new
@@ -5,13 +5,10 @@
Gem::Specification.new do |gem|
gemspec = YAML.load_file('gemspec.yml')
gem.name = gemspec.fetch('name')
gem.version = gemspec.fetch('version') do
- lib_dir = File.join(File.dirname(__FILE__),'lib')
- $LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
-
- require 'nokogiri/diff/version'
+ require_relative 'lib/nokogiri/diff/version'
Nokogiri::Diff::VERSION
end
gem.summary = gemspec['summary']
gem.description = gemspec['description']