private-gem-server 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/private-gem-server +2 -0
- data/lib/private_gem_server/sanity.rb +6 -0
- data/lib/private_gem_server/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 815c2ab5fcfbbe94df25ee5f643fe9c30eb9dfa7
|
4
|
+
data.tar.gz: ee597ff5d32aff21bc0e9f691150c7eec9f8aea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8997b85f2e9d13c70569d38181681b5dc231cce6eeeb2b6d5973e6e3fd7af4ec486c9ee8f97db4ea182edb7062506f677d2a9c5e5031c1a7e88c0b5e608e8bd8
|
7
|
+
data.tar.gz: d2ab7fab324862e756fe80dfc899c3fd71e9ba43da3f2a61df4908be8f31373da5856d1688a8fc1a0ac8fce27d0170f2a41d291f6b9f84bf1ed9015ef97caf94
|
@@ -4,6 +4,12 @@ module PrivateGemServer
|
|
4
4
|
module Sanity
|
5
5
|
def self.check!
|
6
6
|
|
7
|
+
# Make sure the git binary is installed
|
8
|
+
fail! 'Please install git' if `which git` == ''
|
9
|
+
|
10
|
+
# Make sure the gem executable is present
|
11
|
+
fail! 'Cannot run `gem`' if `which gem` == ''
|
12
|
+
|
7
13
|
# Make sure we have a valid config file
|
8
14
|
begin
|
9
15
|
config = YAML.load_file ENV['GEM_SOURCES']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: private-gem-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil E. Pearson
|
@@ -41,12 +41,14 @@ dependencies:
|
|
41
41
|
description: Serve private gems for deployment in cloud environments.
|
42
42
|
email:
|
43
43
|
- neil@helium.net.au
|
44
|
-
executables:
|
44
|
+
executables:
|
45
|
+
- private-gem-server
|
45
46
|
extensions: []
|
46
47
|
extra_rdoc_files: []
|
47
48
|
files:
|
48
49
|
- LICENSE.txt
|
49
50
|
- README.md
|
51
|
+
- bin/private-gem-server
|
50
52
|
- lib/private-gem-server.rb
|
51
53
|
- lib/private_gem_server.rb
|
52
54
|
- lib/private_gem_server/sanity.rb
|