librarian-puppet 2.2.1 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +2 -2
- data/lib/librarian/puppet/source/forge/repo_v3.rb +8 -7
- data/lib/librarian/puppet/version.rb +1 -1
- metadata +37 -39
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YzJmOGM3Zjc4MzY3YTU2MTZjNDg5YzE2ZTlkM2QwMjMyNDQ0YjdlNA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
N2Q3YTkxNGUxN2NhYzBiYWFlMTE3MTc4YWVkNzIxZjdmYTMyNDQ0OA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ODdiMGNjOTJjYTYyYzg3YzA1Nzg0ODIyODAyMTg3MzFlMmExYWQ4OTZkZWU1
|
10
|
+
ZmNhODQ1M2I5M2IyNmQyOWU3ZGNmOGI4ZGJjNzI1ODAyYWZiODllMGMyNDZj
|
11
|
+
YzQyMDI4NWNiZmVjMjNlM2IzMDBjM2MwODc3MGMzZjU3MTZlZjE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
N2NlOTAyZTIxNTlkMGEzNTU0YzNlY2E3YTgyZTZiZWQ1MDc4ODBiMWI0ZDBh
|
14
|
+
Yjc4ZTczMmVmOGExYjU2MDk5ZjkzNWZjNGVhMzQzZmJhMzBjODJkYThlNjAz
|
15
|
+
NWQzZDk5M2EwZDVkNDY2MTIwODExZDJkZDdhMzdmNGQwZGNhYmQ=
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Librarian-puppet
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/
|
3
|
+
[![Build Status](https://travis-ci.org/voxpupuli/librarian-puppet.png?branch=master)](https://travis-ci.org/voxpupuli/librarian-puppet)
|
4
4
|
|
5
5
|
## Introduction
|
6
6
|
|
@@ -321,5 +321,5 @@ Please include:
|
|
321
321
|
|
322
322
|
|
323
323
|
## License
|
324
|
-
Please see the [LICENSE](https://github.com/
|
324
|
+
Please see the [LICENSE](https://github.com/voxpupuli/librarian-puppet/blob/master/LICENSE)
|
325
325
|
file.
|
@@ -16,13 +16,11 @@ module Librarian
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def get_versions
|
19
|
-
get_module.releases.map
|
20
|
-
r.version unless r.deleted_at != nil
|
21
|
-
end.compact
|
19
|
+
get_module.releases.select{|r| r.deleted_at.nil?}.map{|r| r.version}
|
22
20
|
end
|
23
21
|
|
24
22
|
def dependencies(version)
|
25
|
-
array = get_release(version).metadata[:dependencies].map{|d| [d[
|
23
|
+
array = get_release(version).metadata[:dependencies].map{|d| [d[:name], d[:version_requirement]]}
|
26
24
|
Hash[*array.flatten(1)]
|
27
25
|
end
|
28
26
|
|
@@ -32,7 +30,7 @@ module Librarian
|
|
32
30
|
else
|
33
31
|
# should never get here as we use one repo object for each module (to be changed in the future)
|
34
32
|
debug { "Looking up url for #{name}@#{version}" }
|
35
|
-
release = PuppetForge::Release.find("#{name}-#{version}")
|
33
|
+
release = PuppetForge::V3::Release.find("#{name}-#{version}")
|
36
34
|
end
|
37
35
|
"#{source}#{release.file_uri}"
|
38
36
|
end
|
@@ -40,8 +38,11 @@ module Librarian
|
|
40
38
|
private
|
41
39
|
|
42
40
|
def get_module
|
43
|
-
|
44
|
-
|
41
|
+
begin
|
42
|
+
@module ||= PuppetForge::V3::Module.find(name)
|
43
|
+
rescue Faraday::ResourceNotFound => e
|
44
|
+
raise(Error, "Unable to find module '#{name}' on #{source}")
|
45
|
+
end
|
45
46
|
@module
|
46
47
|
end
|
47
48
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librarian-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Sharpe
|
@@ -9,166 +9,164 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: librarianp
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ! '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: 0.6.3
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ! '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: 0.6.3
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rsync
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ! '>='
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ! '>='
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: puppet_forge
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - ~>
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '1
|
48
|
+
version: '2.1'
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '1
|
55
|
+
version: '2.1'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ! '>='
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ! '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: rspec
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ! '>='
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ! '>='
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: cucumber
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - ! '>='
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - ! '>='
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: aruba
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- -
|
102
|
+
- - <
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
104
|
+
version: 0.8.0
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- -
|
109
|
+
- - <
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
111
|
+
version: 0.8.0
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: puppet
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- -
|
116
|
+
- - ~>
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
118
|
+
version: 4.1.0
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
|
-
- -
|
123
|
+
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
125
|
+
version: 4.1.0
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: minitest
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
|
-
- -
|
130
|
+
- - ~>
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '5'
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- -
|
137
|
+
- - ~>
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '5'
|
140
140
|
- !ruby/object:Gem::Dependency
|
141
141
|
name: mocha
|
142
142
|
requirement: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
|
-
- -
|
144
|
+
- - ! '>='
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
type: :development
|
148
148
|
prerelease: false
|
149
149
|
version_requirements: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
|
-
- -
|
151
|
+
- - ! '>='
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
155
|
name: simplecov
|
156
156
|
requirement: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- -
|
158
|
+
- - ! '>='
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: 0.9.0
|
161
161
|
type: :development
|
162
162
|
prerelease: false
|
163
163
|
version_requirements: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
|
-
- -
|
165
|
+
- - ! '>='
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: 0.9.0
|
168
|
-
description:
|
169
|
-
|
170
|
-
automatically pulling in modules from the forge and git repositories with
|
171
|
-
a single command.
|
168
|
+
description: ! "Simplify deployment of your Puppet infrastructure by\n automatically
|
169
|
+
pulling in modules from the forge and git repositories with\n a single command."
|
172
170
|
email:
|
173
171
|
- tim@sharpe.id.au
|
174
172
|
- carlos@apache.org
|
@@ -177,7 +175,7 @@ executables:
|
|
177
175
|
extensions: []
|
178
176
|
extra_rdoc_files: []
|
179
177
|
files:
|
180
|
-
-
|
178
|
+
- .gitignore
|
181
179
|
- LICENSE
|
182
180
|
- README.md
|
183
181
|
- bin/librarian-puppet
|
@@ -205,7 +203,7 @@ files:
|
|
205
203
|
- lib/librarian/puppet/templates/Puppetfile
|
206
204
|
- lib/librarian/puppet/util.rb
|
207
205
|
- lib/librarian/puppet/version.rb
|
208
|
-
homepage: https://github.com/
|
206
|
+
homepage: https://github.com/voxpupuli/librarian-puppet
|
209
207
|
licenses:
|
210
208
|
- MIT
|
211
209
|
metadata: {}
|
@@ -215,17 +213,17 @@ require_paths:
|
|
215
213
|
- lib
|
216
214
|
required_ruby_version: !ruby/object:Gem::Requirement
|
217
215
|
requirements:
|
218
|
-
- -
|
216
|
+
- - ! '>='
|
219
217
|
- !ruby/object:Gem::Version
|
220
218
|
version: 1.9.0
|
221
219
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
220
|
requirements:
|
223
|
-
- -
|
221
|
+
- - ! '>='
|
224
222
|
- !ruby/object:Gem::Version
|
225
223
|
version: '0'
|
226
224
|
requirements: []
|
227
225
|
rubyforge_project:
|
228
|
-
rubygems_version: 2.4.
|
226
|
+
rubygems_version: 2.4.5
|
229
227
|
signing_key:
|
230
228
|
specification_version: 4
|
231
229
|
summary: Bundler for your Puppet modules
|