Skip to content

Commit

Permalink
Switch to Chefstyle and don't ship the changelog
Browse files Browse the repository at this point in the history
No need for the changelog in an artifact
Using chefstyle avoids the need to constantly chase rubocop updates

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Dec 3, 2018
1 parent f70d865 commit 9621eca
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 140 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
@@ -1,5 +1,5 @@
language: ruby
sudo: false
rvm:
- 2.4.4
- 2.5.1
- 2.4.5
- 2.5.3
4 changes: 2 additions & 2 deletions Gemfile
@@ -1,3 +1,3 @@
source 'https://rubygems.org'
gem 'simplecov'
source "https://rubygems.org"
gem "simplecov"
gemspec
3 changes: 2 additions & 1 deletion Rakefile
@@ -1,4 +1,5 @@
require 'rubocop/rake_task'
require "rubocop/rake_task"
require "chefstyle"

RuboCop::RakeTask.new

Expand Down
36 changes: 18 additions & 18 deletions kitchen-azurerm.gemspec
@@ -1,24 +1,24 @@
lib = File.expand_path('lib', __dir__)
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = 'kitchen-azurerm'
spec.version = '0.14.5'
spec.authors = ['Stuart Preston']
spec.email = ['stuart@chef.io']
spec.summary = 'Test Kitchen driver for Azure Resource Manager.'
spec.description = 'Test Kitchen driver for the Microsoft Azure Resource Manager (ARM) API'
spec.homepage = 'https://github.com/test-kitchen/kitchen-azurerm'
spec.license = 'Apache-2.0'
spec.name = "kitchen-azurerm"
spec.version = "0.14.5"
spec.authors = ["Stuart Preston"]
spec.email = ["stuart@chef.io"]
spec.summary = "Test Kitchen driver for Azure Resource Manager."
spec.description = "Test Kitchen driver for the Microsoft Azure Resource Manager (ARM) API"
spec.homepage = "https://github.com/test-kitchen/kitchen-azurerm"
spec.license = "Apache-2.0"

spec.files = Dir['LICENSE', 'README.md', 'CHANGELOG.md', 'lib/**/*', 'templates/**/*']
spec.require_paths = ['lib']
spec.files = Dir["LICENSE", "README.md", "lib/**/*", "templates/**/*"]
spec.require_paths = ["lib"]

spec.add_dependency 'azure_mgmt_network', '~> 0.15', '>= 0.15.0'
spec.add_dependency 'azure_mgmt_resources', '~> 0.15', '>= 0.15.0'
spec.add_dependency 'inifile', '~> 3.0', '>= 3.0.0'
spec.add_dependency 'sshkey', '~> 1', '>= 1.0.0'
spec.add_dependency "azure_mgmt_network", "~> 0.15", ">= 0.15.0"
spec.add_dependency "azure_mgmt_resources", "~> 0.15", ">= 0.15.0"
spec.add_dependency "inifile", "~> 3.0", ">= 3.0.0"
spec.add_dependency "sshkey", "~> 1", ">= 1.0.0"

spec.add_development_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'rake', '~> 11.0'
spec.add_development_dependency 'rubocop', '~> 0.58', '>= 0.58.1'
spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "rake", ">= 11.0"
spec.add_development_dependency "chefstyle"
end

0 comments on commit 9621eca

Please sign in to comment.