appear 1.0.0 → 1.0.1

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: 49e7e4587f6725e9cf308bd49827e9b4a155904d
4
- data.tar.gz: b62a655a7a4173118aa423bf8247c3407c39bd56
3
+ metadata.gz: e84f9bba39e0bbd3c73cea9abed61b5bd664a6dd
4
+ data.tar.gz: d9780d1243f8b03a13f64e104fb5f41a810843b1
5
5
  SHA512:
6
- metadata.gz: 276900ee030c9bdeba0fe2c85fd60034d7f6e34e976651525809b334afe9075ab74fe3c9555e6eaf3b29ff0b64d9f579eb804cd085539ee0babb23d2f92d3542
7
- data.tar.gz: 10859c80d30ad2c950a3f809b0c6a260faf4233436c533f668802af4426c0f0265ec53293d01153ef8984828f685babaec34853dc3d849c7bfeeb820a1585c48
6
+ metadata.gz: b64c914801244f75f8dd5924b8253fa92c64b393e41d6d2f38a90c81ae99b55dffb779792bdea00bb6d2c00b60eea73d0959ab96871d6839fbb81dad572cbf4c
7
+ data.tar.gz: 150836dac72f9afe69bb04d8ccf76621f2f1210db9f1bdc9bbd0eb195c61d8d0c4638cdd67c26b1922ae63afba5a4ff45e955488add862900b1255fa2d537aeb
data/appear.gemspec CHANGED
@@ -32,8 +32,8 @@ Gem::Specification.new do |spec|
32
32
  # end
33
33
 
34
34
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
35
- spec.bindir = "exe"
36
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
35
+ spec.bindir = "bin"
36
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
37
37
  spec.require_paths = ["lib"]
38
38
 
39
39
  spec.add_development_dependency "bundler", "~> 1.10"
data/bin/appear CHANGED
@@ -1,7 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'pathname'
3
3
 
4
- $:.unshift(Pathname.new(__FILE__).realpath.dirname.dirname.join('./lib').to_s)
4
+ begin
5
+ require 'appear/command'
6
+ rescue LoadError
7
+ $:.unshift(Pathname.new(__FILE__).realpath.dirname.dirname.join('./lib').to_s)
8
+ require 'appear/command'
9
+ end
5
10
 
6
- require 'appear/command'
7
11
  command = Appear::Command.new.execute(ARGV)
data/bin/pparents CHANGED
@@ -1,9 +1,13 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'pathname'
3
3
 
4
- $:.unshift(Pathname.new(__FILE__).realpath.dirname.dirname.join('./lib').to_s)
4
+ begin
5
+ require 'appear'
6
+ rescue LoadError
7
+ $:.unshift(Pathname.new(__FILE__).realpath.dirname.dirname.join('./lib').to_s)
8
+ require 'appear'
9
+ end
5
10
 
6
- require 'appear'
7
11
 
8
12
  module Appear::PParents
9
13
  def self.main
@@ -1,7 +1,7 @@
1
1
  require 'pathname'
2
2
 
3
3
  module Appear
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
 
6
6
  # root error for our library; all other errors inherit from this one.
7
7
  class Error < StandardError; end
data/lib/appear/lsof.rb CHANGED
@@ -68,7 +68,6 @@ module Appear
68
68
 
69
69
  ttys = panes.map(&:tty)
70
70
  if panes.all? {|p| p.respond_to?(:pids) }
71
- puts "using pids in join_via_tty"
72
71
  pids = hitlist.keys + panes.map(&:pids).flatten
73
72
  # binding.pry
74
73
  lsofs = lsofs(ttys, :pids => pids)
File without changes
File without changes
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appear
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Teton-Landis
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-08-09 00:00:00.000000000 Z
12
12
  dependencies:
@@ -92,7 +92,9 @@ description: |2
92
92
  currently only supports macOS.
93
93
  email:
94
94
  - just.1.jake@gmail.com
95
- executables: []
95
+ executables:
96
+ - appear
97
+ - pparents
96
98
  extensions: []
97
99
  extra_rdoc_files: []
98
100
  files:
@@ -106,9 +108,7 @@ files:
106
108
  - Rakefile
107
109
  - appear.gemspec
108
110
  - bin/appear
109
- - bin/console
110
111
  - bin/pparents
111
- - bin/setup
112
112
  - lib/appear.rb
113
113
  - lib/appear/command.rb
114
114
  - lib/appear/config.rb
@@ -124,6 +124,8 @@ files:
124
124
  - lib/appear/service.rb
125
125
  - lib/appear/tmux.rb
126
126
  - screenshot.gif
127
+ - scripts/console
128
+ - scripts/setup
127
129
  - tools/macOS-helper.js
128
130
  homepage: https://github.com/airbnb/appear
129
131
  licenses: []