File tree 10 files changed +313
-162
lines changed
10 files changed +313
-162
lines changed Original file line number Diff line number Diff line change 1
- # This file is generated by ModuleSync, do not edit.
2
- * .iml
3
1
. * .sw [op ]
4
- .DS_Store
5
- .bundle /
6
- .idea /
7
2
.metadata
8
- .vagrant /
9
3
.yardoc
10
4
.yardwarns
11
- Gemfile.local
12
- Gemfile.lock
13
- bin /
14
- coverage /
15
- doc /
16
- junit /
17
- log /
18
- pkg /
19
- spec /fixtures /manifests /
20
- spec /fixtures /modules /
21
- tmp /
22
- vendor /
5
+ * .iml
6
+ /.bundle /
7
+ /.idea /
8
+ /.vagrant /
9
+ /coverage /
10
+ /bin /
11
+ /doc /
12
+ /Gemfile.local
13
+ /Gemfile.lock
14
+ /junit /
15
+ /log /
16
+ /log /
17
+ /pkg /
18
+ /spec /fixtures /manifests /
19
+ /spec /fixtures /modules /
20
+ /tmp /
21
+ /vendor /
22
+ /convert_report.txt
23
23
Original file line number Diff line number Diff line change 1
1
---
2
2
require :
3
- - rubocop-rspec
4
- - rubocop-i18n
3
+ - rubocop-i18n
4
+ - rubocop-rspec
5
5
AllCops :
6
+ DisplayCopNames : true
6
7
TargetRubyVersion : ' 2.1'
7
8
Include :
8
9
- " ./**/*.rb"
@@ -14,7 +15,6 @@ AllCops:
14
15
- pkg/**/*
15
16
- spec/fixtures/**/*
16
17
- vendor/**/*
17
- inherit_from : .rubocop_todo.yml
18
18
Metrics/LineLength :
19
19
Description : People have wide screens, use them.
20
20
Max : 200
@@ -65,12 +65,15 @@ Style/TrailingCommaInLiteral:
65
65
Style/SymbolArray :
66
66
Description : Using percent style obscures symbolic intent of array's contents.
67
67
EnforcedStyle : brackets
68
+ inherit_from : " .rubocop_todo.yml"
68
69
Style/CollectionMethods :
69
70
Enabled : true
70
71
Style/MethodCalledOnDoEndBlock :
71
72
Enabled : true
72
73
Style/StringMethods :
73
74
Enabled : true
75
+ Layout/EndOfLine :
76
+ Enabled : false
74
77
Metrics/AbcSize :
75
78
Enabled : false
76
79
Metrics/BlockLength :
@@ -89,15 +92,17 @@ Metrics/PerceivedComplexity:
89
92
Enabled : false
90
93
RSpec/DescribeClass :
91
94
Enabled : false
95
+ RSpec/ExampleLength :
96
+ Enabled : false
92
97
RSpec/MessageExpectation :
93
98
Enabled : false
99
+ RSpec/MultipleExpectations :
100
+ Enabled : false
101
+ RSpec/NestedGroups :
102
+ Enabled : false
94
103
Style/AsciiComments :
95
104
Enabled : false
96
105
Style/IfUnlessModifier :
97
106
Enabled : false
98
107
Style/SymbolProc :
99
108
Enabled : false
100
- GetText/DecorateString :
101
- Enabled : false
102
- GetText/DecorateFunctionMessage :
103
- Enabled : true
Original file line number Diff line number Diff line change
1
+ GetText/DecorateString :
2
+ Enabled : false
Original file line number Diff line number Diff line change 1
1
---
2
2
appveyor.yml :
3
- delete : true
4
- spec/spec_helper.rb :
5
- allow_deprecations : true
3
+ environment :
4
+ PUPPET_GEM_VERSION : " ~> 4.0"
5
+ matrix :
6
+ - RUBY_VERSION : 24-x64
7
+ CHECK : " syntax lint"
8
+ - RUBY_VERSION : 24-x64
9
+ CHECK : metadata_lint
10
+ - RUBY_VERSION : 24-x64
11
+ CHECK : rubocop
12
+
6
13
.travis.yml :
14
+ bundle_args : --without system_tests
15
+ docker_sets :
16
+ - set : docker/centos-7
17
+ options :
18
+ - set : docker/ubuntu-14.04
19
+ options :
20
+ docker_defaults :
21
+ bundler_args : " "
22
+ secure : " "
23
+ branches :
24
+ - release
7
25
extras :
8
- - rvm : 2.1.9
9
- script : bundle exec rake rubocop
26
+ - rvm : 2.1.9
27
+ script : " \" bundle exec rake release_checks\" "
28
+
29
+ Gemfile :
30
+ required :
31
+ ' :system_tests ' :
32
+ - gem : ' puppet-module-posix-system-r#{minor_version}'
33
+ platforms : ruby
34
+ - gem : ' puppet-module-win-system-r#{minor_version}'
35
+ platforms :
36
+ - mswin
37
+ - mingw
38
+ - x64_mingw
39
+ - gem : beaker
40
+ version : ' ~> 3.13'
41
+ from_env : BEAKER_VERSION
42
+ - gem : beaker-abs
43
+ from_env : BEAKER_ABS_VERSION
44
+ version : ' ~> 0.1'
45
+ - gem : beaker-pe
46
+ - gem : beaker-hostgenerator
47
+ from_env : BEAKER_HOSTGENERATOR_VERSION
48
+ - gem : beaker-rspec
49
+ from_env : BEAKER_RSPEC_VERSION
50
+ ' :development ' :
51
+ - gem : puppet-blacksmith
52
+ version : ' ~> 3.4'
53
+ - gem : puppet-lint-i18n
54
+
55
+ Rakefile :
56
+ requires :
57
+ - puppet_blacksmith/rake_tasks
58
+ - puppet_pot_generator/rake_tasks
59
+
60
+ spec/spec_helper.rb :
61
+ spec_overrides :
62
+ - " require 'spec_helper_local'"
63
+
10
64
.rubocop.yml :
11
- unmanaged : true
12
- .rubocop_todo.yml :
13
- unmanaged : true
65
+ default_configs :
66
+ inherit_from : .rubocop_todo.yml
67
+ require :
68
+ - rubocop-i18n
69
+ - rubocop-rspec
Original file line number Diff line number Diff line change 1
- # This file is generated by ModuleSync, do not edit.
2
1
---
3
2
sudo : false
3
+ dist : trusty
4
4
language : ruby
5
5
cache : bundler
6
- script : " bundle exec rake release_checks"
6
+ before_install :
7
+ - bundle -v
8
+ - rm Gemfile.lock || true
9
+ - gem update --system
10
+ - gem update bundler
11
+ - gem --version
12
+ - bundle -v
13
+ script :
14
+ - ' bundle exec rake $CHECK'
15
+ bundler_args : --without system_tests
16
+ rvm :
17
+ - 2.4.1
18
+ - 2.1.9
19
+ env :
20
+ - PUPPET_GEM_VERSION="~> 4.0" CHECK=spec
21
+ - PUPPET_GEM_VERSION="~> 5.0" CHECK=spec
7
22
matrix :
8
23
fast_finish : true
9
24
include :
10
- - rvm : 2.3.1
11
- dist : trusty
12
- env : PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04
13
- script : bundle exec rake beaker
14
- services : docker
15
- sudo : required
16
- - rvm : 2.3.1
17
- dist : trusty
18
- env : PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7
19
- script : bundle exec rake beaker
20
- services : docker
21
- sudo : required
22
- - rvm : 2.4.1
23
- bundler_args : --without system_tests
24
- env : PUPPET_GEM_VERSION="~> 5.0"
25
- - rvm : 2.1.9
26
- bundler_args : --without system_tests
27
- env : PUPPET_GEM_VERSION="~> 4.0"
28
- - rvm : 2.1.9
29
- script : bundle exec rake rubocop
25
+ -
26
+ bundler_args :
27
+ dist : trusty
28
+ env : PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7
29
+ rvm : 2.4.1
30
+ script : bundle exec rake beaker
31
+ services : docker
32
+ sudo : required
33
+ -
34
+ bundler_args :
35
+ dist : trusty
36
+ env : PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04
37
+ rvm : 2.4.1
38
+ script : bundle exec rake beaker
39
+ services : docker
40
+ sudo : required
41
+ -
42
+ env : CHECK=rubocop
43
+ -
44
+ env : CHECK="syntax lint"
45
+ -
46
+ env : CHECK=metadata_lint
47
+ -
48
+ rvm : 2.1.9
49
+ script : " bundle exec rake release_checks"
50
+ branches :
51
+ only :
52
+ - master
53
+ - /^v\d/
54
+ - release
30
55
notifications :
31
56
email : false
57
+ deploy :
58
+ provider : puppetforge
59
+ user : puppet
60
+ password :
61
+ secure : " "
62
+ on :
63
+ tags : true
64
+ all_branches : true
65
+ condition : " $DEPLOY_TO_FORGE = yes"
You can’t perform that action at this time.
0 commit comments