From 408d3b985567f54fc9f7024cfdb0e4fd0a82d6e3 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 6 Mar 2019 19:23:33 +0100 Subject: modulesync 2.5.1 --- .github/CONTRIBUTING.md | 6 +++--- .travis.yml | 4 +++- Dockerfile | 2 +- Gemfile | 1 + Rakefile | 1 + 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4a51969..5d04747 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -51,19 +51,19 @@ You can install all needed gems for spec tests into the modules directory by running: ```sh -bundle install --path .vendor/ --without development --without system_tests --without release +bundle install --path .vendor/ --without development system_tests release ``` If you also want to run acceptance tests: ```sh -bundle install --path .vendor/ --without development --with system_tests --without release +bundle install --path .vendor/ --with system_tests --without development release ``` Our all in one solution if you don't know if you need to install or update gems: ```sh -bundle install --path .vendor/ --without development --with system_tests --without release; bundle update; bundle clean +bundle install --path .vendor/ --with system_tests --without development release; bundle update; bundle clean ``` ## Syntax and style diff --git a/.travis.yml b/.travis.yml index 77f89e5..a987212 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,9 @@ dist: xenial language: ruby cache: bundler before_install: - - sh ./.travis/setup.sh + - gem update --system + - gem update bundler + - bundle --version script: - 'bundle exec rake $CHECK' matrix: diff --git a/Dockerfile b/Dockerfile index 27a33cf..67048bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.5.1 +FROM ruby:2.5.3 WORKDIR /opt/puppet diff --git a/Gemfile b/Gemfile index 9524f1a..6a74c57 100644 --- a/Gemfile +++ b/Gemfile @@ -20,6 +20,7 @@ group :test do gem 'puppet-lint-classes_and_types_beginning_with_digits-check', :require => false gem 'puppet-lint-unquoted_string-check', :require => false gem 'puppet-lint-variable_contains_upcase', :require => false + gem 'puppet-lint-absolute_classname-check', :require => false gem 'metadata-json-lint', :require => false gem 'redcarpet', :require => false gem 'rubocop', '~> 0.49.1', :require => false diff --git a/Rakefile b/Rakefile index 13ef17c..a6cf0ac 100644 --- a/Rakefile +++ b/Rakefile @@ -11,6 +11,7 @@ end PuppetLint.configuration.log_format = '%{path}:%{line}:%{check}:%{KIND}:%{message}' PuppetLint.configuration.fail_on_warnings = true +PuppetLint.configuration.absolute_classname_reverse = true PuppetLint.configuration.send('relative') PuppetLint.configuration.send('disable_140chars') PuppetLint.configuration.send('disable_class_inherits_from_params_class') -- cgit v1.2.3