Rakefile in githuh-0.1.0 vs Rakefile in githuh-0.1.2

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'timeout' def shell(*args) @@ -9,24 +11,19 @@ task :clean do shell('rm -rf pkg/ tmp/ coverage/ doc/ ' ) end -task :gem => [:build] do +task gem: [:build] do shell('gem install pkg/*') end -task :permissions => [ :clean ] do +task permissions: [:clean] do shell("chmod -v o+r,g+r * */* */*/* */*/*/* */*/*/*/* */*/*/*/*/*") shell("find . -type d -exec chmod o+x,g+x {} \\;") end -task :build => :permissions +task build: :permissions RSpec::Core::RakeTask.new(:spec) -task :default => :spec - - - - - +task default: :spec