theme-juice 0.20.1 → 0.20.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/theme-juice.rb +1 -0
- data/lib/theme-juice/cli.rb +4 -3
- data/lib/theme-juice/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: d42db6431f9ee28e231bef44f2e5ea95461a579d
|
4
|
+
data.tar.gz: 5bfdd9d8acb3a37ef25747a67498d7756e67837c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efb65e920680e7a585ab2cc77310c639c8b64511bcd46867128e7af94e0bd42595296db8b6edb81779b54b841395294d2ce5874684fc2a4db7d9ce24a179caba
|
7
|
+
data.tar.gz: 2e6acaf5181405d94e57cb8e000ac57583823153fac3f5e777f2d788007a20092381316a9b9fd34ce4c6e24eb5bc7fc0ed6e8a217e6b3c95276c7370fa7e5bd0
|
data/lib/theme-juice.rb
CHANGED
data/lib/theme-juice/cli.rb
CHANGED
@@ -78,11 +78,12 @@ module ThemeJuice
|
|
78
78
|
root = File.expand_path "../man", __FILE__
|
79
79
|
man = ["tj", command].compact.join("-")
|
80
80
|
begin
|
81
|
-
|
81
|
+
shell_escaped_man_path = "#{root}/#{man}".shellescape
|
82
|
+
if File.exist? shell_escaped_man_path
|
82
83
|
if OS.windows?
|
83
|
-
@io.say File.read "#{
|
84
|
+
@io.say File.read "#{shell_escaped_man_path}.txt", :color => :white
|
84
85
|
else
|
85
|
-
@util.run "man #{
|
86
|
+
@util.run "man #{shell_escaped_man_path}", :verbose => @env.verbose
|
86
87
|
end
|
87
88
|
else
|
88
89
|
@io.say "No man page available for '#{command}'", :color => :red
|
data/lib/theme-juice/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: theme-juice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ezekiel Gabrielse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|