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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ft_42.rb +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8649838d713a730565e82903e9308c063ec9c31
4
- data.tar.gz: 2af6a9f1de3bf87198bfb6f388a11355d30aae46
3
+ metadata.gz: f315adc25a15889d74a721041d37d456a9b8734b
4
+ data.tar.gz: 540d3bf8022eb08edb1076c2f256f491a0cfa7a2
5
5
  SHA512:
6
- metadata.gz: 80b9ae45d65b5cad848263b06ade1b13e4a6ccf075d282a2cca05d54ee2b5ab6d6eb2c366c7748f7ade58ead7b41960290a1ea75d724e4fbbf1891039e09f8d6
7
- data.tar.gz: 5e37d02fb7dea61601921636e7a43f3124df11f3fc19b7de4a754fac9b38ebe70c42f4fbbe02de3bf0577a727ccde350a4b87506f75741a36022f558baddcb11
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
- system "iterm2-viewer /nfs/intrav2cdn/users/medium_#{args.first}.jpeg"
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ft_42
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Fernandez