Skip to content

Commit f4c4665

Browse files
committed
Module sync 1d81b6a
1 parent 5463378 commit f4c4665

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ matrix:
2222
script: bundle exec rake beaker
2323
services: docker
2424
sudo: required
25-
- rvm: 2.4.0
25+
- rvm: 2.4.1
2626
bundler_args: --without system_tests
2727
env: PUPPET_GEM_VERSION="~> 5.0"
2828
- rvm: 2.1.9
2929
bundler_args: --without system_tests
3030
env: PUPPET_GEM_VERSION="~> 4.0"
3131
- rvm: 2.1.9
32-
script: bundle exec rubocop lib
32+
script: bundle exec rake rubocop
3333
notifications:
3434
email: false

Gemfile

+4-7
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ end
3131
supports_windows = false
3232
ruby_version_segments = Gem::Version.new(RUBY_VERSION.dup).segments
3333
minor_version = "#{ruby_version_segments[0]}.#{ruby_version_segments[1]}"
34+
3435
group :development do
3536
gem "puppet-module-posix-default-r#{minor_version}", :require => false, :platforms => "ruby"
3637
gem "puppet-module-win-default-r#{minor_version}", :require => false, :platforms => ["mswin", "mingw", "x64_mingw"]
@@ -44,16 +45,12 @@ end
4445
group :system_tests do
4546
gem "puppet-module-posix-system-r#{minor_version}", :require => false, :platforms => "ruby"
4647
gem "puppet-module-win-system-r#{minor_version}", :require => false, :platforms => ["mswin", "mingw", "x64_mingw"]
47-
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '>= 3')
48+
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '>= 3')
4849
gem "beaker-pe", :require => false
49-
gem "beaker-rspec", *location_for(ENV['BEAKER_RSPEC_VERSION'])
50+
gem "beaker-rspec", *location_for(ENV['BEAKER_RSPEC_VERSION'])
5051
gem "beaker-hostgenerator", *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'])
51-
gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.1')
52+
gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.1')
5253
gem "puppet-blacksmith", '~> 3.4', :require => false
53-
gem "puppet-lint-i18n"
54-
gem "puppet_pot_generator"
55-
gem "rubocop-i18n", '~> 1.0'
56-
gem "beaker-i18n_helper"
5754
end
5855

5956
gem 'puppet', *location_for(ENV['PUPPET_GEM_VERSION'])

Rakefile

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
require 'puppetlabs_spec_helper/rake_tasks'
22
require 'puppet-lint/tasks/puppet-lint'
3-
require 'puppet_pot_generator/rake_tasks' if Bundler.rubygems.find_name('puppet_pot_generator').any?
43
require 'puppet_blacksmith/rake_tasks' if Bundler.rubygems.find_name('puppet-blacksmith').any?
54

65
PuppetLint.configuration.fail_on_warnings = true

locales/config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ gettext:
2222
# Patterns for +Dir.glob+ used to find all files that might contain
2323
# translatable content, relative to the project root directory
2424
source_files:
25-
- './lib/**/*.rb'
25+
- './lib/**/*.rb'
26+

spec/spec_helper.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
# put local configuration and setup into spec_helper_local
55
begin
66
require 'spec_helper_local'
7-
rescue LoadError
7+
rescue LoadError => loaderror
8+
puts "Could not require spec_helper_local: #{loaderror.message}"
89
end

0 commit comments

Comments
 (0)