instructions_list 0.1.6.beta → 0.1.8.beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c3bdcf94af319c27a4c82deef12eceac3eccca8
4
- data.tar.gz: ab09d72347e73dce9c1016da205c2c7fb3dda972
3
+ metadata.gz: 3c05863aefeb63689a5698018afda059084423b9
4
+ data.tar.gz: f6a3f70cd5ee3eb3cd5e496b1dfccf10c536d433
5
5
  SHA512:
6
- metadata.gz: 19089832ba0bec958f1ffa1af3120e6f8c8549ac4b892f10ed829ca45cb8cdb7f17e497787e2e1b103e829cb1eb0eca0f729cd1e24fd9c6dc88250429ad43f90
7
- data.tar.gz: fce229fed58ab331e84d412298fcc59ca8a4a4f927cf55b10122f8d00864ad063aef5cce2d90fc23e596846aefcb52c0f726c0c89897d961970ec31614c03d78
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","~/il/instructions/"
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 #{Instruction}" if instruction.nil?
48
+ raise "Ooooops cant find #{instruction}" if instruction.nil?
49
49
 
50
50
  instruction.depends_on.each do |dependancy|
51
- execute dependancy
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
 
@@ -1,3 +1,3 @@
1
1
  module InstructionsList
2
- VERSION = "0.1.6.beta"
2
+ VERSION = "0.1.8.beta"
3
3
  end
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.6.beta
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-23 00:00:00.000000000 Z
11
+ date: 2017-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler