File tree Expand file tree Collapse file tree 13 files changed +409
-93
lines changed Expand file tree Collapse file tree 13 files changed +409
-93
lines changed Original file line number Diff line number Diff line change 1- Gemfile.lock
2- /spec /fixtures
3- coverage /
4- .bundle /
5- vendor /
6- tooling /* .yaml
7- log /
8- .vagrant /
9-
1+ .git /
2+ . * .sw [op ]
3+ .metadata
4+ .yardoc
5+ .yardwarns
6+ * .iml
7+ /.bundle /
8+ /.idea /
9+ /.vagrant /
10+ /coverage /
11+ /bin /
12+ /doc /
13+ /Gemfile.local
14+ /Gemfile.lock
15+ /junit /
16+ /log /
17+ /pkg /
18+ /spec /fixtures /manifests /
19+ /spec /fixtures /modules /
20+ /tmp /
21+ /vendor /
22+ /convert_report.txt
23+ /update_report.txt
24+ .DS_Store
Original file line number Diff line number Diff line change 1+ .git/
2+ .*.sw[op]
3+ .metadata
4+ .yardoc
5+ .yardwarns
6+ *.iml
7+ /.bundle/
8+ /.idea/
9+ /.vagrant/
10+ /coverage/
11+ /bin/
12+ /doc/
13+ /Gemfile.local
14+ /Gemfile.lock
15+ /junit/
16+ /log/
17+ /pkg/
18+ /spec/fixtures/manifests/
19+ /spec/fixtures/modules/
20+ /tmp/
21+ /vendor/
22+ /convert_report.txt
23+ /update_report.txt
24+ .DS_Store
Original file line number Diff line number Diff line change 1+ --color
2+ --format documentation
Original file line number Diff line number Diff line change 11---
2- require :
3- - rubocop-rspec
4- - rubocop-i18n
2+ require : rubocop-rspec
53AllCops :
4+ DisplayCopNames : true
65 TargetRubyVersion : ' 2.2'
76 Include :
8- - " ./**/*.rb"
7+ - " ./**/*.rb"
98 Exclude :
109 - bin/*
1110 - " .vendor/**/*"
12- - Gemfile
13- - Rakefile
11+ - " **/ Gemfile"
12+ - " **/ Rakefile"
1413 - pkg/**/*
1514 - spec/fixtures/**/*
1615 - vendor/**/*
16+ - " **/Puppetfile"
17+ - " **/Vagrantfile"
18+ - " **/Guardfile"
19+ - tooling/kube_tool/*
20+ - tooling/*
21+ - spec/defines/*
22+ - spec/classes/*
23+ - spec/*
24+ - spec/acceptance/*
25+ - rakelib/*
26+ inherit_from : " .rubocop_todo.yml"
1727Metrics/LineLength :
1828 Description : People have wide screens, use them.
1929 Max : 200
20- Enabled : false
2130RSpec/BeforeAfterAll :
2231 Description : Beware of using after(:all) as it may cause state to leak between tests.
2332 A necessary evil in acceptance testing.
@@ -46,7 +55,6 @@ Style/FormatStringToken:
4655Style/Lambda :
4756 Description : Prefer the keyword for easier discoverability.
4857 EnforcedStyle : literal
49- Enabled : true
5058Style/RegexpLiteral :
5159 Description : Community preference. See https://github.com/voxpupuli/modulesync_config/issues/168
5260 EnforcedStyle : percent_r
@@ -62,18 +70,28 @@ Style/TrailingCommaInArguments:
6270Style/SymbolArray :
6371 Description : Using percent style obscures symbolic intent of array's contents.
6472 EnforcedStyle : brackets
73+ RSpec/MessageSpies :
74+ EnforcedStyle : receive
75+ Style/Documentation :
76+ Exclude :
77+ - lib/puppet/parser/functions/**/*
78+ - spec/**/*
79+ Style/WordArray :
80+ EnforcedStyle : brackets
6581Style/CollectionMethods :
6682 Enabled : true
6783Style/MethodCalledOnDoEndBlock :
6884 Enabled : true
6985Style/StringMethods :
7086 Enabled : true
87+ Layout/EndOfLine :
88+ Enabled : false
89+ Layout/IndentHeredoc :
90+ Enabled : false
7191Metrics/AbcSize :
7292 Enabled : false
7393Metrics/BlockLength :
7494 Enabled : false
75- Metrics/LineLength :
76- Enabled : false
7795Metrics/ClassLength :
7896 Enabled : false
7997Metrics/CyclomaticComplexity :
@@ -88,13 +106,17 @@ Metrics/PerceivedComplexity:
88106 Enabled : false
89107RSpec/DescribeClass :
90108 Enabled : false
109+ RSpec/ExampleLength :
110+ Enabled : false
91111RSpec/MessageExpectation :
92112 Enabled : false
113+ RSpec/MultipleExpectations :
114+ Enabled : false
115+ RSpec/NestedGroups :
116+ Enabled : false
93117Style/AsciiComments :
94118 Enabled : false
95119Style/IfUnlessModifier :
96120 Enabled : false
97121Style/SymbolProc :
98122 Enabled : false
99- Style/HashSyntax :
100- UseHashRocketsWithSymbolValues : true
Original file line number Diff line number Diff line change 1+ Style/HashSyntax :
2+ UseHashRocketsWithSymbolValues : true
Original file line number Diff line number Diff line change 1+ ---
2+ .travis.yml :
3+ bundler_args : ' '
4+ branches :
5+ - release
6+
7+ Gemfile :
8+ required :
9+ ' :development ' :
10+ - gem : ' nokogiri'
11+ version : ' 1.8.4'
12+ - gem : ' net-telnet'
13+ - gem : ' facter'
14+ version : ' >= 1.7.0'
15+ - gem : ' rspec-puppet'
16+ - gem : " rspec-retry"
17+ - gem : ' thor'
18+ - gem : ' semantic_puppet'
19+ - gem : ' simplecov'
20+ - gem : ' simplecov-json'
21+ - gem : ' simplecov-rcov'
22+ - gem : ' beaker-puppet_install_helper'
23+ - gem : ' beaker-rspec'
24+ from_env : BEAKER_RSPEC_VERSION
25+ - gem : ' parallel_tests'
26+ - gem : " beaker"
27+ version : ' ~> 2.0'
28+ from_env : BEAKER_VERSION
29+ - gem : ' rspec_junit_formatter'
30+ - gem : " puppet-lint-i18n"
31+ - gem : " puppet_pot_generator"
32+ - gem : ' rubocop-i18n'
33+ - gem : ' gettext-setup'
34+ - gem : ' rubocop-rspec'
35+
36+ Rakefile :
37+ requires :
38+ - puppet-lint/tasks/puppet-lint
39+ - puppetlabs_spec_helper/rake_tasks
40+ - metadata-json-lint/rake_task
41+ - rspec_junit_formatter
42+ - puppet_pot_generator/rake_tasks
43+
44+ .rubocop.yml :
45+ include_todos :
46+ inherit_from : ' .rubocop_todo.yml'
Original file line number Diff line number Diff line change 11---
2- language : ruby
3- bundler_args : --without development system_tests
4- before_install : rm Gemfile.lock || true
52sudo : false
6- rvm :
7- - 2.3.3
3+ dist : trusty
4+ language : ruby
5+ cache : bundler
6+ before_install :
7+ - bundle -v
8+ - rm -f Gemfile.lock
9+ - gem update --system
10+ - gem --version
11+ - bundle -v
812script :
9- - bundle exec rake test
10- - bundle exec rubocop lib
11- - bundle exec puppet-lint --no-autoloader_layout-check manifests
13+ - ' bundle exec rake $CHECK'
14+ bundler_args :
15+ rvm :
16+ - 2.4.4
1217env :
13- - PUPPET_GEM_VERSION="~> 4.0"
14- - PUPPET_GEM_VERSION="~> 5.0"
18+ global :
19+ - BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_GEM_VERSION="~> 5.0"
1520matrix :
1621 fast_finish : true
22+ include :
23+ -
24+ env : CHECK="syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop"
25+ -
26+ env : CHECK=parallel_spec
27+ -
28+ env : PUPPET_GEM_VERSION="~> 4.0" CHECK=parallel_spec
29+ rvm : 2.3.3
30+ branches :
31+ only :
32+ - master
33+ - /^v\d/
34+ - release
35+ notifications :
36+ email : false
37+ deploy :
38+ provider : puppetforge
39+ user : puppet
40+ password :
41+ secure : " "
42+ on :
43+ tags : true
44+ all_branches : true
45+ condition : " $DEPLOY_TO_FORGE = yes"
Original file line number Diff line number Diff line change 1+ --markup markdown
You can’t perform that action at this time.
0 commit comments