Rakefile in phi_attrs-0.1.4 vs Rakefile in phi_attrs-0.2.0
- old
+ new
@@ -1,6 +1,19 @@
+# frozen_string_literal: true
+
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
+
+# Set Chandler options
+if defined? Chandler
+ Chandler::Tasks.configure do |config|
+ config.changelog_path = 'CHANGELOG.md'
+ config.github_repository = 'apsislabs/phi_attrs'
+ end
+
+ # Add chandler as a prerequisite for `rake release`
+ task 'release:rubygem_push' => 'chandler:push'
+end
task default: :spec