We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed59dbb commit a561ed9Copy full SHA for a561ed9
Rakefile
@@ -26,7 +26,7 @@ which = lambda { |c|
26
MAKE = ENV['MAKE'] || %w[gmake make].find(&which)
27
BUNDLE = ENV['BUNDLE'] || %w[bundle].find(&which)
28
29
-PKG_VERSION = version = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line|
+PKG_VERSION = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line|
30
/^\s*VERSION\s*=\s*'(.*)'/ =~ line and break $1
31
end rescue nil
32
0 commit comments