Rakefile in required_options-0.5.0 vs Rakefile in required_options-0.6.0

- old
+ new

@@ -11,10 +11,10 @@ def name @name ||= Dir['*.gemspec'].first.split('.').first end def version - line = File.read("lib/#{name}.rb")[/^\s*VERSION\s*=\s*.*/] + line = File.read("lib/#{name}/version.rb")[/^\s*VERSION\s*=\s*.*/] line.match(/.*VERSION\s*=\s*['"](.*)['"]/)[1] end def date Date.today.to_s