deadly_serious 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deadly_serious.rb +4 -0
- data/lib/deadly_serious/engine/base_process.rb +1 -0
- data/lib/deadly_serious/engine/json_process.rb +1 -0
- data/lib/deadly_serious/engine/lazy_io.rb +5 -1
- data/lib/deadly_serious/engine/open_io.rb +2 -0
- data/lib/deadly_serious/engine/push_pop.rb +1 -0
- data/lib/deadly_serious/engine/push_pop_send.rb +1 -0
- data/lib/deadly_serious/engine/simple_json_process.rb +2 -0
- data/lib/deadly_serious/version.rb +1 -1
- 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: 14b30dd2b9c700069b1cb49a83eeadab6efd4761
|
4
|
+
data.tar.gz: d94127b03addf540ca1b4f9f5b85243b19ba6793
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8bfa5b556efc9a1192b169030e95ea71629dc12ab3d121d721f7d34b90f1c68edf0edd2cbd6f39ada12da1017587617dbd7dc74f67c481727d042ed17841e01
|
7
|
+
data.tar.gz: 4b0430177d779332f6a16cd9c3a33c7d3dac6ac332e3d6123be87e973417bc599b93cac1a6c88c25196a5f50ef32bd57459f737081ba65a9d695ba0383e2f4ba
|
data/lib/deadly_serious.rb
CHANGED
@@ -5,6 +5,10 @@ require 'deadly_serious/engine/base_process'
|
|
5
5
|
require 'deadly_serious/engine/push_pop'
|
6
6
|
require 'deadly_serious/engine/push_pop_send' # Compatibility with 0.2.0
|
7
7
|
|
8
|
+
Dir[File.dirname(__FILE__) + '/deadly_serious/engine/*.rb'].each do |file|
|
9
|
+
require File.dirname(file) + '/' + File.basename(file, File.extname(file))
|
10
|
+
end
|
11
|
+
|
8
12
|
# Loading all predefined processes
|
9
13
|
Dir[File.dirname(__FILE__) + '/deadly_serious/processes/*.rb'].each do |file|
|
10
14
|
require File.dirname(file) + '/' + File.basename(file, File.extname(file))
|
@@ -4,6 +4,8 @@ module DeadlySerious
|
|
4
4
|
# Restrict IO class that opens ONLY
|
5
5
|
# when trying to read something.
|
6
6
|
#
|
7
|
+
# *This is the object passed to Components.*
|
8
|
+
#
|
7
9
|
# Also, used to reopen lost connections.
|
8
10
|
#
|
9
11
|
# By "restrict", I mean it implements
|
@@ -13,8 +15,10 @@ module DeadlySerious
|
|
13
15
|
@channel = channel
|
14
16
|
end
|
15
17
|
|
18
|
+
# @return [String, nil] the name of the file or pipe,
|
19
|
+
# nil if it's a socket
|
16
20
|
def filename
|
17
|
-
|
21
|
+
@channel.io_name if @channel.respond_to?(:io_name)
|
18
22
|
end
|
19
23
|
|
20
24
|
def gets
|
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.
|
4
|
+
version: 0.12.0
|
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-07-
|
11
|
+
date: 2014-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|