puppet-moddeps 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.coveralls.yml +0 -0
- data/.gitignore +1 -0
- data/.travis.yml +0 -0
- data/CHANGELOG.md +25 -0
- data/Gemfile +0 -0
- data/Guardfile +0 -0
- data/LICENSE +28 -28
- data/README.md +10 -4
- data/Rakefile +0 -0
- data/Vagrantfile +5 -15
- data/bin/puppet-moddeps +0 -0
- data/lib/puppet/moddeps.rb +0 -0
- data/lib/puppet/moddeps/install_deps.rb +11 -1
- data/lib/puppet/moddeps/version.rb +1 -1
- data/puppet-moddeps.gemspec +1 -0
- data/scripts/vagrant-user.sh +1 -10
- data/spec/install_deps_spec.rb +46 -4
- data/spec/spec_helper.rb +12 -4
- metadata +63 -41
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OTQzOTczYWYzNGRhZDNlN2RmZTljMjAwODZmM2ZiNmViNTEzNjlhMA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4d42cad287c556f394c3e9969232c21c44cf6cd5
|
4
|
+
data.tar.gz: b2089338ea99f42c3c32b149340ebf688385124d
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MGM5ZDg5ZDZkMjIyZmQyNjc4MjdlZGU0Mzk3MzdjNWQyNGQ3NzVmOTkxYzhm
|
11
|
-
ZjdjNzQ3NTgxY2VlMDE0NDgxNWY2YmI5ZDU5MmRmNWU2M2VmOTU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MTYyY2Y0MThiZWQ4MDI4NzhmZDAxZjU5NWVlM2UzOGM3NDYwNGY3MzdlYWVj
|
14
|
-
ZWQxOGQwZjcyNDViODJmNTQ1YTcwNDRlMDBmOGM4MmEyYWU3YzJiZDAzNjYz
|
15
|
-
MjE4NDcxNGU2YjFlMmU2MTA2YzhiZjMxODY0MTVlZWIzNDBlNWY=
|
6
|
+
metadata.gz: c54b55ad7e24bb7e04d2e5c754b92ed15de92530833711ceda4a07412dae7613b24a0dfaef45d2afcb0b5a4bb214fd07b629fc4299db56f8c4d7b8ebcd699a6b
|
7
|
+
data.tar.gz: 7063ae86762bc4d8ddafc31a87a519a4b801e2bf24fc9835565e92c35c608d69888d0d6a58b76158bc68b412463a3fc5ca0a5eeb2d20f3ed6ec7725a21cbbc2d
|
data/.coveralls.yml
CHANGED
File without changes
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
File without changes
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# Change Log for Puppet::Moddeps
|
2
|
+
|
3
|
+
[![GitHub tag][tag-img]][tag] [![Gem Version][gem-v-img]][gem-version]
|
4
|
+
|
5
|
+
## v1.1.0
|
6
|
+
|
7
|
+
* converted to a class-based code structure
|
8
|
+
* removed Gemfile.lock for flexibility of using dynamic Puppet versions for
|
9
|
+
testing
|
10
|
+
* improved testablilty and fixed it so that all test pass
|
11
|
+
|
12
|
+
## v1.2.0
|
13
|
+
|
14
|
+
* created this changelog
|
15
|
+
* simplified vagrant setup
|
16
|
+
* updated documentation
|
17
|
+
* fixed bug preventing reporting test results to multiple places
|
18
|
+
* adjusted testing code for Windows - builds should work just as on Linux
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
[gem-v-img]: https://badge.fury.io/rb/puppet-moddeps.svg
|
23
|
+
[gem-version]: http://badge.fury.io/rb/puppet-moddeps
|
24
|
+
[tag]: https://github.com/genebean/puppet-moddeps
|
25
|
+
[tag-img]: https://img.shields.io/github/tag/genebean/puppet-moddeps.svg
|
data/Gemfile
CHANGED
File without changes
|
data/Guardfile
CHANGED
File without changes
|
data/LICENSE
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
Copyright (c) 2014, genebean
|
2
|
-
All rights reserved.
|
3
|
-
|
4
|
-
Redistribution and use in source and binary forms, with or without
|
5
|
-
modification, are permitted provided that the following conditions are met:
|
6
|
-
|
7
|
-
* Redistributions of source code must retain the above copyright notice, this
|
8
|
-
list of conditions and the following disclaimer.
|
9
|
-
|
10
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
this list of conditions and the following disclaimer in the documentation
|
12
|
-
and/or other materials provided with the distribution.
|
13
|
-
|
14
|
-
* Neither the name of puppet-moddeps nor the names of its
|
15
|
-
contributors may be used to endorse or promote products derived from
|
16
|
-
this software without specific prior written permission.
|
17
|
-
|
18
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
19
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
20
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
21
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
22
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
23
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
24
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
25
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
26
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
27
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
28
|
-
|
1
|
+
Copyright (c) 2014, genebean
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
6
|
+
|
7
|
+
* Redistributions of source code must retain the above copyright notice, this
|
8
|
+
list of conditions and the following disclaimer.
|
9
|
+
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
11
|
+
this list of conditions and the following disclaimer in the documentation
|
12
|
+
and/or other materials provided with the distribution.
|
13
|
+
|
14
|
+
* Neither the name of puppet-moddeps nor the names of its
|
15
|
+
contributors may be used to endorse or promote products derived from
|
16
|
+
this software without specific prior written permission.
|
17
|
+
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
19
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
20
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
21
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
22
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
23
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
24
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
25
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
26
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
27
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
28
|
+
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ GitHub that have a populated `metadata.json` file.
|
|
21
21
|
puppet-moddeps has been extensively tested on CentOS 6 using the system ruby
|
22
22
|
(v1.8.7). Due to dependency requirements all development is done on ruby 1.9.3
|
23
23
|
or higher. Automated testing of v1.8.7 cannot be done on Travis-CI due to the
|
24
|
-
development
|
24
|
+
development dependencies.
|
25
25
|
|
26
26
|
## Installation
|
27
27
|
|
@@ -66,15 +66,21 @@ the version available in Red Hat / CentOS 6.
|
|
66
66
|
|
67
67
|
Development and testing can also be done utilizing the included `Vagrantfile`.
|
68
68
|
To do so, install [Vagrant][vagrant] and [VirtualBox][vbox], fork and clone the
|
69
|
-
project, cd into the project, and run `vagrant up
|
70
|
-
|
71
|
-
can find the code symlinked into the vagrant user's home directory.
|
69
|
+
project, cd into the project, and run `vagrant up` followed by `vagrant ssh`.
|
70
|
+
The setup process will take care of running `bundle install` for you. You
|
71
|
+
can find the code symlinked into the vagrant user's home directory. Also, RVM
|
72
|
+
is installed system-wide in the referenced Vagrant box.
|
72
73
|
|
73
74
|
### Tests
|
74
75
|
|
75
76
|
Please try and write tests using Rspec's expect syntax for any code you add or change.
|
76
77
|
Code must have tests before it will be merged.
|
77
78
|
|
79
|
+
## License
|
80
|
+
|
81
|
+
This code is released under the New BSD license (aka 3-clause BSD). A copy is
|
82
|
+
in the LICENSE file in this repo.
|
83
|
+
|
78
84
|
|
79
85
|
[code-climate]: https://codeclimate.com/github/genebean/puppet-moddeps
|
80
86
|
[cc-img]: https://img.shields.io/codeclimate/github/genebean/puppet-moddeps.svg
|
data/Rakefile
CHANGED
File without changes
|
data/Vagrantfile
CHANGED
@@ -5,22 +5,12 @@
|
|
5
5
|
VAGRANTFILE_API_VERSION = "2"
|
6
6
|
|
7
7
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
8
|
-
config.vm.box = "genebean/centos6-
|
8
|
+
config.vm.box = "genebean/centos6-rvm193-64bit"
|
9
9
|
|
10
|
-
config.vm.
|
10
|
+
config.vm.synced_folder "./", "/home/vagrant/puppet-moddeps"
|
11
11
|
|
12
|
-
|
12
|
+
config.vm.provision "shell", inline: "yum -y install dos2unix git nano ruby-devel tree vim-enhanced"
|
13
|
+
config.vm.provision "shell", inline: "dos2unix /vagrant/scripts/*.sh"
|
14
|
+
config.vm.provision "shell", inline: "su - vagrant -c 'export PUPPET_VERSION=3.7.3; /vagrant/scripts/vagrant-user.sh'"
|
13
15
|
|
14
|
-
dev.vm.provision "shell", inline: "yum -y install dos2unix git nano ruby-devel tree vim-enhanced"
|
15
|
-
dev.vm.provision "shell", inline: "dos2unix /vagrant/scripts/*.sh"
|
16
|
-
dev.vm.provision "shell", inline: "su - vagrant -c 'export PUPPET_VERSION=3.7.3; /vagrant/scripts/vagrant-user.sh'"
|
17
|
-
|
18
|
-
end
|
19
|
-
|
20
|
-
config.vm.define "test" do |test|
|
21
|
-
test.vm.provision "shell", inline: "yum -y install git ruby-devel tree"
|
22
|
-
test.vm.provision "shell", inline: "gem install puppet-moddeps"
|
23
|
-
test.vm.provision "shell", inline: "git clone https://github.com/puppetlabs/puppetlabs-apache.git /etc/puppet/modules/apache"
|
24
|
-
test.vm.provision "shell", inline: "puppet-moddeps apache"
|
25
|
-
end
|
26
16
|
end
|
data/bin/puppet-moddeps
CHANGED
File without changes
|
data/lib/puppet/moddeps.rb
CHANGED
File without changes
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'json'
|
3
|
+
require 'rbconfig'
|
3
4
|
|
4
5
|
module Puppet
|
5
6
|
module Moddeps
|
@@ -13,7 +14,8 @@ module Puppet
|
|
13
14
|
elsif path
|
14
15
|
abort('The provided path was not a string.')
|
15
16
|
else
|
16
|
-
|
17
|
+
separator = self.path_separator(RbConfig::CONFIG['host_os'])
|
18
|
+
@module_path = %x(puppet config print modulepath).split(separator)[0]
|
17
19
|
end
|
18
20
|
|
19
21
|
if deps and deps.is_a?(Array)
|
@@ -54,6 +56,14 @@ module Puppet
|
|
54
56
|
File.directory?("#{@module_path}/#{module_name}")
|
55
57
|
end
|
56
58
|
|
59
|
+
def path_separator(os_string)
|
60
|
+
if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ os_string) != nil
|
61
|
+
separator = ';'
|
62
|
+
else
|
63
|
+
separator = ':'
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
57
67
|
def parse_metadata(module_name)
|
58
68
|
metadata = File.read("#{@module_path}/#{module_name}/metadata.json")
|
59
69
|
data = JSON.parse(metadata)
|
data/puppet-moddeps.gemspec
CHANGED
@@ -36,6 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_development_dependency 'rake', '~> 10.4'
|
37
37
|
spec.add_development_dependency 'rspec', '~> 3.1'
|
38
38
|
spec.add_development_dependency 'rspec-nc', '~> 0.2'
|
39
|
+
spec.add_development_dependency 'wdm', '>= 0.1.0' if Gem.win_platform?
|
39
40
|
|
40
41
|
if ENV.key?('PUPPET_VERSION')
|
41
42
|
puppetversion = "= #{ENV['PUPPET_VERSION']}"
|
data/scripts/vagrant-user.sh
CHANGED
@@ -6,16 +6,7 @@ if [ -f '/vagrant/GitConfig' ]; then
|
|
6
6
|
cp /vagrant/GitConfig ~/.gitconfig
|
7
7
|
fi
|
8
8
|
|
9
|
-
# Setup RVM
|
10
|
-
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
|
11
|
-
curl -L get.rvm.io | bash -s stable
|
12
|
-
source ~/.profile
|
13
|
-
|
14
|
-
# Setup Ruby 1.9.3
|
15
|
-
rvm install 1.9.3
|
16
|
-
rvm use 1.9.3
|
17
|
-
|
18
9
|
# Setup project
|
19
10
|
gem install bundler --no-ri --no-rdoc
|
20
11
|
cd puppet-moddeps
|
21
|
-
bundle install
|
12
|
+
bundle install --jobs=3 --retry=3
|
data/spec/install_deps_spec.rb
CHANGED
@@ -4,8 +4,18 @@ describe Puppet::Moddeps::InstallDeps do
|
|
4
4
|
|
5
5
|
before(:all) do
|
6
6
|
puts 'Downloading the puppetlabs-apache module...'
|
7
|
+
|
7
8
|
%x(puppet module install puppetlabs-apache --ignore-dependencies)
|
8
|
-
|
9
|
+
|
10
|
+
@dirs_to_clean = ['apache']
|
11
|
+
|
12
|
+
if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RbConfig::CONFIG['host_os']) != nil
|
13
|
+
@expected_path = %x(puppet config print modulepath).split(';')[0]
|
14
|
+
else
|
15
|
+
@expected_path = %x(puppet config print modulepath).split(':')[0]
|
16
|
+
end
|
17
|
+
|
18
|
+
puts "The expected module path is: #{@expected_path}"
|
9
19
|
end
|
10
20
|
|
11
21
|
describe '.initialize(path, deps)' do
|
@@ -70,6 +80,23 @@ describe Puppet::Moddeps::InstallDeps do
|
|
70
80
|
|
71
81
|
end
|
72
82
|
|
83
|
+
describe '.path_separator' do
|
84
|
+
|
85
|
+
subject { Puppet::Moddeps::InstallDeps.new }
|
86
|
+
|
87
|
+
context 'on Windows' do
|
88
|
+
it 'should return ; as the path separator' do
|
89
|
+
expect(subject.path_separator('mingw32')).to eq(';')
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
context 'on Linux' do
|
94
|
+
it 'should return : as the path separator' do
|
95
|
+
expect(subject.path_separator('linux-gnu')).to eq(':')
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
73
100
|
describe '.parse_metadata' do
|
74
101
|
|
75
102
|
it "should parse metadata.json" do
|
@@ -112,7 +139,11 @@ describe Puppet::Moddeps::InstallDeps do
|
|
112
139
|
basedir = base_object.module_path
|
113
140
|
|
114
141
|
base_object.deps.each do |dep|
|
115
|
-
|
142
|
+
mod_dir = dep.split('-')[1]
|
143
|
+
@dirs_to_clean.push(mod_dir)
|
144
|
+
|
145
|
+
mod_path = "#{basedir}/#{mod_dir}"
|
146
|
+
expect(File.directory?(mod_path)).to eql(true)
|
116
147
|
end
|
117
148
|
|
118
149
|
end
|
@@ -120,8 +151,19 @@ describe Puppet::Moddeps::InstallDeps do
|
|
120
151
|
end
|
121
152
|
|
122
153
|
after(:all) do
|
123
|
-
|
124
|
-
|
154
|
+
|
155
|
+
@dirs_to_clean.each do |mod_dir|
|
156
|
+
path_to_clean = @expected_path + "/#{mod_dir}"
|
157
|
+
|
158
|
+
if (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RbConfig::CONFIG['host_os']) != nil
|
159
|
+
puts "Removing #{path_to_clean.gsub '/', '\\'}"
|
160
|
+
%x(rmdir /Q /S #{path_to_clean.gsub '/', '\\'})
|
161
|
+
else
|
162
|
+
puts "Removing #{path_to_clean}"
|
163
|
+
%x(rm -rf #{path_to_clean})
|
164
|
+
end
|
165
|
+
|
166
|
+
end
|
125
167
|
end
|
126
168
|
|
127
169
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,8 +1,16 @@
|
|
1
|
-
require
|
2
|
-
CodeClimate::TestReporter.start
|
3
|
-
|
1
|
+
require 'codeclimate-test-reporter'
|
4
2
|
require 'coveralls'
|
5
|
-
|
3
|
+
require 'simplecov'
|
4
|
+
|
5
|
+
# The order of these is very important for making them all work together.
|
6
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
7
|
+
Coveralls::SimpleCov::Formatter,
|
8
|
+
SimpleCov::Formatter::HTMLFormatter,
|
9
|
+
CodeClimate::TestReporter::Formatter # this has to be last or reporting fails.
|
10
|
+
]
|
11
|
+
SimpleCov.start 'rails' # without 'rails' this doesn't work right.
|
12
|
+
|
6
13
|
|
7
14
|
require 'pry'
|
8
15
|
require 'puppet/moddeps'
|
16
|
+
require 'rbconfig'
|
metadata
CHANGED
@@ -1,206 +1,227 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-moddeps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GeneBean
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.7'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: codeclimate-test-reporter
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0.4'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: coveralls
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.7'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.7'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: guard
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '2.10'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.10'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: guard-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '4.5'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '4.5'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: pry
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.10'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.10'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry-nav
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0.2'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.2'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: pry-remote
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0.1'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0.1'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - ~>
|
129
|
+
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '10.4'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - ~>
|
136
|
+
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '10.4'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '3.1'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '3.1'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rspec-nc
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0.2'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0.2'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: wdm
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.1.0
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.1.0
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: puppet
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
170
184
|
requirements:
|
171
|
-
- -
|
185
|
+
- - ">="
|
172
186
|
- !ruby/object:Gem::Version
|
173
|
-
version: 3.
|
187
|
+
version: '3.0'
|
188
|
+
- - "<"
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '4.0'
|
174
191
|
type: :development
|
175
192
|
prerelease: false
|
176
193
|
version_requirements: !ruby/object:Gem::Requirement
|
177
194
|
requirements:
|
178
|
-
- -
|
195
|
+
- - ">="
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '3.0'
|
198
|
+
- - "<"
|
179
199
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
200
|
+
version: '4.0'
|
181
201
|
- !ruby/object:Gem::Dependency
|
182
202
|
name: json
|
183
203
|
requirement: !ruby/object:Gem::Requirement
|
184
204
|
requirements:
|
185
|
-
- - ~>
|
205
|
+
- - "~>"
|
186
206
|
- !ruby/object:Gem::Version
|
187
207
|
version: '1.8'
|
188
|
-
- -
|
208
|
+
- - ">="
|
189
209
|
- !ruby/object:Gem::Version
|
190
210
|
version: 1.8.1
|
191
211
|
type: :runtime
|
192
212
|
prerelease: false
|
193
213
|
version_requirements: !ruby/object:Gem::Requirement
|
194
214
|
requirements:
|
195
|
-
- - ~>
|
215
|
+
- - "~>"
|
196
216
|
- !ruby/object:Gem::Version
|
197
217
|
version: '1.8'
|
198
|
-
- -
|
218
|
+
- - ">="
|
199
219
|
- !ruby/object:Gem::Version
|
200
220
|
version: 1.8.1
|
201
|
-
description:
|
202
|
-
|
203
|
-
|
221
|
+
description: |2
|
222
|
+
This gem will allow you to pull in all missing dependencies for a given
|
223
|
+
Puppet module. This is targeted specifically at private modules that have a
|
224
|
+
populated metadata.json file.
|
204
225
|
email:
|
205
226
|
- me@technicalissues.us
|
206
227
|
executables:
|
@@ -208,9 +229,10 @@ executables:
|
|
208
229
|
extensions: []
|
209
230
|
extra_rdoc_files: []
|
210
231
|
files:
|
211
|
-
- .coveralls.yml
|
212
|
-
- .gitignore
|
213
|
-
- .travis.yml
|
232
|
+
- ".coveralls.yml"
|
233
|
+
- ".gitignore"
|
234
|
+
- ".travis.yml"
|
235
|
+
- CHANGELOG.md
|
214
236
|
- Gemfile
|
215
237
|
- Guardfile
|
216
238
|
- LICENSE
|
@@ -235,17 +257,17 @@ require_paths:
|
|
235
257
|
- lib
|
236
258
|
required_ruby_version: !ruby/object:Gem::Requirement
|
237
259
|
requirements:
|
238
|
-
- -
|
260
|
+
- - ">="
|
239
261
|
- !ruby/object:Gem::Version
|
240
262
|
version: 1.8.7
|
241
263
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
264
|
requirements:
|
243
|
-
- -
|
265
|
+
- - ">="
|
244
266
|
- !ruby/object:Gem::Version
|
245
267
|
version: '0'
|
246
268
|
requirements: []
|
247
269
|
rubyforge_project:
|
248
|
-
rubygems_version: 2.
|
270
|
+
rubygems_version: 2.0.15
|
249
271
|
signing_key:
|
250
272
|
specification_version: 4
|
251
273
|
summary: Installs dependencies for a given Puppet module
|