Skip to content

Commit 1640272

Browse files
david22swanpmcmaw
authored andcommitted
Merge pull request puppetlabs#958 from computermouth/patch-1
Fix syntax error in README
2 parents f25730a + 7d96b2a commit 1640272

File tree

9 files changed

+290
-161
lines changed

9 files changed

+290
-161
lines changed

.gitignore

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
# This file is generated by ModuleSync, do not edit.
2-
*.iml
31
.*.sw[op]
4-
.DS_Store
5-
.bundle/
6-
.idea/
72
.metadata
8-
.vagrant/
93
.yardoc
104
.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/
23-
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+
/pkg/
17+
/spec/fixtures/manifests/
18+
/spec/fixtures/modules/
19+
/tmp/
20+
/vendor/
21+
/convert_report.txt
22+
.DS_Store

.rubocop.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
require:
3-
- rubocop-rspec
2+
require: rubocop-rspec
43
AllCops:
4+
DisplayCopNames: true
55
TargetRubyVersion: '2.1'
66
Include:
77
- "./**/*.rb"
@@ -13,7 +13,6 @@ AllCops:
1313
- pkg/**/*
1414
- spec/fixtures/**/*
1515
- vendor/**/*
16-
inherit_from: .rubocop_todo.yml
1716
Metrics/LineLength:
1817
Description: People have wide screens, use them.
1918
Max: 200
@@ -64,12 +63,16 @@ Style/TrailingCommaInLiteral:
6463
Style/SymbolArray:
6564
Description: Using percent style obscures symbolic intent of array's contents.
6665
EnforcedStyle: brackets
66+
RSpec/MessageSpies:
67+
EnforcedStyle: receive
6768
Style/CollectionMethods:
6869
Enabled: true
6970
Style/MethodCalledOnDoEndBlock:
7071
Enabled: true
7172
Style/StringMethods:
7273
Enabled: true
74+
Layout/EndOfLine:
75+
Enabled: false
7376
Metrics/AbcSize:
7477
Enabled: false
7578
Metrics/BlockLength:
@@ -88,8 +91,14 @@ Metrics/PerceivedComplexity:
8891
Enabled: false
8992
RSpec/DescribeClass:
9093
Enabled: false
94+
RSpec/ExampleLength:
95+
Enabled: false
9196
RSpec/MessageExpectation:
9297
Enabled: false
98+
RSpec/MultipleExpectations:
99+
Enabled: false
100+
RSpec/NestedGroups:
101+
Enabled: false
93102
Style/AsciiComments:
94103
Enabled: false
95104
Style/IfUnlessModifier:

.sync.yml

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,45 @@
11
---
2-
NOTICE:
3-
unmanaged: true
4-
appveyor.yml:
5-
delete: true
6-
spec/spec_helper.rb:
7-
allow_deprecations: true
82
.travis.yml:
3+
bundle_args: --without system_tests
4+
docker_sets:
5+
- set: docker/centos-7
6+
options:
7+
- set: docker/ubuntu-14.04
8+
options:
9+
docker_defaults:
10+
bundler_args: ""
11+
secure: ""
12+
branches:
13+
- release
914
extras:
10-
- rvm: 2.1.9
11-
script: bundle exec rake rubocop
15+
- env: CHECK=release_checks
16+
rvm: 2.1.9
17+
18+
Gemfile:
19+
required:
20+
':system_tests':
21+
- gem: 'puppet-module-posix-system-r#{minor_version}'
22+
platforms: ruby
23+
- gem: 'puppet-module-win-system-r#{minor_version}'
24+
platforms:
25+
- mswin
26+
- mingw
27+
- x64_mingw
28+
- gem: beaker
29+
version: '~> 3.13'
30+
from_env: BEAKER_VERSION
31+
- gem: beaker-abs
32+
from_env: BEAKER_ABS_VERSION
33+
version: '~> 0.1'
34+
- gem: beaker-pe
35+
- gem: beaker-hostgenerator
36+
from_env: BEAKER_HOSTGENERATOR_VERSION
37+
- gem: beaker-rspec
38+
from_env: BEAKER_RSPEC_VERSION
39+
':development':
40+
- gem: puppet-blacksmith
41+
version: '~> 3.4'
42+
43+
Rakefile:
44+
requires:
45+
- puppet_blacksmith/rake_tasks

.travis.yml

Lines changed: 59 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,68 @@
1-
#This file is generated by ModuleSync, do not edit.
21
---
32
sudo: false
3+
dist: trusty
44
language: ruby
55
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+
env:
19+
- PUPPET_GEM_VERSION="~> 5.0" CHECK=spec
720
matrix:
821
fast_finish: true
922
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
23+
-
24+
bundler_args:
25+
dist: trusty
26+
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7
27+
rvm: 2.4.1
28+
script: bundle exec rake beaker
29+
services: docker
30+
sudo: required
31+
-
32+
bundler_args:
33+
dist: trusty
34+
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04
35+
rvm: 2.4.1
36+
script: bundle exec rake beaker
37+
services: docker
38+
sudo: required
39+
-
40+
env: CHECK=rubocop
41+
-
42+
env: CHECK="syntax lint"
43+
-
44+
env: CHECK=metadata_lint
45+
-
46+
env: CHECK=spec
47+
-
48+
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=spec
49+
rvm: 2.1.9
50+
-
51+
env: CHECK=release_checks
52+
rvm: 2.1.9
53+
branches:
54+
only:
55+
- master
56+
- /^v\d/
57+
- release
3058
notifications:
3159
email: false
60+
deploy:
61+
provider: puppetforge
62+
user: puppet
63+
password:
64+
secure: ""
65+
on:
66+
tags: true
67+
all_branches: true
68+
condition: "$DEPLOY_TO_FORGE = yes"

0 commit comments

Comments
 (0)