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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7496653088d0748c6e6033c7e8e0500bf4892b74
4
- data.tar.gz: a65dd6d206a87e1025c7b02d356e0b0c74d480f0
3
+ metadata.gz: 6ed4f9c7faee746f94706d1e3c62a03a5dbd66e4
4
+ data.tar.gz: d53c7da5e1f0075e9b0ee6e2e18b3cf4b7031d08
5
5
  SHA512:
6
- metadata.gz: 31bcd0ad1d8b6275228e5555134d1994ab65d4c0740a044f25d265b8a195f8b0ba0e61f9de043d9d3a3630713142ceb5070355f4b39ac5d29555cafca7338666
7
- data.tar.gz: 172cac2596171c4fe8b20e6fd35c99deae8c4950cefe092083b3078dbda41a304a54ef503c4d15a91db9b52785222aeb88c6fc24769fa0c8baee32baa1753738
6
+ metadata.gz: 1a25b0d4ab2ff22d7500ec73d75b7bbf8bd8db6230d524c206e4b9d88497a6e11f7486d89fea8a305d305ffe4168aeb757b10fb627a62e661e70bc0231038c67
7
+ data.tar.gz: 55bff5c203e7b39fcdc7f619d5afaf5d370bfb48653c6b2259aa06226e282725ef919ca5542518bdd9b3ef03d909d1ee7f8f7fb772db0a04a438ed5a518106d4
@@ -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.0".freeze
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) { @delegator.accept @accept_handler }
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) { @signaller.accept @accept_gazella }
278
+ @signaller.bind(SIGNAL_PIPE, @accept_gazella)
279
279
  @signaller.listen INTERNAL_PIPE_BACKLOG
280
280
 
281
281
  # Launch the gazelle here
@@ -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.0
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-10 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake