-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from chef/style
Switch from finstyle / rubocop to chefstyle
- Loading branch information
Showing
17 changed files
with
298 additions
and
355 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# encoding: utf-8 | ||
|
||
source 'https://supermarket.chef.io' | ||
source "https://supermarket.chef.io" | ||
|
||
cookbook 'apt' | ||
cookbook 'yum' | ||
cookbook 'os_prepare', path: './test/cookbooks/os_prepare' | ||
cookbook 'ssh-hardening', git: 'https://github.com/dev-sec/chef-ssh-hardening.git' | ||
cookbook "apt" | ||
cookbook "yum" | ||
cookbook "os_prepare", path: "./test/cookbooks/os_prepare" | ||
cookbook "ssh-hardening", git: "https://github.com/dev-sec/chef-ssh-hardening.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
# -*- encoding: utf-8 -*- | ||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
gemspec | ||
|
||
group :guard do | ||
gem 'guard-rspec', :require => nil | ||
gem 'guard-rubocop', :require => nil | ||
gem "guard-rspec", :require => nil | ||
gem "guard-rubocop", :require => nil | ||
end | ||
|
||
group :test do | ||
gem 'bundler', '~> 1.5' | ||
gem 'minitest', '~> 5.5' | ||
gem 'rake', '~> 10' | ||
gem 'rubocop', '~> 0.32' | ||
gem 'concurrent-ruby', '~> 0.9' | ||
gem 'codeclimate-test-reporter', :require => nil | ||
gem "bundler", "~> 1.5" | ||
gem "minitest", "~> 5.5" | ||
gem "rake", "~> 10" | ||
gem "chefstyle", "~> 0.4.0" | ||
gem "concurrent-ruby", "~> 0.9" | ||
gem "codeclimate-test-reporter", :require => nil | ||
end | ||
|
||
# pin dependency for Ruby 1.9.3 since bundler is not | ||
# detecting that net-ssh 3 does not work with 1.9.3 | ||
if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('1.9.3') | ||
gem 'net-ssh', '~> 2.9' | ||
if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new("1.9.3") | ||
gem "net-ssh", "~> 2.9" | ||
end | ||
|
||
group :integration do | ||
gem 'berkshelf', '>= 4.2.3' | ||
gem 'kitchen-dokken' | ||
gem "berkshelf", ">= 4.2.3" | ||
gem "kitchen-dokken" | ||
end | ||
|
||
group :tools do | ||
gem 'pry', '~> 0.10' | ||
gem 'github_changelog_generator', '1.11.3' | ||
gem "pry", "~> 0.10" | ||
gem "github_changelog_generator", "1.11.3" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.