geminabox 0.12.1 → 0.12.2
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.
- checksums.yaml +8 -8
- data/lib/geminabox.rb +5 -0
- data/lib/geminabox/server.rb +2 -2
- data/lib/geminabox/version.rb +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2IyYmIwNzY5M2YwNjg3NmYwMDVjYTcwODNhZDI1YWY1NDBiYTJkYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWY4ZTJjNWM2ZjA5NTIxZTZiMGY5ZGYxMTY1MzYzZjNkNzdkODIwOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGI0OTY2ZmIyMDI1YTUwZGFhZGQyNDFmNmEyZDI3MDc2OGVhY2M0MWQwMDI0
|
10
|
+
ODU1MjMzM2MxN2U4MjRmZTVkNjY5ZGQxOTQ5OWJlNTNmMjViNjk1ODM3OWVk
|
11
|
+
ZjNkNTUwYWZjOWE0NTZjZmRlZmY3M2JhM2FhNDBjNGEyNjUxMWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Njc2MzE1YTliMzFlZGJjNzk3M2JkYWI2MmUxMTliODlhZTg2YzNhZDBmNGI2
|
14
|
+
ZmU4YmVmMmQ2NDE2ZjlkMTE5Y2I3OTVlY2Q5YWU1ZDdlMmY0ZmZlMTg1MzVl
|
15
|
+
YmE0NjI0YjVjMGYzMWRjYzg3OWJlYTgzYTQ3Y2IyMjMzOGFlMTU=
|
data/lib/geminabox.rb
CHANGED
@@ -2,6 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'digest/md5'
|
3
3
|
require 'builder'
|
4
4
|
require 'sinatra/base'
|
5
|
+
require 'rubygems/user_interaction'
|
5
6
|
require 'rubygems/indexer'
|
6
7
|
require 'rubygems/package'
|
7
8
|
require 'rss/atom'
|
@@ -52,6 +53,10 @@ module Geminabox
|
|
52
53
|
def settings
|
53
54
|
Server.settings
|
54
55
|
end
|
56
|
+
|
57
|
+
def call(env)
|
58
|
+
Server.call env
|
59
|
+
end
|
55
60
|
end
|
56
61
|
|
57
62
|
set_defaults(
|
data/lib/geminabox/server.rb
CHANGED
@@ -88,11 +88,11 @@ module Geminabox
|
|
88
88
|
end
|
89
89
|
|
90
90
|
get '/api/v1/dependencies' do
|
91
|
-
Marshal.dump(gem_list)
|
91
|
+
query_gems.any? ? Marshal.dump(gem_list) : 200
|
92
92
|
end
|
93
93
|
|
94
94
|
get '/api/v1/dependencies.json' do
|
95
|
-
gem_list.to_json
|
95
|
+
query_gems.any? ? gem_list.to_json : {}
|
96
96
|
end
|
97
97
|
|
98
98
|
get '/upload' do
|
data/lib/geminabox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geminabox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Lea
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-12-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sinatra
|
@@ -108,36 +108,36 @@ extra_rdoc_files:
|
|
108
108
|
files:
|
109
109
|
- MIT-LICENSE
|
110
110
|
- README.markdown
|
111
|
+
- lib/geminabox_client.rb
|
111
112
|
- lib/rubygems_plugin.rb
|
112
|
-
- lib/geminabox/version.rb
|
113
113
|
- lib/geminabox/gem_store_error.rb
|
114
|
-
- lib/geminabox/
|
115
|
-
- lib/geminabox/
|
116
|
-
- lib/geminabox/
|
117
|
-
- lib/geminabox/indexer.rb
|
118
|
-
- lib/geminabox/gem_list_merge.rb
|
114
|
+
- lib/geminabox/server.rb
|
115
|
+
- lib/geminabox/gem_version_collection.rb
|
116
|
+
- lib/geminabox/disk_cache.rb
|
119
117
|
- lib/geminabox/rubygems_dependency.rb
|
120
|
-
- lib/geminabox/proxy.rb
|
118
|
+
- lib/geminabox/proxy/copier.rb
|
121
119
|
- lib/geminabox/proxy/file_handler.rb
|
122
120
|
- lib/geminabox/proxy/hostess.rb
|
123
|
-
- lib/geminabox/proxy/copier.rb
|
124
121
|
- lib/geminabox/proxy/splicer.rb
|
125
|
-
- lib/geminabox/
|
126
|
-
- lib/geminabox/
|
127
|
-
- lib/geminabox/disk_cache.rb
|
122
|
+
- lib/geminabox/proxy.rb
|
123
|
+
- lib/geminabox/hostess.rb
|
128
124
|
- lib/geminabox/gem_store.rb
|
129
|
-
- lib/
|
130
|
-
- lib/
|
125
|
+
- lib/geminabox/version.rb
|
126
|
+
- lib/geminabox/gem_list_merge.rb
|
127
|
+
- lib/geminabox/incoming_gem.rb
|
128
|
+
- lib/geminabox/indexer.rb
|
129
|
+
- lib/geminabox/gem_version.rb
|
131
130
|
- lib/geminabox.rb
|
132
|
-
-
|
131
|
+
- lib/rubygems/commands/inabox_command.rb
|
133
132
|
- public/master.css
|
134
133
|
- public/jquery.js
|
135
134
|
- public/favicon.ico
|
136
|
-
-
|
137
|
-
- views/gem.erb
|
135
|
+
- public/master.js
|
138
136
|
- views/upload.erb
|
139
|
-
- views/layout.erb
|
140
137
|
- views/index.erb
|
138
|
+
- views/layout.erb
|
139
|
+
- views/gem.erb
|
140
|
+
- views/atom.erb
|
141
141
|
homepage: http://tomlea.co.uk/p/gem-in-a-box
|
142
142
|
licenses:
|
143
143
|
- MIT-LICENSE
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.1.
|
163
|
+
rubygems_version: 2.1.11
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: Really simple rubygem hosting
|