Rakefile in hackpad-cli-0.0.7 vs Rakefile in hackpad-cli-0.1.0
- old
+ new
@@ -3,18 +3,18 @@
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
require 'bundler/setup'
-require "bundler/gem_tasks"
-require "rake/testtask"
-require "rspec/core/rake_task" # RSpec 2.0
+require 'bundler/gem_tasks'
+require 'rake/testtask'
+require 'rspec/core/rake_task' # RSpec 2.0
-desc "launch rspec tests"
+desc 'launch rspec tests'
task :spec do
RSpec::Core::RakeTask.new(:spec) do |t|
- t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
+ t.rspec_opts = ['-c', '-f progress', '-r ./spec/spec_helper.rb']
t.pattern = 'spec/lib/**/*_spec.rb'
end
end
-task :default => :spec
+task default: :spec