Rakefile in muack-1.4.0 vs Rakefile in muack-1.5.0
- old
+ new
@@ -1,14 +1,13 @@
begin
- require "#{dir = File.dirname(__FILE__)}/task/gemgem"
+ require "#{__dir__}/task/gemgem"
rescue LoadError
- sh 'git submodule update --init'
+ sh 'git submodule update --init --recursive'
exec Gem.ruby, '-S', $PROGRAM_NAME, *ARGV
end
-Gemgem.init(dir) do |s|
+Gemgem.init(__dir__) do |s|
require 'muack/version'
s.name = 'muack'
s.version = Muack::VERSION
- %w[].each{ |g| s.add_runtime_dependency(g) }
end