rspec-abq 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: c8480f9deacbbe6a9a52019f2a2493e66c9f952a5fce0af85ef1fe942118eb2e
4
- data.tar.gz: c3f02272646ac9624c07221cd98e2264d9057caa4138309ada3df3f4913bd75a
3
+ metadata.gz: 1b166fd4c2ba3722370ca2dad745e0d5e5267de565934dfe5091012b86a41a9b
4
+ data.tar.gz: 4d493113ceefa919ad5429fbf290373def78fa3eeea9bcc20e13d7c49f17f96c
5
5
  SHA512:
6
- metadata.gz: c682346cef98977257270d64cdf94705d5d5519665d2b0e8c37769597b58a01c918748dd50975a59200f54df42d82f575a680be1961afec5b2d9ee0f67677d00
7
- data.tar.gz: 48f99ff65d5451e08d21e202f10a91dc3efc9cf93c40a0bf52839fd8802e7100f72d30f16feabd82c3d0341b64373b8215089966959698e8d17a7d1dea22d1d7
6
+ metadata.gz: a50ab4b5fdd2e94bcaac06f3947d4ae3116f0182a54e107db90b99c3abb51a24545d063af4ab9b1397c20d3a9df66da14dbb65bed695cd252227180efd866827
7
+ data.tar.gz: 4d1ad622e266f237285fc18e26b0ad7dc96de1902cb85051555643c26abb6fc8461551a5f834b49f21d3fcf7c7433a2d82ee539a4bf67ef99ab7e9f8b77ac8a4
@@ -1,6 +1,6 @@
1
1
  module RSpec
2
2
  module Abq
3
3
  # current version!
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
6
6
  end
data/lib/rspec/abq.rb CHANGED
@@ -124,6 +124,9 @@ module RSpec
124
124
  # @!visibility private
125
125
  def self.socket
126
126
  @socket ||= TCPSocket.new(*ENV[ABQ_SOCKET].split(":")).tap do |socket|
127
+ # Messages sent to/received from the ABQ worker should be done so ASAP.
128
+ # Since we're on a local network, we don't care about packet reduction here.
129
+ socket.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
127
130
  protocol_write(PROTOCOL_VERSION_MESSAGE, socket)
128
131
  end
129
132
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-abq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ayaz Hafiz