From f2bd1ab9f11d774c645453c9d3fb7e237bc2fc1f Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 5 Oct 2016 10:04:07 +0200 Subject: modulesync 0.12.8 --- .gitignore | 3 ++- .msync.yml | 2 +- .rubocop.yml | 3 ++- .travis.yml | 24 +++++++++++++----------- Gemfile | 4 ++-- Rakefile | 6 ++---- 6 files changed, 22 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 21ff492..3c1af2d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,8 @@ Gemfile.lock Gemfile.local vendor/ .vendor/ -spec/fixtures/ +spec/fixtures/manifests/ +spec/fixtures/modules/ .vagrant/ .bundle/ coverage/ diff --git a/.msync.yml b/.msync.yml index 0ac5eef..42eea23 100644 --- a/.msync.yml +++ b/.msync.yml @@ -1 +1 @@ -modulesync_config_version: '0.12.0' +modulesync_config_version: '0.12.8' diff --git a/.rubocop.yml b/.rubocop.yml index 5aadd1b..d6a3948 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,6 +4,7 @@ AllCops: Include: - ./**/*.rb Exclude: + - files/**/* - vendor/**/* - .vendor/**/* - pkg/**/* @@ -492,7 +493,7 @@ Lint/UselessAssignment: Enabled: True Style/ClosingParenthesisIndentation: - Enabled: False + Enabled: True # RSpec diff --git a/.travis.yml b/.travis.yml index 9e7c9a7..f51b3ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,26 +19,28 @@ matrix: env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test - rvm: 1.9.3 env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" FUTURE_PARSER="yes" CHECK=test - - rvm: 2.1 + - rvm: 2.1.9 env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test - - rvm: 2.1 - env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test - - rvm: 2.2 - env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test + - rvm: 2.1.9 + env: PUPPET_VERSION="~> 4.0" CHECK=test + - rvm: 2.2.5 + env: PUPPET_VERSION="~> 4.0" CHECK=test - rvm: 2.3.1 - env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=build + env: PUPPET_VERSION="~> 4.0" CHECK=build DEPLOY_TO_FORGE=yes - rvm: 2.3.1 - env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=rubocop + env: PUPPET_VERSION="~> 4.0" CHECK=rubocop - rvm: 2.3.1 - env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test + env: PUPPET_VERSION="~> 4.0" CHECK=test - rvm: 2.4.0-preview1 - env: PUPPET_VERSION="~> 4.0" STRICT_VARIABLES="yes" CHECK=test + env: PUPPET_VERSION="~> 4.0" CHECK=test allow_failures: - rvm: 2.4.0-preview1 notifications: email: false deploy: provider: puppetforge + deploy: + branch: ha-bug-puppet-forge user: puppet password: secure: "PzzvPB326Yx0hheLbusZGYCGW4i1jOOMjwJMC/7QpbN4+gvMdmHpmQP3XeQ5tm+YYXqLPMyr1he1viTln8GPqLk1qpzF55H5mTakPxMjWZfRYvM+Q7lmtOEsBEXXSJk0ZYwMHXGVd8ouDrhaRzS2JqnhCAhLat0HeLcERWZx6Ok=" @@ -46,5 +48,5 @@ deploy: tags: true # all_branches is required to use tags all_branches: true - # Only publish if our main Ruby target builds - rvm: 2.3.1 + # Only publish the build marked with "DEPLOY_TO_FORGE" + condition: "$DEPLOY_TO_FORGE = yes" diff --git a/Gemfile b/Gemfile index ddbd23d..8613079 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ def location_for(place, fake_version = nil) end group :test do - gem 'puppetlabs_spec_helper', :require => false + gem 'puppetlabs_spec_helper', '~> 1.2.2', :require => false gem 'rspec-puppet', :require => false, :git => 'https://github.com/rodjek/rspec-puppet.git' gem 'rspec-puppet-facts', :require => false gem 'rspec-puppet-utils', :require => false @@ -25,7 +25,7 @@ group :test do gem 'metadata-json-lint', :require => false gem 'puppet-blacksmith', :require => false gem 'voxpupuli-release', :require => false, :git => 'https://github.com/voxpupuli/voxpupuli-release-gem.git' - gem 'puppet-strings', :require => false, :git => 'https://github.com/puppetlabs/puppetlabs-strings.git' + gem 'puppet-strings', '0.4.0', :require => false gem 'rubocop-rspec', '~> 1.6', :require => false if RUBY_VERSION >= '2.3.0' gem 'json_pure', '<= 2.0.1', :require => false if RUBY_VERSION < '2.0.0' end diff --git a/Rakefile b/Rakefile index 9cbcf7c..5191307 100644 --- a/Rakefile +++ b/Rakefile @@ -34,11 +34,9 @@ RSpec::Core::RakeTask.new(:acceptance) do |t| t.pattern = 'spec/acceptance' end -desc 'Run tests metadata_lint, lint, syntax, spec' +desc 'Run tests metadata_lint, release_checks' task test: [ :metadata_lint, - :lint, - :syntax, - :spec, + :release_checks, ] # vim: syntax=ruby -- cgit v1.2.3