regurgitator 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +48 -0
- data/GIT-VERSION-FILE +1 -1
- data/GIT-VERSION-GEN +1 -1
- data/LATEST +6 -8
- data/NEWS +8 -0
- data/lib/regurgitator/endpoint.rb +3 -0
- data/regurgitator.gemspec +1 -2
- data/t/test-lib.sh +7 -2
- metadata +9 -14
data/ChangeLog
CHANGED
@@ -1,5 +1,53 @@
|
|
1
1
|
ChangeLog from http://bogomips.org/regurgitator.git
|
2
2
|
|
3
|
+
commit b0c176476fd590106240a569c00a8fb609a9b035
|
4
|
+
Author: Eric Wong <normalperson@yhbt.net>
|
5
|
+
Date: Wed May 29 19:07:08 2013 +0000
|
6
|
+
|
7
|
+
regurgitator 0.4.0 - minor cleanups + logging
|
8
|
+
|
9
|
+
Eric Wong (4):
|
10
|
+
test-lib: startup fixes for rackup
|
11
|
+
endpoint: log unrecoverable NoDevices errors for debugging
|
12
|
+
gemspec: remove date
|
13
|
+
gemspec: relax rpatricia dependency
|
14
|
+
|
15
|
+
commit 95bb535b900b03ce18052c057b2988ed7defd32a
|
16
|
+
Author: Eric Wong <normalperson@yhbt.net>
|
17
|
+
Date: Wed May 29 02:01:35 2013 +0000
|
18
|
+
|
19
|
+
gemspec: relax rpatricia dependency
|
20
|
+
|
21
|
+
rpatricia 1.0 is out now, and is likely to maintain backwards
|
22
|
+
compatibility.
|
23
|
+
|
24
|
+
commit 243a5680cefb50d555dc0aabc539c72772536cc1
|
25
|
+
Author: Eric Wong <normalperson@yhbt.net>
|
26
|
+
Date: Wed May 29 02:00:47 2013 +0000
|
27
|
+
|
28
|
+
gemspec: remove date
|
29
|
+
|
30
|
+
Modern versions of RubyGems automatically generate this
|
31
|
+
|
32
|
+
commit 95371b5c4cc968655a58be49249c923fff86170c
|
33
|
+
Author: Eric Wong <normalperson@yhbt.net>
|
34
|
+
Date: Wed May 29 00:42:10 2013 +0000
|
35
|
+
|
36
|
+
endpoint: log unrecoverable NoDevices errors for debugging
|
37
|
+
|
38
|
+
This can help diagnose out-of-socket or connection failures (or
|
39
|
+
just bugs in MogileFS).
|
40
|
+
|
41
|
+
commit f760f5d2fd584f46096458a13782b7642abb9262
|
42
|
+
Author: Eric Wong <normalperson@yhbt.net>
|
43
|
+
Date: Fri Mar 8 02:07:30 2013 +0000
|
44
|
+
|
45
|
+
test-lib: startup fixes for rackup
|
46
|
+
|
47
|
+
Clobber the pidfile to prevent rackup startup from failing.
|
48
|
+
While we're at it, prevent binding to ports not specified by
|
49
|
+
UNICORN_TEST_ADDR.
|
50
|
+
|
3
51
|
commit 8cc2b8ab08213bc6111e09ddd1ee606b546662b1
|
4
52
|
Author: Eric Wong <normalperson@yhbt.net>
|
5
53
|
Date: Fri Sep 28 14:00:21 2012 -0700
|
data/GIT-VERSION-FILE
CHANGED
@@ -1 +1 @@
|
|
1
|
-
GIT_VERSION = 0.
|
1
|
+
GIT_VERSION = 0.4.0
|
data/GIT-VERSION-GEN
CHANGED
data/LATEST
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
=== regurgitator 0.
|
1
|
+
=== regurgitator 0.4.0 - minor cleanups + logging / 2013-05-29 19:07 UTC
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
- rpatricia 0.09 will avoid errors with invalid prefixes
|
9
|
-
due to memory access errors.
|
3
|
+
Eric Wong (4):
|
4
|
+
test-lib: startup fixes for rackup
|
5
|
+
endpoint: log unrecoverable NoDevices errors for debugging
|
6
|
+
gemspec: remove date
|
7
|
+
gemspec: relax rpatricia dependency
|
10
8
|
|
data/NEWS
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
=== regurgitator 0.4.0 - minor cleanups + logging / 2013-05-29 19:07 UTC
|
2
|
+
|
3
|
+
Eric Wong (4):
|
4
|
+
test-lib: startup fixes for rackup
|
5
|
+
endpoint: log unrecoverable NoDevices errors for debugging
|
6
|
+
gemspec: remove date
|
7
|
+
gemspec: relax rpatricia dependency
|
8
|
+
|
1
9
|
=== regurgitator 0.3.0 - minor tweaks and fixes / 2012-09-28 21:03 UTC
|
2
10
|
|
3
11
|
* device: avoid primary port if http_get_port is defined
|
@@ -90,6 +90,9 @@ module Regurgitator::Endpoint
|
|
90
90
|
end
|
91
91
|
rescue Regurgitator::NoDevices
|
92
92
|
retry unless zone_uris.empty?
|
93
|
+
if l = env["rack.logger"]
|
94
|
+
l.error "no devices for #{env['REQUEST_METHOD']} #{env['PATH_INFO']}"
|
95
|
+
end
|
93
96
|
end until zone_uris.empty?
|
94
97
|
@app.call(env)
|
95
98
|
end
|
data/regurgitator.gemspec
CHANGED
@@ -10,7 +10,6 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.version = ENV["VERSION"].dup
|
11
11
|
|
12
12
|
s.authors = ["Regurgitators"]
|
13
|
-
s.date = Time.now.utc.strftime('%Y-%m-%d')
|
14
13
|
s.description = readme_description
|
15
14
|
s.email = %q{barfs@librelist.org}
|
16
15
|
s.extra_rdoc_files = extra_rdoc_files(manifest)
|
@@ -24,7 +23,7 @@ Gem::Specification.new do |s|
|
|
24
23
|
s.add_dependency("rack", ["~> 1.3"])
|
25
24
|
s.add_dependency("sequel", ["~> 3.29"])
|
26
25
|
s.add_dependency("http_spew", ["~> 0.4", ">= 0.4.1" ])
|
27
|
-
s.add_dependency("rpatricia"
|
26
|
+
s.add_dependency("rpatricia")
|
28
27
|
|
29
28
|
s.add_development_dependency('wrongdoc', "~> 1.6")
|
30
29
|
# s.licenses = %w(GPL2 GPL3) # accessor not compatible with older RubyGems
|
data/t/test-lib.sh
CHANGED
@@ -80,8 +80,11 @@ setup () {
|
|
80
80
|
rack_file_listen=$listen
|
81
81
|
port=$(expr $listen : '[^:]\+:\([0-9]\+\)')
|
82
82
|
rack_file_port=$port
|
83
|
+
rm -f $f_pid
|
83
84
|
|
84
|
-
( rackup -s webrick
|
85
|
+
( rackup -s webrick \
|
86
|
+
-o$NO_PROXY -p$port \
|
87
|
+
-P$f_pid file.ru 2>> $f_err >> $f_out & ) &
|
85
88
|
|
86
89
|
(
|
87
90
|
cat fixtures.sql
|
@@ -94,8 +97,10 @@ setup () {
|
|
94
97
|
(
|
95
98
|
RACK_ENV=deployment
|
96
99
|
export TEST_SEQUEL RACK_ENV
|
100
|
+
rm -f $r_pid
|
97
101
|
rackup -E none \
|
98
|
-
-s webrick -P$r_pid
|
102
|
+
-s webrick -P$r_pid \
|
103
|
+
-o$NO_PROXY -p $port "$@" 2>> $r_err >> $r_out &
|
99
104
|
) &
|
100
105
|
|
101
106
|
wait_for_start $r_err
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: !binary |-
|
3
3
|
cmVndXJnaXRhdG9y
|
4
4
|
version: !ruby/object:Gem::Version
|
5
|
-
version: 0.
|
5
|
+
version: 0.4.0
|
6
6
|
prerelease:
|
7
7
|
platform: ruby
|
8
8
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2013-05-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: !binary |-
|
@@ -92,21 +92,17 @@ dependencies:
|
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
93
93
|
none: false
|
94
94
|
requirements:
|
95
|
-
- - !
|
96
|
-
fj4=
|
95
|
+
- - ! '>='
|
97
96
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
99
|
-
MC4wOQ==
|
97
|
+
version: '0'
|
100
98
|
type: :runtime
|
101
99
|
prerelease: false
|
102
100
|
version_requirements: !ruby/object:Gem::Requirement
|
103
101
|
none: false
|
104
102
|
requirements:
|
105
|
-
- - !
|
106
|
-
fj4=
|
103
|
+
- - ! '>='
|
107
104
|
- !ruby/object:Gem::Version
|
108
|
-
version:
|
109
|
-
MC4wOQ==
|
105
|
+
version: '0'
|
110
106
|
- !ruby/object:Gem::Dependency
|
111
107
|
name: !binary |-
|
112
108
|
d3Jvbmdkb2M=
|
@@ -229,15 +225,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
225
|
requirements: []
|
230
226
|
rubyforge_project: !binary |-
|
231
227
|
cmFpbmJvd3M=
|
232
|
-
rubygems_version: 1.8.
|
228
|
+
rubygems_version: 1.8.23
|
233
229
|
signing_key:
|
234
230
|
specification_version: 3
|
235
231
|
summary: read-only Rack endpoints for MogileFS
|
236
232
|
test_files:
|
237
|
-
- !binary |-
|
238
|
-
dGVzdC90ZXN0X2xpc3Rfa2V5cy5yYg==
|
239
233
|
- !binary |-
|
240
234
|
dGVzdC90ZXN0X2xvY2FsLnJi
|
241
235
|
- !binary |-
|
242
236
|
dGVzdC90ZXN0X3NlcnZlcl9zZXR0aW5ncy5yYg==
|
243
|
-
|
237
|
+
- !binary |-
|
238
|
+
dGVzdC90ZXN0X2xpc3Rfa2V5cy5yYg==
|