Rakefile in solidus_subscriptions-alpha-0.0.3 vs Rakefile in solidus_subscriptions-alpha-0.0.4
- old
+ new
@@ -1,28 +1,28 @@
-require 'bundler'
-
-Bundler::GemHelper.install_tasks
-
-begin
- require 'spree/testing_support/extension_rake'
- require 'rubocop/rake_task'
- require 'rspec/core/rake_task'
-
- RSpec::Core::RakeTask.new(:spec)
-
- task default: %i(first_run spec)
-rescue LoadError
- # no rspec available
-end
-
-task :first_run do
- if Dir['spec/dummy'].empty?
- Rake::Task[:test_app].invoke
- Dir.chdir('../../')
- end
-end
-
-desc 'Generates a dummy app for testing'
-task :test_app do
- ENV['LIB_NAME'] = 'solidus_subscriptions'
- Rake::Task['extension:test_app'].invoke
-end
+require 'bundler'
+
+Bundler::GemHelper.install_tasks
+
+begin
+ require 'spree/testing_support/extension_rake'
+ require 'rubocop/rake_task'
+ require 'rspec/core/rake_task'
+
+ RSpec::Core::RakeTask.new(:spec)
+
+ task default: %i(first_run spec)
+rescue LoadError
+ # no rspec available
+end
+
+task :first_run do
+ if Dir['spec/dummy'].empty?
+ Rake::Task[:test_app].invoke
+ Dir.chdir('../../')
+ end
+end
+
+desc 'Generates a dummy app for testing'
+task :test_app do
+ ENV['LIB_NAME'] = 'solidus_subscriptions'
+ Rake::Task['extension:test_app'].invoke
+end