summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Hoppe <github@debian-solutions.de>2016-12-02 15:05:07 +0100
committerGitHub <noreply@github.com>2016-12-02 15:05:07 +0100
commit75f68a17e9509df811c8cf6959129864ca1f7996 (patch)
treed99fdd6bb1714e41f21a27b8dd9c4b806d524a4d
parent1e46566b3c7f0dbbd1af4e337cc7f7b10105955a (diff)
parentc5a95b1de6a7c5f20ff041f70bf6c39022c80c9c (diff)
Merge pull request #76 from voxpupuli/modulesync
modulesync 0.16.3
-rw-r--r--.github/CONTRIBUTING.md6
-rw-r--r--.github/ISSUE_TEMPLATE.md14
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md2
-rw-r--r--.gitignore2
-rw-r--r--.msync.yml2
-rw-r--r--.travis.yml14
-rw-r--r--spec/spec_helper.rb5
7 files changed, 25 insertions, 20 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index e61f265..5574191 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -2,10 +2,11 @@ This module has grown over time based on a range of contributions from
people using it. If you follow these contributing guidelines your patch
will likely make it into a release a little quicker.
-
## Contributing
-Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. [Contributor Code of Conduct](https://voxpupuli.org/coc/).
+Please note that this project is released with a Contributor Code of Conduct.
+By participating in this project you agree to abide by its terms.
+[Contributor Code of Conduct](https://voxpupuli.org/coc/).
1. Fork the repo.
@@ -76,7 +77,6 @@ To run the linter, the syntax checker and the unit tests:
bundle exec rake test
-
## Integration tests
The unit tests just check the code runs, not that it does exactly what
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index 9ac4a2b..f6f4f86 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -1,23 +1,25 @@
<!--
Thank you for contributing to this project!
+
- This project has a Contributor Code of Conduct: https://voxpupuli.org/coc/
- Please check that here is no existing issue or PR that addresses your problem.
- Please fill the following form to enable us to help you.
+
-->
-### Affected Puppet, Ruby, OS and module versions/distributions
+## Affected Puppet, Ruby, OS and module versions/distributions
- Puppet:
- Ruby:
- Distribution:
- Module version:
-### How to reproduce (e.g Puppet code you use)
+## How to reproduce (e.g Puppet code you use)
-### What are you seeing
+## What are you seeing
-### What behaviour did you expect instead
+## What behaviour did you expect instead
-### Output log
+## Output log
-### Any additional information you'd like to impart
+## Any additional information you'd like to impart
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 79272bf..92f2e59 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,5 +1,7 @@
<!--
Thank you for contributing to this project!
+
- This project has a Contributor Code of Conduct: https://voxpupuli.org/coc/
- Please check that here is no existing issue or PR that addresses your problem.
+
-->
diff --git a/.gitignore b/.gitignore
index aa3993d..82426da 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,5 +11,5 @@ coverage/
log/
.idea/
*.iml
-.*.sw
+.*.sw?
.yardoc/
diff --git a/.msync.yml b/.msync.yml
index e24f908..a7e7e88 100644
--- a/.msync.yml
+++ b/.msync.yml
@@ -1 +1 @@
-modulesync_config_version: '0.15.0'
+modulesync_config_version: '0.16.3'
diff --git a/.travis.yml b/.travis.yml
index f51b3ac..89318fe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,24 +23,22 @@ matrix:
env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" CHECK=test
- rvm: 2.1.9
env: PUPPET_VERSION="~> 4.0" CHECK=test
- - rvm: 2.2.5
+ - rvm: 2.2.6
env: PUPPET_VERSION="~> 4.0" CHECK=test
- - rvm: 2.3.1
+ - rvm: 2.3.3
env: PUPPET_VERSION="~> 4.0" CHECK=build DEPLOY_TO_FORGE=yes
- - rvm: 2.3.1
+ - rvm: 2.3.3
env: PUPPET_VERSION="~> 4.0" CHECK=rubocop
- - rvm: 2.3.1
+ - rvm: 2.3.3
env: PUPPET_VERSION="~> 4.0" CHECK=test
- - rvm: 2.4.0-preview1
+ - rvm: 2.4.0-preview3
env: PUPPET_VERSION="~> 4.0" CHECK=test
allow_failures:
- - rvm: 2.4.0-preview1
+ - rvm: 2.4.0-preview3
notifications:
email: false
deploy:
provider: puppetforge
- deploy:
- branch: ha-bug-puppet-forge
user: puppet
password:
secure: "PzzvPB326Yx0hheLbusZGYCGW4i1jOOMjwJMC/7QpbN4+gvMdmHpmQP3XeQ5tm+YYXqLPMyr1he1viTln8GPqLk1qpzF55H5mTakPxMjWZfRYvM+Q7lmtOEsBEXXSJk0ZYwMHXGVd8ouDrhaRzS2JqnhCAhLat0HeLcERWZx6Ok="
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index cd45c0e..32709c8 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,7 +2,7 @@ require 'puppetlabs_spec_helper/module_spec_helper'
require 'rspec-puppet-facts'
include RspecPuppetFacts
-unless RUBY_VERSION =~ %r{^1.9}
+if Dir.exist?(File.expand_path('../../lib', __FILE__)) && RUBY_VERSION !~ %r{^1.9}
require 'coveralls'
require 'simplecov'
require 'simplecov-console'
@@ -12,7 +12,10 @@ unless RUBY_VERSION =~ %r{^1.9}
Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
+ track_files 'lib/**/*.rb'
add_filter '/spec'
+ add_filter '/vendor'
+ add_filter '/.vendor'
end
end