Skip to content

Commit

Permalink
Merge pull request #220 from test-kitchen/update-cl-generator
Browse files Browse the repository at this point in the history
Adding changelog generator
  • Loading branch information
Seth Thomas committed Apr 7, 2016
2 parents 3c03054 + 64b1473 commit 4d518f5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@ desc "Run all quality tasks"
task :quality => [:cane, :style, :stats]

task :default => [:test, :quality]

require "github_changelog_generator/task"

GitHubChangelogGenerator::RakeTask.new :changelog do |config|
config.future_release = Kitchen::Driver::VAGRANT_VERSION
config.enhancement_labels = "enhancement,Enhancement,New Feature,Feature,Improvement".split(",")
config.bug_labels = "bug,Bug".split(",")
config.exclude_labels = %w[Duplicate Question Discussion No_Changelog]
end
3 changes: 2 additions & 1 deletion kitchen-vagrant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "rake"
gem.add_development_dependency "rspec", "~> 3.2"
gem.add_development_dependency "simplecov", "~> 0.9"
gem.add_development_dependency "github_changelog_generator", "1.11.3"

# style and complexity libraries are tightly version pinned as newer releases
# may introduce new and undesireable style choices which would be immediately
# enforced in CI
gem.add_development_dependency "finstyle", "1.4.0"
gem.add_development_dependency "finstyle", "1.5.0"
gem.add_development_dependency "cane", "2.6.2"
end
2 changes: 1 addition & 1 deletion spec/kitchen/driver/vagrant_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ def run_command(_cmd, options = {})
cmd

expect(vagrantfile).to_not match(
regexify(%{p.linked_clone = }, :partial))
regexify(%{p.linked_clone = }, :partial))
end

it "sets :linked_clone to false if set" do
Expand Down

0 comments on commit 4d518f5

Please sign in to comment.