geminabox 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of geminabox might be problematic. Click here for more details.
- data/README.markdown +1 -1
- data/lib/geminabox.rb +3 -1
- data/lib/rubygems/commands/inabox_command.rb +2 -0
- metadata +25 -14
data/README.markdown
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
## Really simple rubygem hosting
|
6
6
|
|
7
|
-
Gem in a box is a simple [sinatra][sinatra] app to allow you to host your own
|
7
|
+
Gem in a box is a simple [sinatra][sinatra] app to allow you to host your own in-house gems.
|
8
8
|
|
9
9
|
It has no security, or authentication so you should handle this yourself.
|
10
10
|
|
data/lib/geminabox.rb
CHANGED
@@ -16,7 +16,9 @@ class Geminabox < Sinatra::Base
|
|
16
16
|
|
17
17
|
get '/' do
|
18
18
|
begin
|
19
|
-
@gems =
|
19
|
+
@gems = %w(latest_specs prerelease_specs).inject([]){|gems, spec|
|
20
|
+
gems + Marshal.load(Gem.gunzip(Gem.read_binary( File.join(options.data, "#{spec}.#{Gem.marshal_version}.gz")) ))
|
21
|
+
}
|
20
22
|
rescue
|
21
23
|
@gems = []
|
22
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geminabox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 5
|
9
|
+
version: 0.2.5
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Tom Lea
|
@@ -9,30 +14,34 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-05-17 00:00:00 +01:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: sinatra
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
23
29
|
version: "0"
|
24
|
-
|
30
|
+
type: :runtime
|
31
|
+
version_requirements: *id001
|
25
32
|
- !ruby/object:Gem::Dependency
|
26
33
|
name: builder
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
prerelease: false
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
39
|
+
segments:
|
40
|
+
- 0
|
33
41
|
version: "0"
|
34
|
-
|
35
|
-
|
42
|
+
type: :runtime
|
43
|
+
version_requirements: *id002
|
44
|
+
description: A sinatra based gem hosting app, with client side gem push style functionality.
|
36
45
|
email: contrib@tomlea.co.uk
|
37
46
|
executables: []
|
38
47
|
|
@@ -67,18 +76,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
67
76
|
requirements:
|
68
77
|
- - ">="
|
69
78
|
- !ruby/object:Gem::Version
|
79
|
+
segments:
|
80
|
+
- 0
|
70
81
|
version: "0"
|
71
|
-
version:
|
72
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
83
|
requirements:
|
74
84
|
- - ">="
|
75
85
|
- !ruby/object:Gem::Version
|
86
|
+
segments:
|
87
|
+
- 0
|
76
88
|
version: "0"
|
77
|
-
version:
|
78
89
|
requirements: []
|
79
90
|
|
80
91
|
rubyforge_project:
|
81
|
-
rubygems_version: 1.3.
|
92
|
+
rubygems_version: 1.3.6
|
82
93
|
signing_key:
|
83
94
|
specification_version: 3
|
84
95
|
summary: Really simple rubygem hosting
|