regurgitator 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,5 +1,37 @@
1
1
  ChangeLog from http://bogomips.org/regurgitator.git
2
2
 
3
+ commit 8cc2b8ab08213bc6111e09ddd1ee606b546662b1
4
+ Author: Eric Wong <normalperson@yhbt.net>
5
+ Date: Fri Sep 28 14:00:21 2012 -0700
6
+
7
+ regurgitator 0.3.0 - minor tweaks and fixes
8
+
9
+ * device: avoid primary port if http_get_port is defined
10
+ No need to create extra traffic on a node.
11
+
12
+ * depend on latest http_spew and rpatricia
13
+ - http_spew 0.4.1 won't send "_" in headers.
14
+ - rpatricia 0.09 will avoid errors with invalid prefixes
15
+ due to memory access errors.
16
+
17
+ commit 3323bb3ec4d3ac3d39d1500715422465f306771e
18
+ Author: Eric Wong <normalperson@yhbt.net>
19
+ Date: Wed Sep 26 19:26:43 2012 -0700
20
+
21
+ device: avoid primary port if http_get_port is defined
22
+
23
+ No need to create extra traffic on a node.
24
+
25
+ commit 18f39280f939e3bd4a002fa4b7fad7107f9289d0
26
+ Author: Eric Wong <normalperson@yhbt.net>
27
+ Date: Wed Sep 26 12:44:22 2012 -0700
28
+
29
+ gemspec: depend on latest http_spew and rpatricia
30
+
31
+ http_spew 0.4.1 won't send "_" in headers.
32
+ rpatricia 0.09 will avoid errors with invalid prefixes
33
+ due to memory access errors.
34
+
3
35
  commit 4874e7d38453a0b4b3f47d8dc8095a314083bd11
4
36
  Author: Eric Wong <normalperson@yhbt.net>
5
37
  Date: Thu Dec 15 18:11:02 2011 -0800
data/GIT-VERSION-FILE CHANGED
@@ -1 +1 @@
1
- GIT_VERSION = 0.2.0
1
+ GIT_VERSION = 0.3.0
data/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v0.2.0.GIT
4
+ DEF_VER=v0.3.0.GIT
5
5
 
6
6
  LF='
7
7
  '
data/LATEST CHANGED
@@ -1,6 +1,10 @@
1
- === regurgitator 0.2.0 / 2011-12-16 02:27 UTC
1
+ === regurgitator 0.3.0 - minor tweaks and fixes / 2012-09-28 21:03 UTC
2
2
 
3
- * add list_keys module for listing keys
4
- * add :reproxy_key, overriding global REPROXY_KEY constant
5
- * remove support for altip/altmask (hardly ever used)
3
+ * device: avoid primary port if http_get_port is defined
4
+ No need to create extra traffic on a node.
5
+
6
+ * depend on latest http_spew and rpatricia
7
+ - http_spew 0.4.1 won't send "_" in headers.
8
+ - rpatricia 0.09 will avoid errors with invalid prefixes
9
+ due to memory access errors.
6
10
 
data/NEWS CHANGED
@@ -1,3 +1,13 @@
1
+ === regurgitator 0.3.0 - minor tweaks and fixes / 2012-09-28 21:03 UTC
2
+
3
+ * device: avoid primary port if http_get_port is defined
4
+ No need to create extra traffic on a node.
5
+
6
+ * depend on latest http_spew and rpatricia
7
+ - http_spew 0.4.1 won't send "_" in headers.
8
+ - rpatricia 0.09 will avoid errors with invalid prefixes
9
+ due to memory access errors.
10
+
1
11
  === regurgitator 0.2.0 / 2011-12-16 02:27 UTC
2
12
 
3
13
  * add list_keys module for listing keys
@@ -25,13 +25,9 @@ module Regurgitator::Device
25
25
  obj.device_init
26
26
  end
27
27
 
28
- def device_uri_pair!(opts, get_port)
29
- rv = [ URI::HTTP.build(opts) ]
30
- if get_port
31
- opts[:port] = get_port
32
- rv << URI::HTTP.build(opts)
33
- end
34
- rv
28
+ def device_uris!(opts, get_port)
29
+ opts[:port] = get_port if get_port
30
+ [ URI::HTTP.build(opts) ]
35
31
  end
36
32
 
37
33
  # Returns a hash of device info with the Integer +devid+
@@ -54,7 +50,7 @@ module Regurgitator::Device
54
50
  x[:zone] = zone_for(hostip)
55
51
  devid = x[:devid]
56
52
  o = { :path => "/dev#{devid}", :port => port, :host => hostip }
57
- x[:uris] = { :pri => device_uri_pair!(o, get_port) }
53
+ x[:uris] = { :pri => device_uris!(o, get_port) }
58
54
  tmp[devid] = x
59
55
  end
60
56
  Regurgitator::Local.refresh_addrs!
data/regurgitator.gemspec CHANGED
@@ -23,8 +23,8 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.add_dependency("rack", ["~> 1.3"])
25
25
  s.add_dependency("sequel", ["~> 3.29"])
26
- s.add_dependency("http_spew", ["~> 0.4"])
27
- s.add_dependency("rpatricia", ["~> 0.08"])
26
+ s.add_dependency("http_spew", ["~> 0.4", ">= 0.4.1" ])
27
+ s.add_dependency("rpatricia", ["~> 0.09"])
28
28
 
29
29
  s.add_development_dependency('wrongdoc', "~> 1.6")
30
30
  # s.licenses = %w(GPL2 GPL3) # accessor not compatible with older RubyGems
metadata CHANGED
@@ -1,107 +1,143 @@
1
- --- !ruby/object:Gem::Specification
2
- name: regurgitator
3
- version: !ruby/object:Gem::Version
4
- hash: 23
1
+ --- !ruby/object:Gem::Specification
2
+ name: !binary |-
3
+ cmVndXJnaXRhdG9y
4
+ version: !ruby/object:Gem::Version
5
+ version: 0.3.0
5
6
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 0
10
- version: 0.2.0
11
7
  platform: ruby
12
- authors:
13
- - Regurgitators
8
+ authors:
9
+ - !binary |-
10
+ UmVndXJnaXRhdG9ycw==
14
11
  autorequire:
15
12
  bindir: bin
16
13
  cert_chain: []
17
-
18
- date: 2011-12-16 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: rack
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
14
+ date: 2012-09-28 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: !binary |-
18
+ cmFjaw==
19
+ requirement: !ruby/object:Gem::Requirement
24
20
  none: false
25
- requirements:
26
- - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 9
29
- segments:
30
- - 1
31
- - 3
32
- version: "1.3"
21
+ requirements:
22
+ - - !binary |-
23
+ fj4=
24
+ - !ruby/object:Gem::Version
25
+ version: !binary |-
26
+ MS4z
33
27
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: sequel
37
28
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - !binary |-
33
+ fj4=
34
+ - !ruby/object:Gem::Version
35
+ version: !binary |-
36
+ MS4z
37
+ - !ruby/object:Gem::Dependency
38
+ name: !binary |-
39
+ c2VxdWVs
40
+ requirement: !ruby/object:Gem::Requirement
39
41
  none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 61
44
- segments:
45
- - 3
46
- - 29
47
- version: "3.29"
42
+ requirements:
43
+ - - !binary |-
44
+ fj4=
45
+ - !ruby/object:Gem::Version
46
+ version: !binary |-
47
+ My4yOQ==
48
48
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: http_spew
52
49
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
50
+ version_requirements: !ruby/object:Gem::Requirement
54
51
  none: false
55
- requirements:
56
- - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 3
59
- segments:
60
- - 0
61
- - 4
62
- version: "0.4"
52
+ requirements:
53
+ - - !binary |-
54
+ fj4=
55
+ - !ruby/object:Gem::Version
56
+ version: !binary |-
57
+ My4yOQ==
58
+ - !ruby/object:Gem::Dependency
59
+ name: !binary |-
60
+ aHR0cF9zcGV3
61
+ requirement: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - !binary |-
65
+ fj4=
66
+ - !ruby/object:Gem::Version
67
+ version: !binary |-
68
+ MC40
69
+ - - !binary |-
70
+ Pj0=
71
+ - !ruby/object:Gem::Version
72
+ version: !binary |-
73
+ MC40LjE=
63
74
  type: :runtime
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: rpatricia
67
75
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - !binary |-
80
+ fj4=
81
+ - !ruby/object:Gem::Version
82
+ version: !binary |-
83
+ MC40
84
+ - - !binary |-
85
+ Pj0=
86
+ - !ruby/object:Gem::Version
87
+ version: !binary |-
88
+ MC40LjE=
89
+ - !ruby/object:Gem::Dependency
90
+ name: !binary |-
91
+ cnBhdHJpY2lh
92
+ requirement: !ruby/object:Gem::Requirement
69
93
  none: false
70
- requirements:
71
- - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 27
74
- segments:
75
- - 0
76
- - 8
77
- version: "0.08"
94
+ requirements:
95
+ - - !binary |-
96
+ fj4=
97
+ - !ruby/object:Gem::Version
98
+ version: !binary |-
99
+ MC4wOQ==
78
100
  type: :runtime
79
- version_requirements: *id004
80
- - !ruby/object:Gem::Dependency
81
- name: wrongdoc
82
101
  prerelease: false
83
- requirement: &id005 !ruby/object:Gem::Requirement
102
+ version_requirements: !ruby/object:Gem::Requirement
84
103
  none: false
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- hash: 3
89
- segments:
90
- - 1
91
- - 6
92
- version: "1.6"
104
+ requirements:
105
+ - - !binary |-
106
+ fj4=
107
+ - !ruby/object:Gem::Version
108
+ version: !binary |-
109
+ MC4wOQ==
110
+ - !ruby/object:Gem::Dependency
111
+ name: !binary |-
112
+ d3Jvbmdkb2M=
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - !binary |-
117
+ fj4=
118
+ - !ruby/object:Gem::Version
119
+ version: !binary |-
120
+ MS42
93
121
  type: :development
94
- version_requirements: *id005
95
- description: |-
96
- \Regurgitator is an GPL-licensed library and Rack middleware for
122
+ prerelease: false
123
+ version_requirements: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - !binary |-
127
+ fj4=
128
+ - !ruby/object:Gem::Version
129
+ version: !binary |-
130
+ MS42
131
+ description: ! '\Regurgitator is an GPL-licensed library and Rack middleware for
132
+
97
133
  serving files stored in MogileFS. It can be embedded inside
98
- any existing Rack application or be used as a standalone Rack app.
99
- email: barfs@librelist.org
100
- executables: []
101
134
 
135
+ any existing Rack application or be used as a standalone Rack app.'
136
+ email: !binary |-
137
+ YmFyZnNAbGlicmVsaXN0Lm9yZw==
138
+ executables: []
102
139
  extensions: []
103
-
104
- extra_rdoc_files:
140
+ extra_rdoc_files:
105
141
  - ChangeLog
106
142
  - lib/regurgitator.rb
107
143
  - lib/regurgitator/device.rb
@@ -119,7 +155,7 @@ extra_rdoc_files:
119
155
  - NEWS
120
156
  - README
121
157
  - LICENSE
122
- files:
158
+ files:
123
159
  - .document
124
160
  - .gitignore
125
161
  - .manifest
@@ -170,41 +206,38 @@ files:
170
206
  - test/test_server_settings.rb
171
207
  homepage: http://bogomips.org/regurgitator/
172
208
  licenses: []
173
-
174
209
  post_install_message:
175
- rdoc_options:
210
+ rdoc_options:
176
211
  - -t
177
212
  - \Regurgitator - read-only Rack endpoints for MogileFS
178
213
  - -W
179
214
  - http://bogomips.org/regurgitator.git/tree/%s
180
- require_paths:
215
+ require_paths:
181
216
  - lib
182
- required_ruby_version: !ruby/object:Gem::Requirement
217
+ required_ruby_version: !ruby/object:Gem::Requirement
183
218
  none: false
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- hash: 3
188
- segments:
189
- - 0
190
- version: "0"
191
- required_rubygems_version: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ! '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ required_rubygems_version: !ruby/object:Gem::Requirement
192
224
  none: false
193
- requirements:
194
- - - ">="
195
- - !ruby/object:Gem::Version
196
- hash: 3
197
- segments:
198
- - 0
199
- version: "0"
225
+ requirements:
226
+ - - ! '>='
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
200
229
  requirements: []
201
-
202
- rubyforge_project: rainbows
203
- rubygems_version: 1.8.11
230
+ rubyforge_project: !binary |-
231
+ cmFpbmJvd3M=
232
+ rubygems_version: 1.8.21
204
233
  signing_key:
205
234
  specification_version: 3
206
235
  summary: read-only Rack endpoints for MogileFS
207
- test_files:
208
- - test/test_local.rb
209
- - test/test_server_settings.rb
210
- - test/test_list_keys.rb
236
+ test_files:
237
+ - !binary |-
238
+ dGVzdC90ZXN0X2xpc3Rfa2V5cy5yYg==
239
+ - !binary |-
240
+ dGVzdC90ZXN0X2xvY2FsLnJi
241
+ - !binary |-
242
+ dGVzdC90ZXN0X3NlcnZlcl9zZXR0aW5ncy5yYg==
243
+ has_rdoc: