ichannel 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/ichannel.rb CHANGED
@@ -64,6 +64,8 @@ class IChannel
64
64
  _, writable, _ = IO.select [], [@writer], [], 0.1
65
65
  if writable
66
66
  writable[0].send @serializer.dump(@object), 0
67
+ else
68
+ raise IOError, 'The channel cannot be written to.'
67
69
  end
68
70
  end
69
71
  alias_method :put!, :write
@@ -1,3 +1,3 @@
1
1
  class IChannel
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ichannel
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -44,7 +44,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
44
44
  version: '0'
45
45
  segments:
46
46
  - 0
47
- hash: 3779638339953442798
47
+ hash: -216838060048785898
48
48
  required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  version: '0'
54
54
  segments:
55
55
  - 0
56
- hash: 3779638339953442798
56
+ hash: -216838060048785898
57
57
  requirements: []
58
58
  rubyforge_project:
59
59
  rubygems_version: 1.8.23