oflow 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/README.md +7 -1
- data/lib/oflow/actor.rb +1 -0
- data/lib/oflow/actors/timer.rb +7 -2
- data/lib/oflow/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: 04a87a3113ae8267766287e777820b585e3dbab4
|
4
|
+
data.tar.gz: 089d1332b1e3dbe1028834c02d3021e9386b99be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f454da9d58703e4bbcffb6ead676ebc374e95eb1ebe93e9b407ca0b15a135958974114450de4d63369520001e0004d68b74237510e0064eabb0ae7ff9daf831d
|
7
|
+
data.tar.gz: 52f7450b9edc06c6f275bd1a3510080220de6904a787cb0ee5b30a0220697e622571bf47b2d2b7b06c3a3657cd8a5e81bd3f648a6978b099577cf4a9045ef151
|
data/README.md
CHANGED
@@ -25,7 +25,13 @@ Follow [@peterohler on Twitter](http://twitter.com/#!/peterohler) for announceme
|
|
25
25
|
|
26
26
|
## Release Notes
|
27
27
|
|
28
|
-
### Current Release 1.0
|
28
|
+
### Current Release 1.0.1
|
29
|
+
|
30
|
+
- Fixed the set option command line feature.
|
31
|
+
|
32
|
+
- Changed the URL on the GemChart example since RubyGems starting using https.
|
33
|
+
|
34
|
+
### Release 1.0
|
29
35
|
|
30
36
|
- Add an Actors/Task that starts a application and exchanges data using stdout
|
31
37
|
and stdin.
|
data/lib/oflow/actor.rb
CHANGED
data/lib/oflow/actors/timer.rb
CHANGED
@@ -133,8 +133,12 @@ module OFlow
|
|
133
133
|
|
134
134
|
def set_start(v)
|
135
135
|
if v.is_a?(String)
|
136
|
-
|
137
|
-
|
136
|
+
begin
|
137
|
+
v = DateTime.parse(v).to_time
|
138
|
+
v = v - v.gmtoff
|
139
|
+
rescue Exception
|
140
|
+
v = Time.now() + v.to_i
|
141
|
+
end
|
138
142
|
elsif v.is_a?(Numeric)
|
139
143
|
v = Time.now() + v
|
140
144
|
elsif v.nil?
|
@@ -143,6 +147,7 @@ module OFlow
|
|
143
147
|
raise ConfigError.new("Expected start to be a Time or Numeric, not a #{v.class}.")
|
144
148
|
end
|
145
149
|
@start = v
|
150
|
+
@pending = @start
|
146
151
|
end
|
147
152
|
|
148
153
|
def set_stop(v)
|
data/lib/oflow/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oflow
|
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
|
- Peter Ohler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Operations Workflow in Ruby. This implements a workflow/process flow
|
14
14
|
using multiple task nodes that each have their own queues and execution thread.
|