spider-gazelle 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spider-gazelle/const.rb +1 -1
- data/lib/spider-gazelle/spider.rb +2 -2
- data/spec/rack_lock_spec.rb +0 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ed4f9c7faee746f94706d1e3c62a03a5dbd66e4
|
4
|
+
data.tar.gz: d53c7da5e1f0075e9b0ee6e2e18b3cf4b7031d08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a25b0d4ab2ff22d7500ec73d75b7bbf8bd8db6230d524c206e4b9d88497a6e11f7486d89fea8a305d305ffe4168aeb757b10fb627a62e661e70bc0231038c67
|
7
|
+
data.tar.gz: 55bff5c203e7b39fcdc7f619d5afaf5d370bfb48653c6b2259aa06226e282725ef919ca5542518bdd9b3ef03d909d1ee7f8f7fb772db0a04a438ed5a518106d4
|
data/lib/spider-gazelle/const.rb
CHANGED
@@ -27,7 +27,7 @@ module SpiderGazelle
|
|
27
27
|
# REMOTE_USER, or REMOTE_HOST parameters since those are either a security problem or
|
28
28
|
# too taxing on performance.
|
29
29
|
module Const
|
30
|
-
SPIDER_GAZELLE_VERSION = VERSION = "1.1.
|
30
|
+
SPIDER_GAZELLE_VERSION = VERSION = "1.1.1".freeze
|
31
31
|
# CODE_NAME = "Earl of Sandwich Partition"
|
32
32
|
SERVER = "SpiderGazelle".freeze
|
33
33
|
|
@@ -266,7 +266,7 @@ module SpiderGazelle
|
|
266
266
|
rescue
|
267
267
|
end
|
268
268
|
@delegator = @web.pipe :with_socket_support
|
269
|
-
@delegator.bind(DELEGATE_PIPE
|
269
|
+
@delegator.bind(DELEGATE_PIPE, @accept_handler)
|
270
270
|
@delegator.listen INTERNAL_PIPE_BACKLOG
|
271
271
|
|
272
272
|
# Bind the pipe for communicating with gazelle
|
@@ -275,7 +275,7 @@ module SpiderGazelle
|
|
275
275
|
rescue
|
276
276
|
end
|
277
277
|
@signaller = @web.pipe
|
278
|
-
@signaller.bind(SIGNAL_PIPE
|
278
|
+
@signaller.bind(SIGNAL_PIPE, @accept_gazella)
|
279
279
|
@signaller.listen INTERNAL_PIPE_BACKLOG
|
280
280
|
|
281
281
|
# Launch the gazelle here
|
data/spec/rack_lock_spec.rb
CHANGED
@@ -123,16 +123,4 @@ describe Rack::Lock do
|
|
123
123
|
expect { app.call(env) }.to raise_error(ArgumentError)
|
124
124
|
expect(lock.would_block).to eq(false)
|
125
125
|
end
|
126
|
-
|
127
|
-
it "set multithread flag to false" do
|
128
|
-
outer = nil
|
129
|
-
app = lock_app(lambda { |env|
|
130
|
-
outer = env
|
131
|
-
expect(env['rack.multithread']).to eq(false)
|
132
|
-
[200, {"Content-Type" => "text/plain"}, %w{ a b c }]
|
133
|
-
})[1]
|
134
|
-
resp = app.call(Rack::MockRequest.env_for("/"))[2]
|
135
|
-
resp.close
|
136
|
-
expect(outer['rack.multithread']).to eq(true)
|
137
|
-
end
|
138
126
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spider-gazelle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen von Takach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|