Add blacksmith for module releases

This commit is contained in:
2016-10-10 23:35:23 +01:00
parent 404f09c426
commit 83ec01304c
3 changed files with 19 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ gem 'puppetlabs_spec_helper', '>= 1.0.0'
gem 'puppet-lint', '>= 1.0.0' gem 'puppet-lint', '>= 1.0.0'
gem 'facter', '>= 1.7.0' gem 'facter', '>= 1.7.0'
gem 'rspec-puppet' gem 'rspec-puppet'
gem 'puppet-blacksmith'
# rspec must be v2 for ruby 1.8.7 # rspec must be v2 for ruby 1.8.7
if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9' if RUBY_VERSION >= '1.8.7' && RUBY_VERSION < '1.9'

View File

@@ -4,17 +4,23 @@ GEM
CFPropertyList (2.2.8) CFPropertyList (2.2.8)
ast (2.3.0) ast (2.3.0)
diff-lcs (1.2.5) diff-lcs (1.2.5)
domain_name (0.5.20160826)
unf (>= 0.0.5, < 1.0.0)
facter (2.4.6) facter (2.4.6)
CFPropertyList (~> 2.2.6) CFPropertyList (~> 2.2.6)
hiera (3.2.1) hiera (3.2.1)
http-cookie (1.0.3)
domain_name (~> 0.5)
json (2.0.2) json (2.0.2)
json_pure (1.8.3) json_pure (1.8.3)
metaclass (0.0.4) metaclass (0.0.4)
metadata-json-lint (0.0.11) metadata-json-lint (0.0.11)
json json
spdx-licenses (~> 1.0) spdx-licenses (~> 1.0)
mime-types (2.99.3)
mocha (1.2.0) mocha (1.2.0)
metaclass (~> 0.0.1) metaclass (~> 0.0.1)
netrc (0.11.0)
parser (2.3.1.4) parser (2.3.1.4)
ast (~> 2.2) ast (~> 2.2)
powerpack (0.1.1) powerpack (0.1.1)
@@ -23,6 +29,9 @@ GEM
facter (> 2.0, < 4) facter (> 2.0, < 4)
hiera (>= 2.0, < 4) hiera (>= 2.0, < 4)
json_pure (~> 1.8) json_pure (~> 1.8)
puppet-blacksmith (3.4.0)
puppet (>= 2.7.16)
rest-client (~> 1.8.0)
puppet-lint (2.0.2) puppet-lint (2.0.2)
puppet-syntax (2.1.0) puppet-syntax (2.1.0)
rake rake
@@ -33,6 +42,10 @@ GEM
rspec-puppet (~> 2.0) rspec-puppet (~> 2.0)
rainbow (2.1.0) rainbow (2.1.0)
rake (11.3.0) rake (11.3.0)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rspec (3.5.0) rspec (3.5.0)
rspec-core (~> 3.5.0) rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0) rspec-expectations (~> 3.5.0)
@@ -56,6 +69,9 @@ GEM
unicode-display_width (~> 1.0, >= 1.0.1) unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.8.1) ruby-progressbar (1.8.1)
spdx-licenses (1.1.0) spdx-licenses (1.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
unicode-display_width (1.1.1) unicode-display_width (1.1.1)
PLATFORMS PLATFORMS
@@ -65,6 +81,7 @@ DEPENDENCIES
facter (>= 1.7.0) facter (>= 1.7.0)
metadata-json-lint metadata-json-lint
puppet (>= 3.3) puppet (>= 3.3)
puppet-blacksmith
puppet-lint (>= 1.0.0) puppet-lint (>= 1.0.0)
puppetlabs_spec_helper (>= 1.0.0) puppetlabs_spec_helper (>= 1.0.0)
rspec-puppet rspec-puppet

View File

@@ -1,6 +1,7 @@
require 'puppetlabs_spec_helper/rake_tasks' require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint' require 'puppet-lint/tasks/puppet-lint'
require 'metadata-json-lint/rake_task' require 'metadata-json-lint/rake_task'
require 'puppet_blacksmith/rake_tasks'
if RUBY_VERSION >= '1.9' if RUBY_VERSION >= '1.9'
require 'rubocop/rake_task' require 'rubocop/rake_task'