deadly_serious 1.0.0 → 1.0.1
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/.ruby-version +1 -1
- data/lib/deadly_serious/engine/json_io.rb +6 -2
- data/lib/deadly_serious/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2fd3b41c8b2b866bb79079d55423d4254e204011
|
|
4
|
+
data.tar.gz: 78691ca6aa34dba39caea645dac9b1a8e17e5388
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4194e48d8c080d8cae916c1eece98ea295c7968006c709ab2cf1249ff7c9fd7f0e8b5022a123a7b350200efc2443edb91e7b5edb4d1fc6e98a77bf3f2c7b54b7
|
|
7
|
+
data.tar.gz: 500af882d4345e4afd70bbd332ffab5a2c641ba4f9f42b381abc73a7314fbea970639641bc28c40e7b1f6027332e31d5ea372ae8aba92541fd871b38209eb6b9
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-2.
|
|
1
|
+
ruby-2.2
|
|
@@ -9,12 +9,16 @@ module DeadlySerious
|
|
|
9
9
|
|
|
10
10
|
def each
|
|
11
11
|
if block_given?
|
|
12
|
-
@io.each { |line| yield
|
|
12
|
+
@io.each { |line| yield parse_line(line) }
|
|
13
13
|
else
|
|
14
|
-
@io.lazy.map { |line|
|
|
14
|
+
@io.lazy.map { |line| parse_line(line) }
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
+
def parse_line(line)
|
|
19
|
+
MultiJson.load(line)
|
|
20
|
+
end
|
|
21
|
+
|
|
18
22
|
def <<(value)
|
|
19
23
|
case value
|
|
20
24
|
when Hash
|
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: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ronie Uliana
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
147
147
|
version: '0'
|
|
148
148
|
requirements: []
|
|
149
149
|
rubyforge_project:
|
|
150
|
-
rubygems_version: 2.4.
|
|
150
|
+
rubygems_version: 2.4.6
|
|
151
151
|
signing_key:
|
|
152
152
|
specification_version: 4
|
|
153
153
|
summary: Flow Based Programming maestro that relies on named pipes and Linux processes
|