resque_jobs_tree 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -78,12 +78,6 @@ class ResqueJobsTree::Definitions::Node < ResqueJobsTree::Definitions
78
78
  "node name `#{name}` is already taken in tree `#{tree.name}`"
79
79
  end
80
80
 
81
- # Only one job can be trigger tree
82
- if node_childs.select { |entry| entry.options.has_key?(:triggerable) }.size > 1
83
- raise ResqueJobsTree::NodeDefinitionInvalid,
84
- "Only one job must be declared to be triggerable into an definition, tree `#{tree.name}`"
85
- end
86
-
87
81
  # Recursive call for validate all of tree
88
82
  node_childs.each &:validate!
89
83
  end
@@ -1,3 +1,3 @@
1
1
  module ResqueJobsTree
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque_jobs_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-30 00:00:00.000000000 Z
12
+ date: 2013-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler