deadly_serious 1.0.0 → 1.0.1

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: 6afa97715675c780c6afcbf4bb1f40749d71bd9e
4
- data.tar.gz: ff6d41946213ddb9732de8b5027eab0bb115763d
3
+ metadata.gz: 2fd3b41c8b2b866bb79079d55423d4254e204011
4
+ data.tar.gz: 78691ca6aa34dba39caea645dac9b1a8e17e5388
5
5
  SHA512:
6
- metadata.gz: 34df23034e0632dca19b64be618e7ec1a7192e4df51d140287204c19caa1d77e86e9f5dfae52ca9625b514887faaf13996fa9b55a8b75dd4886033fec2e11db0
7
- data.tar.gz: aadb674338a88bef148614b2bf829ccc2af458d62a1ab73efb830041fbcdce5496da8e34c44c7a79b266a726256b33959eee86b431fc9ae0d7ac6f407bac6b7e
6
+ metadata.gz: 4194e48d8c080d8cae916c1eece98ea295c7968006c709ab2cf1249ff7c9fd7f0e8b5022a123a7b350200efc2443edb91e7b5edb4d1fc6e98a77bf3f2c7b54b7
7
+ data.tar.gz: 500af882d4345e4afd70bbd332ffab5a2c641ba4f9f42b381abc73a7314fbea970639641bc28c40e7b1f6027332e31d5ea372ae8aba92541fd871b38209eb6b9
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.1
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 MultiJson.load(line) }
12
+ @io.each { |line| yield parse_line(line) }
13
13
  else
14
- @io.lazy.map { |line| MultiJson.load(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
@@ -1,3 +1,3 @@
1
1
  module DeadlySerious
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
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: 1.0.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: 2014-12-18 00:00:00.000000000 Z
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.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