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 CHANGED
@@ -2,9 +2,3 @@ Files: *
2
2
  Copyright: 2012, Olivier Sallou <olivier.sallou@irisa.fr>
3
3
  License: CeCILL-C v2
4
4
 
5
- Files: minion/*
6
- https://github.com/jgwmaxwell/minion
7
- Copyright: 2010, Orion Henry
8
- 2010, Adam Wiggins, Kyle Drake
9
- 2012, John Maxwell
10
- License: MIT
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
+
@@ -3,9 +3,6 @@ require 'yaml'
3
3
  require 'optparse'
4
4
  require 'amqp'
5
5
  require 'json'
6
- require 'mb-minion'
7
-
8
- include Minion
9
6
 
10
7
  $:.push File.expand_path("../lib")
11
8
 
@@ -34,7 +34,7 @@ class Job
34
34
  end
35
35
 
36
36
  @@log = Logger.new(STDOUT)
37
- @@log.level = Logger::DEBUG
37
+ @@log.level = Logger::INFO
38
38
 
39
39
  property :id, Serial
40
40
  property :wid, Integer # id of the worflow
@@ -19,13 +19,13 @@ class WorkFlow
19
19
  include DataMapper::Resource
20
20
 
21
21
  @@log = Logger.new(STDOUT)
22
- @@log.level = Logger::DEBUG
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
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manband
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Olivier Sallou