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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8eb42e9887adca8308761d745ca5e321a10ff98c
4
- data.tar.gz: 0107f405a92edf81010969e4f9204da0577c2d1b
3
+ metadata.gz: 815c2ab5fcfbbe94df25ee5f643fe9c30eb9dfa7
4
+ data.tar.gz: ee597ff5d32aff21bc0e9f691150c7eec9f8aea2
5
5
  SHA512:
6
- metadata.gz: 7eee56925860a2eadfdd5dde4d89deb3b30ce9ca5f8b13ffe422de6a21fbc4291dd587697915d606c48a2d5dba598f8beb688cd70e99ab71939980ea7d0328c6
7
- data.tar.gz: 15349afaf202a32b69d9ad6351298d3b95e5e53a9cf9a3641d1ab967fc07023e7d10c7d7b5c801e12caaacbdc9495d3283ddeae2dcb1963fd28d6a6ee53a4fcf
6
+ metadata.gz: 8997b85f2e9d13c70569d38181681b5dc231cce6eeeb2b6d5973e6e3fd7af4ec486c9ee8f97db4ea182edb7062506f677d2a9c5e5031c1a7e88c0b5e608e8bd8
7
+ data.tar.gz: d2ab7fab324862e756fe80dfc899c3fd71e9ba43da3f2a61df4908be8f31373da5856d1688a8fc1a0ac8fce27d0170f2a41d291f6b9f84bf1ed9015ef97caf94
@@ -0,0 +1,2 @@
1
+ #!/bin/bash
2
+ thin -R `dirname $0`/../lib/private_gem_server/config.ru "$@"
@@ -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']
@@ -1,3 +1,3 @@
1
1
  module PrivateGemServer
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
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.0
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