instructions_list 1.0.5.1.beta → 1.0.6.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 +5 -3
- data/instructions_list.gemspec +2 -0
- data/lib/instructions_list/version.rb +1 -1
- data/lib/instructions_list.rb +3 -1
- metadata +16 -3
- data/.instructions/key +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a55844573f360de2b3cd37b8c0a5c31a97c67a66
|
4
|
+
data.tar.gz: 441bc682eb4b42bde28865fe47174864fa135b19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f38a513e2bc0cb04033680ceae91e811a9014c76663a38f354b3207a8e26eb58c0f77a35dd3445bde2f4c67c486498178cc009e6c170671ca42de3d753b23b46
|
7
|
+
data.tar.gz: dbda2a8fb9ed60853235115c40f1cc72c8eb3f5e0b7e7e8427516a68871b7e90bd8319505292edf7ad2f5d9845d2959db4b7d157a8a5f0c4112a5ea0baff2ddf
|
data/exe/il
CHANGED
@@ -101,7 +101,8 @@ module InstructionsList
|
|
101
101
|
instructable do
|
102
102
|
load_from "Instructions", HOME_CACHE << "/" if home?
|
103
103
|
load_from "Projects", PROJECT_CACHE << "/" if project?
|
104
|
-
handle_instruction name,STACK,options[:force]
|
104
|
+
handle_instruction name,STACK,options[:force],p
|
105
|
+
|
105
106
|
end
|
106
107
|
rescue => e
|
107
108
|
puts ""
|
@@ -195,7 +196,7 @@ module InstructionsList
|
|
195
196
|
end
|
196
197
|
end
|
197
198
|
|
198
|
-
def handle_instruction name,stack,force
|
199
|
+
def handle_instruction name,stack,force,progressbar
|
199
200
|
instruction = InstructionsList::INSTRUCTIONS.find { |i|
|
200
201
|
command_name(i.name.gsub(" ","_")) == command_name(name)
|
201
202
|
}
|
@@ -203,10 +204,11 @@ module InstructionsList
|
|
203
204
|
instruction.depends_on.each do |dependancy|
|
204
205
|
unless stack.include? command_name(dependancy.gsub(" ","_"))
|
205
206
|
stack << command_name(dependancy.gsub(" ","_"))
|
206
|
-
handle_instruction(command_name(dependancy.gsub(" ","_")),stack,force)
|
207
|
+
handle_instruction(command_name(dependancy.gsub(" ","_")),stack,force,progressbar)
|
207
208
|
end
|
208
209
|
end
|
209
210
|
execute instruction,force: force
|
211
|
+
|
210
212
|
end
|
211
213
|
|
212
214
|
def execute instruction,force: false
|
data/instructions_list.gemspec
CHANGED
data/lib/instructions_list.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require "open-uri"
|
2
2
|
require "json"
|
3
|
+
require 'tty'
|
3
4
|
require_relative "instructions_list/version"
|
4
5
|
|
5
6
|
|
@@ -15,6 +16,7 @@ module InstructionsList
|
|
15
16
|
KEY_PATH="./#{INSTRUCTIONS_DIR}/key"
|
16
17
|
STATE="./.instructions/state"
|
17
18
|
HOST= ENV.fetch('INSTRUCTIONS_LIST_HOST',"instructionslist.com")
|
19
|
+
|
18
20
|
class It
|
19
21
|
def self.exists? path
|
20
22
|
File.exists? path
|
@@ -92,7 +94,7 @@ module InstructionsList
|
|
92
94
|
def check name
|
93
95
|
|
94
96
|
unless CHECKED.include? command_name(name)
|
95
|
-
|
97
|
+
`echo #{command_name(name)} ✔︎`
|
96
98
|
return
|
97
99
|
end
|
98
100
|
|
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: 1.0.
|
4
|
+
version: 1.0.6.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-11-
|
11
|
+
date: 2017-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: tty
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
description: "\n Instruction List , an automated configuration management tool base
|
112
126
|
around\n the principle of test driven automation\n "
|
113
127
|
email:
|
@@ -119,7 +133,6 @@ extra_rdoc_files: []
|
|
119
133
|
files:
|
120
134
|
- ".byebug_history"
|
121
135
|
- ".gitignore"
|
122
|
-
- ".instructions/key"
|
123
136
|
- ".ruby-version"
|
124
137
|
- CODE_OF_CONDUCT.md
|
125
138
|
- Gemfile
|
data/.instructions/key
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ILSIKXHMNCF
|