moped 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of moped might be problematic. Click here for more details.

@@ -1,5 +1,9 @@
1
1
  # Overview
2
2
 
3
+ ## 1.1.2
4
+
5
+ * \#37 Use `TCP_NODELAY` for socket options. (Nicolas Viennot)
6
+
3
7
  ## 1.1.1
4
8
 
5
9
  ### Resolved Issues
@@ -191,6 +191,7 @@ module Moped
191
191
  Timeout::timeout(timeout) do
192
192
  sock = new(host, port)
193
193
  sock.set_encoding('binary')
194
+ sock.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
194
195
  sock
195
196
  end
196
197
  end
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Moped
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moped
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,40 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-06 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rspec
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '2.9'
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '2.9'
30
- - !ruby/object:Gem::Dependency
31
- name: guard-rspec
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '0.6'
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '0.6'
12
+ date: 2012-07-15 00:00:00.000000000 Z
13
+ dependencies: []
46
14
  description: A MongoDB driver for Ruby.
47
15
  email:
48
16
  - bj.schaefer@gmail.com
@@ -117,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
117
85
  version: '0'
118
86
  segments:
119
87
  - 0
120
- hash: 67884281380115062
88
+ hash: -3145449124208685355
121
89
  required_rubygems_version: !ruby/object:Gem::Requirement
122
90
  none: false
123
91
  requirements:
@@ -126,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
94
  version: '0'
127
95
  segments:
128
96
  - 0
129
- hash: 67884281380115062
97
+ hash: -3145449124208685355
130
98
  requirements: []
131
99
  rubyforge_project:
132
100
  rubygems_version: 1.8.24