librarian-puppet 0.9.12 → 0.9.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/librarian/puppet.rb +1 -12
- data/lib/librarian/puppet/source/git.rb +10 -1
- data/lib/librarian/puppet/version.rb +1 -1
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjAxMzZlZmJiNDdiMDAyMGNhNjMwOGNmOWZjNDYzN2ExYWJkZDE3Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTlkNjMwYTkwMjQ5ZjE1ZGE4MTU5OWYxMmJjNDIyMTY1NzhkYjU3Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDE4N2ZkMWQ4YjhkZGQwNWFjYTI4ZjUyMjNkMDcyMDZjMjQ1OTEyZGE3N2Uw
|
10
|
+
ZTFlMGRmYTg4Y2RlNWE4NmUwOGZkZjVmOWU3MTYzMGIzMjgzNDcyMzk1NzE0
|
11
|
+
MmIxM2RjZjUzNGMxYWRlZjAwZjUzOGU4NDQyOWQ2NDgxMDEzZDg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWU5OWM0MmNmYTc3ZjhhODk4NTgxMjQ3NzFkN2E2ZDY4MTNkZGUxYjljOTRj
|
14
|
+
NDNjMTg0MDIxMDg3ZjI4MDY2MjM3MTFjNTg3ZmZjNDljZWUzZDMxYzE2MDIx
|
15
|
+
YmJlNDUyMDM2YWQ1M2MzYzcwOWIwODE3NTgwMDNkOTRmZjI4NWI=
|
data/lib/librarian/puppet.rb
CHANGED
@@ -1,18 +1,7 @@
|
|
1
1
|
require 'librarian'
|
2
2
|
require 'fileutils'
|
3
3
|
require 'open3'
|
4
|
-
|
5
|
-
# require open3_backport in ruby 1.8 and install if not present
|
6
|
-
# https://github.com/rodjek/librarian-puppet/issues/167
|
7
|
-
if RUBY_VERSION < '1.9'
|
8
|
-
begin
|
9
|
-
require 'open3_backport'
|
10
|
-
rescue LoadError
|
11
|
-
require 'rubygems/dependency_installer.rb'
|
12
|
-
Gem::DependencyInstaller.new.install 'open3_backport'
|
13
|
-
require 'open3_backport'
|
14
|
-
end
|
15
|
-
end
|
4
|
+
require 'open3_backport' if RUBY_VERSION < '1.9'
|
16
5
|
|
17
6
|
status = nil
|
18
7
|
out = nil
|
@@ -1,6 +1,15 @@
|
|
1
1
|
require 'librarian/source/git'
|
2
2
|
require 'librarian/puppet/source/local'
|
3
|
-
|
3
|
+
begin
|
4
|
+
require 'puppet'
|
5
|
+
rescue LoadError
|
6
|
+
$stderr.puts <<-EOF
|
7
|
+
Unable to load puppet, the puppet gem is required for :git source.
|
8
|
+
Install it with: gem install puppet
|
9
|
+
EOF
|
10
|
+
exit 1
|
11
|
+
end
|
12
|
+
|
4
13
|
|
5
14
|
module Librarian
|
6
15
|
module Source
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librarian-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Sharpe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: librarian
|
@@ -16,14 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.
|
26
|
+
version: 0.1.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: open3_backport
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rake
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|