spielbash 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2ed0eaabd98f95be89e69d8da0bfa557090f3b1
4
- data.tar.gz: cee9b6dd3231c2a2dac196558c0c259511259f91
3
+ metadata.gz: e073685e066e6a055330e4f911a0f95935ba691e
4
+ data.tar.gz: 35a50c1a9bdfaeb39a7ec40bd71c56d493a54bec
5
5
  SHA512:
6
- metadata.gz: 01ae477361331c97b80b691f2ad9278cdb3863b70eeb8b1c902ce8672f3a10fccd2331ac844082e6f80d16669a4a6645dbfc88741fb2e86641f7a9e582243437
7
- data.tar.gz: 79a2c47f82b5b706c3776ced33e74a3d2005b5af12640ee4136a8e05e7780981512afb33614fd6941005bd81322951c87ad622023ad77527385e329acfdccd9c
6
+ metadata.gz: ad2a735084ab271fad8a6aed3f060606ff2c52711b00fbf7c1f1e4885bbfce42b1301ea00074e3e89c45aa27f4b9c6b1d4faa30d9b5d1620da9f37dbca5e6fb1
7
+ data.tar.gz: 2c2511812896c7f33494131c6b3b1ee45e11c873dbe663d1d91bfe78867823e9abbc1794b9b583f9c47ba1d9d24eb08f3a27d94b65a1afcc0020c14840da3921
@@ -1,3 +1,3 @@
1
1
  module Spielbash
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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.2
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: 2018-04-09 00:00:00.000000000 Z
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.14
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.