spielbash 0.1.2 → 0.1.3
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 +4 -4
- data/lib/spielbash/version.rb +1 -1
- data/lib/spielbash/view/cli.rb +7 -8
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e073685e066e6a055330e4f911a0f95935ba691e
|
|
4
|
+
data.tar.gz: 35a50c1a9bdfaeb39a7ec40bd71c56d493a54bec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad2a735084ab271fad8a6aed3f060606ff2c52711b00fbf7c1f1e4885bbfce42b1301ea00074e3e89c45aa27f4b9c6b1d4faa30d9b5d1620da9f37dbca5e6fb1
|
|
7
|
+
data.tar.gz: 2c2511812896c7f33494131c6b3b1ee45e11c873dbe663d1d91bfe78867823e9abbc1794b9b583f9c47ba1d9d24eb08f3a27d94b65a1afcc0020c14840da3921
|
data/lib/spielbash/version.rb
CHANGED
data/lib/spielbash/view/cli.rb
CHANGED
|
@@ -24,14 +24,6 @@ module Spielbash
|
|
|
24
24
|
false
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
pre do |global_options, command, options, args|
|
|
28
|
-
help_now!('pgrep is not installed!') unless which('pgrep')
|
|
29
|
-
help_now!('docker is not installed!') unless which('docker')
|
|
30
|
-
help_now!('tmux is not installed!') unless which('tmux')
|
|
31
|
-
help_now!('resize is not installed!') unless which('resize')
|
|
32
|
-
help_now!('asciinema is not installed!') unless which('asciinema')
|
|
33
|
-
end
|
|
34
|
-
|
|
35
27
|
desc 'Create a recording'
|
|
36
28
|
command :record do |c|
|
|
37
29
|
c.desc 'Script file path'
|
|
@@ -42,6 +34,13 @@ module Spielbash
|
|
|
42
34
|
c.action do |_, options, _|
|
|
43
35
|
script_path = options[:script]
|
|
44
36
|
output_path = options[:output]
|
|
37
|
+
|
|
38
|
+
help_now!('pgrep is not installed!') unless which('pgrep')
|
|
39
|
+
help_now!('docker is not installed!') unless which('docker')
|
|
40
|
+
help_now!('tmux is not installed!') unless which('tmux')
|
|
41
|
+
help_now!('resize is not installed!') unless which('resize')
|
|
42
|
+
help_now!('asciinema is not installed!') unless which('asciinema')
|
|
43
|
+
|
|
45
44
|
Spielbash::RecordInteractor.new().execute(script_path, output_path)
|
|
46
45
|
end
|
|
47
46
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spielbash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anton Malinskiy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gli
|
|
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
182
182
|
version: '0'
|
|
183
183
|
requirements: []
|
|
184
184
|
rubyforge_project:
|
|
185
|
-
rubygems_version: 2.6.
|
|
185
|
+
rubygems_version: 2.6.13
|
|
186
186
|
signing_key:
|
|
187
187
|
specification_version: 4
|
|
188
188
|
summary: Spielbash helps you to automate asciicasts with asciinema.
|