tisket 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tisket/manager.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fe2a8708bdbfa948fe7865e68ea43b7c02596c0
|
4
|
+
data.tar.gz: 235f99765de344739f77b53ed847b36f784bc9f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eb3d4a65d3680edde6f8082a126f8bc335df58e353b5c28af54be6e175515f0a4a91ab5cb55f63c19a4d54f254edc33d1739a6d415fa763a3e4ed391d15875d
|
7
|
+
data.tar.gz: e202533ecb8e41430932ef91cb9dd7e9ce8cb1f7340f892d33da0d51b6a86b4eedab89f6135c711780b2034ac5685c21c9826290ccb5bfaa083b8910d06d93fd
|
data/lib/tisket/manager.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
require 'set'
|
2
|
+
require 'yaml'
|
2
3
|
|
3
4
|
class Tisket::Manager
|
4
5
|
|
5
6
|
attr_accessor *%i[ backward_deps forward_deps initial_set specs threads ]
|
6
7
|
|
7
8
|
def initialize(specs)
|
9
|
+
specs = YAML.load(specs) if specs.is_a?(String)
|
8
10
|
specs = convert_specs(specs)
|
9
11
|
|
10
12
|
self.backward_deps = {}
|