manband 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +0 -6
- data/README +2 -1
- data/bin/manband.rb +0 -3
- data/lib/manband/job.rb +1 -1
- data/lib/manband/workflow.rb +2 -2
- metadata +3 -3
data/LICENSE
CHANGED
data/README
CHANGED
@@ -8,7 +8,6 @@ gem install data_mapper
|
|
8
8
|
gem install dm-myql-adapter
|
9
9
|
gem install dm-migrations
|
10
10
|
gem install zip
|
11
|
-
gem install mb-minion
|
12
11
|
gem install mb-aws-s3
|
13
12
|
|
14
13
|
For debug, one can use dm-sqlite-adapter. SQLite does not fit for production and concurrency issues may occur. To avoid this, only 1 workflow handler and 1 job handler should be used.
|
@@ -109,4 +108,6 @@ Webband may use this gem, or use current files with same hierarchy
|
|
109
108
|
|
110
109
|
## History
|
111
110
|
|
111
|
+
0.6.1: Increase file path max size
|
112
112
|
0.6.0: Remove mb-minion dependency. New bunny gem is incompatible now, code has been rewriten to remove the dependency and use only amqp.
|
113
|
+
|
data/bin/manband.rb
CHANGED
data/lib/manband/job.rb
CHANGED
data/lib/manband/workflow.rb
CHANGED
@@ -19,13 +19,13 @@ class WorkFlow
|
|
19
19
|
include DataMapper::Resource
|
20
20
|
|
21
21
|
@@log = Logger.new(STDOUT)
|
22
|
-
@@log.level = Logger::
|
22
|
+
@@log.level = Logger::INFO
|
23
23
|
|
24
24
|
property :id, Serial # An auto-increment integer key
|
25
25
|
property :uid, Text # user id
|
26
26
|
property :name, String # A varchar type string, for short strings
|
27
27
|
property :description, Text # A text block, for longer string data.
|
28
|
-
property :file, String # path to the worflow file definition
|
28
|
+
property :file, String, :length => 200 # path to the worflow file definition
|
29
29
|
property :created_at, DateTime # A DateTime, for any date you might like.
|
30
30
|
property :terminated_at, DateTime # Termination date
|
31
31
|
property :terminals, Integer
|
metadata
CHANGED