From 5ffa441be68241e6c3d1bec0bf3d02d235e2f95a Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Fri, 24 Apr 2015 13:13:23 +0200 Subject: [PATCH 1/2] added metadata-json-lint gem --- Gemfile | 1 + Gemfile.lock | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Gemfile b/Gemfile index abcb4b54e..4d302c2c5 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,7 @@ group :development, :unit_tests do gem 'simplecov', :require => false gem 'puppet_facts', :require => false gem 'json', :require => false + gem 'metadata-json-lint', :require => false end group :system_tests do diff --git a/Gemfile.lock b/Gemfile.lock index c68ce15eb..1a5005f05 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -177,6 +177,9 @@ GEM multi_json (>= 1.8.4) memoist (0.12.0) metaclass (0.0.4) + metadata-json-lint (0.0.6) + json + spdx-licenses (~> 1.0) mime-types (2.4.3) mini_portile (0.6.2) minitest (5.6.0) @@ -244,6 +247,8 @@ GEM json (~> 1.8) simplecov-html (~> 0.10.0) simplecov-html (0.10.0) + spdx-licenses (1.0.0) + json specinfra (2.30.0) net-scp net-ssh @@ -262,6 +267,7 @@ DEPENDENCIES beaker-rspec facter json + metadata-json-lint puppet puppet-lint puppet_facts From 6461edbc543c9067ee19b01ea7d89a1e72490c9d Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Fri, 24 Apr 2015 13:17:38 +0200 Subject: [PATCH 2/2] fix license name to follow http://spdx.org/licenses/ conventions --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index 7834901fa..3c6355fc8 100644 --- a/metadata.json +++ b/metadata.json @@ -74,7 +74,7 @@ "version": "3.3.0", "source": "https://github.com/pdxcat/puppet-module-collectd", "author": "Computer Action Team", - "license": "Apache Version 2.0", + "license": "Apache-2.0", "summary": "Puppet module for Collectd", "project_page": "https://github.com/pdxcat/puppet-module-collectd", "dependencies": [