From 29127f36ed71c0eade0c06f259fa78f6e8db8b9b Mon Sep 17 00:00:00 2001 From: Thom May Date: Wed, 21 Jun 2017 10:17:56 +0100 Subject: lock chefstyle at 0.5 Signed-off-by: Thom May --- .rubocop.yml | 4 ++++ .travis.yml | 2 +- Gemfile | 2 +- Gemfile.lock | 14 ++++---------- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 3c2a48e548..e8d8f87517 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,7 @@ +Style/FrozenStringLiteralComment: + Enabled: false +Style/SafeNavigation: + Enabled: false AllCops: Exclude: - "spec/data/**/*" diff --git a/.travis.yml b/.travis.yml index 1ec77b2630..67f845bb3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ matrix: script: sudo -E $(which bundle) exec rake spec; # also remove integration / external tests bundler_args: --without changelog development docgen guard integration maintenance omnibus_package tools aix bsd mac_os_x solaris windows --frozen - - rvm: 2.4.0 + - rvm: 2.4.1 sudo: true script: sudo -E $(which bundle) exec rake spec; # also remove integration / external tests diff --git a/Gemfile b/Gemfile index 7d76befbab..1d1046abf6 100644 --- a/Gemfile +++ b/Gemfile @@ -74,7 +74,7 @@ group(:development, :test) do # for testing new chefstyle rules # gem 'chefstyle', github: 'chef/chefstyle' - gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master" + gem "chefstyle", "= 0.5.0" end group(:changelog) do diff --git a/Gemfile.lock b/Gemfile.lock index 35301c92ed..383e1f9cf2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,14 +14,6 @@ GIT rspec-rerun (~> 1.0) rspec_junit_formatter (~> 0.2) -GIT - remote: https://github.com/chef/chefstyle.git - revision: 69c1c0d07aa4613bcdc3454767c9fb0d5ee9b36b - branch: master - specs: - chefstyle (0.5.0) - rubocop (= 0.47.1) - GIT remote: https://github.com/chef/github-changelog-generator revision: 7ab4953b47598dccf10e106058673c1592b8f9bf @@ -179,6 +171,8 @@ GEM chef (>= 12.14.89) fauxhai (>= 4, < 6) rspec (~> 3.0) + chefstyle (0.5.0) + rubocop (= 0.47.1) codeclimate-test-reporter (1.0.8) simplecov (<= 0.13) codecov (0.1.10) @@ -511,7 +505,7 @@ GEM unf_ext unf_ext (0.0.7.4) unf_ext (0.0.7.4-x86-mingw32) - unicode-display_width (1.2.1) + unicode-display_width (1.3.0) url (0.3.2) uuidtools (2.1.5) vagrant-wrapper (2.0.3) @@ -575,7 +569,7 @@ DEPENDENCIES chef-sugar cheffish chefspec - chefstyle! + chefstyle (= 0.5.0) cucumber (>= 2.4.0) foodcritic github_changelog_generator! -- cgit v1.2.1