instructions_list 0.1.6.beta → 0.1.8.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/il +7 -3
- data/lib/instructions_list/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: 3c05863aefeb63689a5698018afda059084423b9
|
4
|
+
data.tar.gz: f6a3f70cd5ee3eb3cd5e496b1dfccf10c536d433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2c40ef3c4e89727e9ca4edcc20246a05ed20df80c506d4d0c0cb39170de05f27b906e0b8747f717ce0c28436e24e7d878d04070d7371607c3de567bcd350b0a
|
7
|
+
data.tar.gz: b7dc016cc4fc4a079d2af9a5cea286638415218ca59c50ea367e7379b362db1f40e4d1ecae7b9c473c0763088b9d9c9d8ed66b230ff431d0ea8a21ca4f890c11
|
data/exe/il
CHANGED
@@ -41,15 +41,19 @@ module InstructionsList
|
|
41
41
|
def do instruction=:all
|
42
42
|
|
43
43
|
load_from "Defaults","#{File.join(File.dirname(__FILE__), "../instructions/")}"
|
44
|
-
load_from "User","~/
|
44
|
+
load_from "User","~/instructions/"
|
45
45
|
load_from "Project","./instructions/"
|
46
46
|
|
47
47
|
instruction = InstructionsList::INSTRUCTIONS.find{ |i| i.name == instruction }
|
48
|
-
raise "Ooooops cant find #{
|
48
|
+
raise "Ooooops cant find #{instruction}" if instruction.nil?
|
49
49
|
|
50
50
|
instruction.depends_on.each do |dependancy|
|
51
|
-
|
51
|
+
dep = InstructionsList::INSTRUCTIONS.find{ |i| i.name == dependancy}
|
52
|
+
raise "Ooooops cant find #{dependancy}" if dep.nil?
|
53
|
+
execute dep
|
52
54
|
end
|
55
|
+
|
56
|
+
|
53
57
|
execute instruction
|
54
58
|
end
|
55
59
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instructions_list
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Coco Coder (aka Delaney Burke)
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|