Skip to content

Commit

Permalink
Merge pull request #209 from ghoneycutt/check_metadata
Browse files Browse the repository at this point in the history
Check metadata
  • Loading branch information
shivapoudel committed Jul 4, 2015
2 parents 7552d7d + bf0a013 commit 4fcefd0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 27 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
language: ruby
bundler_args: --without system_tests
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
script: "bundle exec metadata-json-lint metadata.json && bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
rvm:
- 1.9.3
- 2.0.0
Expand All @@ -12,4 +12,6 @@ matrix:
- rvm: 2.0.0
env: PUPPET_VERSION="~> 3.1.0"
- rvm: 1.9.3
env: PUPPET_VERSION="~> 2.7.0"
env: PUPPET_VERSION="~> 2.7.0"

sudo: false
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source ENV['GEM_SOURCE'] || "https://rubygems.org"

group :development, :test do
gem 'metadata-json-lint', :require => false
gem 'rake', :require => false
gem 'rspec-puppet', :require => false
gem 'puppetlabs_spec_helper', :require => false
Expand Down
12 changes: 0 additions & 12 deletions Modulefile

This file was deleted.

25 changes: 12 additions & 13 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
{
"name": "stankevich-python",
"version": "1.9.4",
"source": "git://github.com/stankevich/puppet-python.git",
"author": "stankevich",
"license": "Apache Version 2.0",
"summary": "Python Module",
"description": "Puppet module for Python",
"license": "Apache-2.0",
"source": "git://github.com/stankevich/puppet-python.git",
"project_page": "https://github.com/stankevich/puppet-python",
"issues_url": "https://github.com/stankevich/puppet-python/issues",
"tags": ["python", "pip", "virtualenv", "gunicorn"],
"description": "Puppet module for Python",
"tags": [
"python",
"pip",
"virtualenv",
"gunicorn"
],
"operatingsystem_support": [
{
"operatingsystem": "CentOS",
Expand Down Expand Up @@ -43,17 +48,11 @@
"requirements": [
{
"name": "puppet",
"version_requirement": "3.x"
"version_requirement": ">=3.0.0 < 4.0.0"
}
],
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.0.0"
},
{
"name": "stahnma/epel",
"version_requirement": ">= 1.0.1"
}
{"name":"puppetlabs/stdlib","version_requirement":">= 4.0.0 < 6.0.0"},
{"name":"stahnma/epel","version_requirement":">= 1.0.1 < 2.0.0"}
]
}

0 comments on commit 4fcefd0

Please sign in to comment.