Skip to content

Commit

Permalink
Merge pull request #37 from voxpupuli/release_100
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
rnelson0 authored Nov 18, 2016
2 parents c7edb6a + 206c940 commit 7ccd83d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 15 deletions.
18 changes: 13 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
notifications:
email: false
---
language: ruby

script:
- bundle exec rubocop
- tests/test.sh
- bundle exec rubocop
- tests/test.sh

sudo: false

rvm:
- 2.2
- 2.0.0
- 2.1.9
- 2.3.1

deploy:
provider: rubygems
api_key:
Expand All @@ -15,3 +20,6 @@ deploy:
on:
tags: true
repo: voxpupuli/metadata-json-lint

notifications:
email: false
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Simple tool to validate and lint `metadata.json` files in Puppet modules as
recommended in Puppet Forge style guidelines from [Puppet forge metadata style
quide](https://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html#write-a-metadatajson-file)

## Compatibility

metadata-json-lint is compatible with Ruby versions 2.0.0, 2.1.9 and
2.3.1.

## Installation

```shell
Expand Down Expand Up @@ -43,10 +48,5 @@ rake metadata_lint

## Contributors

A Big thank you to the code contributors:

* Richard Pijnenburg
* Dominic Cleal
* Igor Galić
* Mike Arnold

A Big thank you to the
[contributors](https://github.com/voxpupuli/metadata-json-lint/graphs/contributors)
6 changes: 3 additions & 3 deletions metadata-json-lint.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Gem::Specification.new do |s|
s.name = 'metadata-json-lint'
s.version = '0.0.19'
s.version = '1.0.0'
s.date = '2016-10-19'
s.summary = 'metadata-json-lint /path/to/metadata.json'
s.description = 'Utility to verify Puppet metadata.json files'
s.authors = ['Spencer Krum', 'Vox Pupuli']
s.authors = ['Vox Pupuli']
s.email = '[email protected]'
s.files = ['bin/metadata-json-lint', 'lib/metadata_json_lint.rb', 'lib/metadata-json-lint/rake_task.rb']
s.executables << 'metadata-json-lint'
Expand All @@ -13,7 +13,7 @@ Gem::Specification.new do |s|

s.add_runtime_dependency 'spdx-licenses', '~> 1.0'
s.add_runtime_dependency 'json'
s.add_runtime_dependency 'semantic_puppet', '>= 0.1.2', '< 1.0.0'
s.add_runtime_dependency 'semantic_puppet', '>= 0.1.2', '< 2.0.0'
s.add_development_dependency 'rake'
s.add_development_dependency 'rubocop'
end
4 changes: 4 additions & 0 deletions tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ test() {
RESULT=$?
if [ $RESULT -ne $expect ]; then
fail "Failing Test '${name}' (bin)"
else
echo "Successful Test '${name}' (bin)"
fi

# Only check the Rakefile when no additional arguments were passed to metadata-json-lint.
Expand All @@ -30,6 +32,8 @@ test() {
RESULT=$?
if [ $RESULT -ne $expect ]; then
fail "Failing Test '${name}' (rake)"
else
echo "Successful Test '${name}' (rake)"
fi
fi
cd ..
Expand Down

0 comments on commit 7ccd83d

Please sign in to comment.