ft_42 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ft_42.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f315adc25a15889d74a721041d37d456a9b8734b
|
4
|
+
data.tar.gz: 540d3bf8022eb08edb1076c2f256f491a0cfa7a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f055ddd3cd414116bb34099d7cca33b2663c3c620aa8f9fe5903dff3ace306e1263db57acd555f1bf95d4e7b7854341bb0f7df7d34d3c7ecbe14b7ffd3657aa
|
7
|
+
data.tar.gz: 7b9922b6143848deb45a168946a9ddb434dfdf20c19a23bb00f76c4cffb9886bf91d7df648045004ef0c1b0df2dd01cf650d9cdacfa6fc6e7115d0e82061dd9b
|
data/lib/ft_42.rb
CHANGED
@@ -39,7 +39,9 @@ class FT_42
|
|
39
39
|
user_print = UserPrinter.new(user)
|
40
40
|
user_sessions_print = UserSessionsPrinter.new(user_sessions)
|
41
41
|
if args.size == 1
|
42
|
-
|
42
|
+
if ENV["TERM_PROGRAM"] == "iTerm.app"
|
43
|
+
system "iterm2-viewer /nfs/intrav2cdn/users/medium_#{args.first}.jpeg"
|
44
|
+
end
|
43
45
|
user_print.all
|
44
46
|
user_sessions_print.all
|
45
47
|
elsif args.second == "sessions"
|