librarian-puppet-maestrodev 0.9.7.4 → 0.9.7.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -0
- data/lib/librarian/puppet/source/git.rb +8 -1
- data/lib/librarian/puppet/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Librarian-puppet
|
2
2
|
|
3
|
+
## Note
|
4
|
+
|
5
|
+
This is a fork of [rodjek librarian-puppet](https://github.com/rodjek/librarian-puppet) with
|
6
|
+
a bunch of fixes submitted as pull requests there.
|
7
|
+
It is published to rubygems as [librarian-puppet-maestrodev](https://rubygems.org/gems/librarian-puppet-maestrodev)
|
8
|
+
so you can easily try it.
|
9
|
+
|
10
|
+
|
3
11
|
## Introduction
|
4
12
|
|
5
13
|
Librarian-puppet is a bundler for your puppet infrastructure. You can use
|
@@ -95,7 +95,14 @@ module Librarian
|
|
95
95
|
def fetch_version(name, extra)
|
96
96
|
cache!
|
97
97
|
found_path = found_path(name)
|
98
|
-
repository.module_version
|
98
|
+
v = repository.module_version
|
99
|
+
v = v.gsub("-",".") # fix for some invalid versions like 1.0.0-rc1
|
100
|
+
|
101
|
+
# if still not valid, use some default version
|
102
|
+
unless Gem::Version.correct? v
|
103
|
+
debug { "Ignoring invalid version '#{v}' for module #{name}, using 0.0.1" }
|
104
|
+
v = '0.0.1'
|
105
|
+
end
|
99
106
|
end
|
100
107
|
|
101
108
|
def fetch_dependencies(name, version, extra)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librarian-puppet-maestrodev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.7.
|
4
|
+
version: 0.9.7.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -244,7 +244,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
244
|
version: '0'
|
245
245
|
segments:
|
246
246
|
- 0
|
247
|
-
hash:
|
247
|
+
hash: 3491608161437064369
|
248
248
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
249
|
none: false
|
250
250
|
requirements:
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
version: '0'
|
254
254
|
segments:
|
255
255
|
- 0
|
256
|
-
hash:
|
256
|
+
hash: 3491608161437064369
|
257
257
|
requirements: []
|
258
258
|
rubyforge_project:
|
259
259
|
rubygems_version: 1.8.24
|