rspec-puppet-yaml 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.inch.yml +4 -0
- data/.rspec +2 -0
- data/.travis.yml +29 -0
- data/.yardopts +2 -0
- data/CODE_OF_CONDUCT.md +75 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +93 -0
- data/LICENSE.txt +21 -0
- data/README.md +759 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/rspec-puppet/matcher_helpers.rb +326 -0
- data/lib/rspec-puppet/support_copy.rb +66 -0
- data/lib/rspec-puppet-yaml/data_helpers.rb +176 -0
- data/lib/rspec-puppet-yaml/extenders.rb +28 -0
- data/lib/rspec-puppet-yaml/parser.rb +512 -0
- data/lib/rspec-puppet-yaml/version.rb +11 -0
- data/lib/rspec-puppet-yaml.rb +8 -0
- data/rspec-puppet-yaml.gemspec +45 -0
- metadata +208 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 635d74aae6ca5cabe2a88ca0d09e1c6f0c6cc099
|
4
|
+
data.tar.gz: 379c30071212890a4b04238c11fc87a41b4372c7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 446246c48b97c01201621d793abef3b3e1bfde738da4016003dc6dec2c1ce003de34021d9f5e47c4c3757b8e80772abe14bc1f1075844fda5c5dfdadbf2d92ae
|
7
|
+
data.tar.gz: 8a5c2d3ac8c5d7a43f4cea2abf8746d29365cba4ce4a76aadf3788c0cd723c2e5a7af9267f227891488c88ac810bc603e2e10a341e83a72a642e2094cedb052f
|
data/.gitignore
ADDED
data/.inch.yml
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
sudo: false
|
2
|
+
language: ruby
|
3
|
+
cache: bundler
|
4
|
+
before_install:
|
5
|
+
- bundle -v
|
6
|
+
- gem update --system
|
7
|
+
- gem install bundler -v 1.15.4
|
8
|
+
- gem --version
|
9
|
+
- bundle -v
|
10
|
+
matrix:
|
11
|
+
fast_finish: true
|
12
|
+
include:
|
13
|
+
- rvm: 2.4.1
|
14
|
+
bundler_args: --without system_tests
|
15
|
+
script:
|
16
|
+
- 'bundle exec rake spec'
|
17
|
+
- 'bundle exec yard'
|
18
|
+
branches:
|
19
|
+
only:
|
20
|
+
- master
|
21
|
+
- /^v\d/
|
22
|
+
notifications:
|
23
|
+
email: false
|
24
|
+
deploy:
|
25
|
+
- provider: pages
|
26
|
+
skip_cleanup: true
|
27
|
+
github_token: $GITHUB_TOKEN
|
28
|
+
on:
|
29
|
+
branch: master
|
data/.yardopts
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at
|
59
|
+
github-rspec-puppet-yaml@kimballstuff.com. All complaints will be reviewed and
|
60
|
+
investigated and will result in a response that is deemed necessary and
|
61
|
+
appropriate to the circumstances. The project team is obligated to maintain
|
62
|
+
confidentiality with regard to the reporter of an incident. Further details of
|
63
|
+
specific enforcement policies may be posted separately.
|
64
|
+
|
65
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
66
|
+
faith may face temporary or permanent repercussions as determined by other
|
67
|
+
members of the project's leadership.
|
68
|
+
|
69
|
+
## Attribution
|
70
|
+
|
71
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
72
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
73
|
+
|
74
|
+
[homepage]: http://contributor-covenant.org
|
75
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rspec-puppet-yaml (0.1.0)
|
5
|
+
deep_merge (~> 1.1)
|
6
|
+
rspec-puppet (~> 2.6)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
deep_merge (1.1.1)
|
12
|
+
diff-lcs (1.3)
|
13
|
+
facter (2.5.0)
|
14
|
+
facterdb (0.3.12)
|
15
|
+
facter
|
16
|
+
jgrep
|
17
|
+
fast_gettext (1.1.0)
|
18
|
+
gettext (3.2.4)
|
19
|
+
locale (>= 2.0.5)
|
20
|
+
text (>= 1.3.0)
|
21
|
+
gettext-setup (0.26)
|
22
|
+
fast_gettext (~> 1.1.0)
|
23
|
+
gettext (>= 3.0.2)
|
24
|
+
locale
|
25
|
+
hiera (3.4.0)
|
26
|
+
jgrep (1.5.0)
|
27
|
+
json (2.1.0)
|
28
|
+
locale (2.1.2)
|
29
|
+
mcollective-client (2.11.2)
|
30
|
+
json
|
31
|
+
stomp
|
32
|
+
systemu
|
33
|
+
metaclass (0.0.4)
|
34
|
+
mocha (1.1.0)
|
35
|
+
metaclass (~> 0.0.1)
|
36
|
+
puppet (5.1.0)
|
37
|
+
facter (> 2.0, < 4)
|
38
|
+
gettext-setup (>= 0.10, < 1)
|
39
|
+
hiera (>= 3.2.1, < 4)
|
40
|
+
locale (~> 2.1)
|
41
|
+
puppet-lint (2.3.0)
|
42
|
+
puppet-strings (1.1.0)
|
43
|
+
yard (~> 0.9.5)
|
44
|
+
puppet-syntax (2.4.1)
|
45
|
+
rake
|
46
|
+
puppetlabs_spec_helper (2.3.2)
|
47
|
+
mocha (~> 1.0)
|
48
|
+
puppet-lint (~> 2.0)
|
49
|
+
puppet-syntax (~> 2.0)
|
50
|
+
rspec-puppet (~> 2.0)
|
51
|
+
rake (12.0.0)
|
52
|
+
rspec (3.6.0)
|
53
|
+
rspec-core (~> 3.6.0)
|
54
|
+
rspec-expectations (~> 3.6.0)
|
55
|
+
rspec-mocks (~> 3.6.0)
|
56
|
+
rspec-core (3.6.0)
|
57
|
+
rspec-support (~> 3.6.0)
|
58
|
+
rspec-expectations (3.6.0)
|
59
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
60
|
+
rspec-support (~> 3.6.0)
|
61
|
+
rspec-mocks (3.6.0)
|
62
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
63
|
+
rspec-support (~> 3.6.0)
|
64
|
+
rspec-puppet (2.6.8)
|
65
|
+
rspec
|
66
|
+
rspec-puppet-facts (1.8.0)
|
67
|
+
facter
|
68
|
+
facterdb (>= 0.3.0)
|
69
|
+
json
|
70
|
+
mcollective-client
|
71
|
+
puppet
|
72
|
+
rspec-support (3.6.0)
|
73
|
+
stomp (1.4.4)
|
74
|
+
systemu (2.6.5)
|
75
|
+
text (1.3.1)
|
76
|
+
yard (0.9.9)
|
77
|
+
|
78
|
+
PLATFORMS
|
79
|
+
ruby
|
80
|
+
|
81
|
+
DEPENDENCIES
|
82
|
+
bundler (~> 1.15)
|
83
|
+
json (~> 2.1)
|
84
|
+
puppet (~> 5)
|
85
|
+
puppet-strings (~> 1)
|
86
|
+
puppetlabs_spec_helper (~> 2.3)
|
87
|
+
rake (~> 12.0)
|
88
|
+
rspec-puppet-facts (~> 1.8)
|
89
|
+
rspec-puppet-yaml!
|
90
|
+
yard (~> 0.9)
|
91
|
+
|
92
|
+
BUNDLED WITH
|
93
|
+
1.15.4
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 William Kimball
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|