private-gem-server 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/private_gem_server/config.ru +0 -8
- data/lib/private_gem_server/source/git.rb +3 -2
- data/lib/private_gem_server/version.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca731def110ca0602d44da1eea02702ec063369a
|
4
|
+
data.tar.gz: 3579e332e4d3a737e0ba87c549e6f07655873065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0e1f0c1bc7e0bede32badc8ce96f49ccadc40191a40d137d2eea290f4143bc0aabb7b63124a1e3a2022f7ca626754a75ced0ec814d612f2ccf1a39836654e70
|
7
|
+
data.tar.gz: 9522c53f2bd1e987dc06b24a5c3fb9a1516a746a6b597d76c34d22a3e9233b953f3d0393657bf313253ecfdc3632dff4ab4d6763939a599b5385eeb2e24b05c5
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'private-gem-server'
|
2
|
-
require 'rack/traffic_logger'
|
3
2
|
require 'rubygems'
|
4
3
|
require 'geminabox'
|
5
4
|
require 'yaml'
|
@@ -18,12 +17,5 @@ puts "Reading sources from #{ENV['GEM_SOURCES']}"
|
|
18
17
|
log_path = ENV['GEM_SERVER_LOG']
|
19
18
|
PrivateGemServer.logger = Logger.new(log_path) if log_path
|
20
19
|
|
21
|
-
use Rack::TrafficLogger,
|
22
|
-
STDOUT,
|
23
|
-
colors: true,
|
24
|
-
request_bodies: false,
|
25
|
-
request_headers: false,
|
26
|
-
response_bodies: false,
|
27
|
-
response_headers: false
|
28
20
|
use PrivateGemServer::Scanner, ENV['GEM_SOURCES'], "#{ENV['GEM_STORE']}/_working"
|
29
21
|
run PrivateGemServer::Server
|
@@ -88,8 +88,9 @@ module PrivateGemServer
|
|
88
88
|
end
|
89
89
|
|
90
90
|
def build_version!(version)
|
91
|
-
|
92
|
-
|
91
|
+
target_path = Pathname "#{repo_path}/#{name}-#{version[/\d.*/]}.gem"
|
92
|
+
run! "git checkout tags/#{e version} && gem build #{e name}.gemspec", cwd: repo_path, output: logger, error: logger unless target_path.exist?
|
93
|
+
PrivateGemServer.add target_path if target_path.exist?
|
93
94
|
end
|
94
95
|
|
95
96
|
def e(arg)
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil E. Pearson
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.1'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rack-traffic-logger
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.1'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0.1'
|
55
41
|
description: Serve private gems for deployment in cloud environments.
|
56
42
|
email:
|
57
43
|
- neil@helium.net.au
|