deadly_serious 0.9.1 → 0.9.2

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: 46f3a2d33ba234a177f7128b43ed9df626fd2663
4
- data.tar.gz: c22d5dd6fe2bebf4cad117bbfc8f303666cb94ec
3
+ metadata.gz: 38cf022f01b17f755301e32220d1538f3c0f3b07
4
+ data.tar.gz: 472b86f60e028b0cdae27449b239461cca973d8c
5
5
  SHA512:
6
- metadata.gz: fcf931998a2c1940b053a6b8af8d9d6099c5ad7f7bd9c4da2d12ff2ca2abb67d1624b2f8e51932a6ff027ab9969893af964631e4a5a8a0929ab161e0698d67e5
7
- data.tar.gz: 45e91a80e6487c7c40e1b631003b910f469f8685d86b70a2086a48b57fdc4c9d208459d5db912e115fbf8ee8bb4632db6dc002dd5ff20c59410fc2b31f78a74a
6
+ metadata.gz: 3a0bb1841217cb26e48e36e1d70d7a2c02dcdc65f9661f23455de0bd3765fdded3d78edbefd138e8814cf88c2f7b4b05d3131b28ebc00252892d461fa25e47bc
7
+ data.tar.gz: 69696e28b22b0bb87aae100a8da76f830fd7f5aef6a20f72f9d86123b153254ce48b690d48bc2336f19fc3a661c1167fb0b9e317c2248666ff54754a20f40af7
@@ -4,7 +4,7 @@ module DeadlySerious
4
4
  # Restrict IO class that opens ONLY
5
5
  # when trying to read something.
6
6
  #
7
- # Also, used to reopend lost connections.
7
+ # Also, used to reopen lost connections.
8
8
  #
9
9
  # By "restrict", I mean it implements
10
10
  # just a few IO operations.
@@ -13,6 +13,10 @@ module DeadlySerious
13
13
  @channel = channel
14
14
  end
15
15
 
16
+ def filename
17
+ return @channel.io_name if @channel.respond_to?(:io_name)
18
+ end
19
+
16
20
  def gets
17
21
  open_reader
18
22
  @io.gets
@@ -1,3 +1,3 @@
1
1
  module DeadlySerious
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deadly_serious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronie Uliana
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-25 00:00:00.000000000 Z
11
+ date: 2014-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler