ione 1.2.0.pre2 → 1.2.0.pre3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ione/io/base_connection.rb +3 -0
- data/lib/ione/version.rb +1 -1
- data/spec/ione/io/connection_common.rb +3 -2
- 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: 0cfb6a38285dd1cd80c9120ba6df4416a04607d4
|
4
|
+
data.tar.gz: 456d6419e88e0845dbd4b648c48acbb83ed3ad52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7620752ee5ab3f1252acec253cd39747c4d15b5c5f1f635ce1ea271369ab76bfae2cef24769c7957d868528a8d86a0a976948c2c5e2b27e905f931cd9c4fe141
|
7
|
+
data.tar.gz: f45766a8c27a944d68121a062c142da08539b38277b51c280c849324817794aea002d37980e049169704479045847bc60d63741dc4ecbe5c5c2732ab36e2db24
|
data/lib/ione/version.rb
CHANGED
@@ -245,11 +245,12 @@ shared_examples_for 'a connection' do |options|
|
|
245
245
|
handler.read
|
246
246
|
end
|
247
247
|
|
248
|
-
it 'passes
|
248
|
+
it 'passes an IoError to the close handler' do
|
249
249
|
error = nil
|
250
250
|
handler.on_closed { |e| error = e }
|
251
251
|
handler.read
|
252
|
-
error.should be_a(
|
252
|
+
error.should be_a(Ione::Io::ConnectionClosedError)
|
253
|
+
error.message.should match(/Bork\!/)
|
253
254
|
end
|
254
255
|
end
|
255
256
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ione
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0.
|
4
|
+
version: 1.2.0.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Theo Hultberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Reactive programming framework for Ruby, painless evented IO, futures
|
14
14
|
and an efficient byte buffer
|