keybase-unofficial-local 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f327e3aa87d69a7a7da0a1abe87d2d2169dc457e
4
- data.tar.gz: 6142797174e330004eae98c225a56508e127a360
3
+ metadata.gz: f7c994a6689d905f2ffa5975b488db5726ba69cf
4
+ data.tar.gz: 19a3c9d4239d3a9a3bb8e9c7cb9fd1616d780c3c
5
5
  SHA512:
6
- metadata.gz: 3c11cc7aa703f8495a472cb86119ab44a4b010af47910bb440d051ee78b7b051721e749865c7908ea92bd569c3a2f3cc131829ed5e60640556f4b2a3bf762fa2
7
- data.tar.gz: c3eb31d508d742a1fde970bd41df3ceb22c4e45bd5fcf6ee2b4b0e1540d00c181f9d421c8033e574258fa73eb40e671b36c5e5b7ea6fde25848023042b390a2b
6
+ metadata.gz: c12d511d2fc20574c9eef2469bab9d6f6419f9e1e2714cdc71e06e525d3bad83412ab7349ac3b8273a2d29b3cb1b65a956bdf1b1574b29a21e8e05fa982b7ee6
7
+ data.tar.gz: 6b460b1fb11e9001228961b1b82c4723a69040f59f6f2a03be6dbf4c1e6f9d181e8b1a41fbc9996c6524fcd578f50a133c865fcdfbb312bafeba0f9432ecfbad
@@ -50,6 +50,8 @@ module Keybase
50
50
  def running?
51
51
  if Gem.win_platform?
52
52
  !`tasklist | find "keybase.exe"`.empty?
53
+ elsif /darwin/.match? RUBY_PLATFORM
54
+ !`pgrep keybase`.empty?
53
55
  else
54
56
  # is there a more efficient way to do this that doesn't involve an exec?
55
57
  Dir["/proc/[0-9]*/comm"].any? do |comm|
data/lib/keybase/local.rb CHANGED
@@ -14,7 +14,7 @@ module Keybase
14
14
  # The namespace for `keybase-unofficial-local`.
15
15
  module Local
16
16
  # The current version of `keybase-unofficial-local`.
17
- VERSION = "0.0.4"
17
+ VERSION = "0.0.5"
18
18
 
19
19
  extend Config
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keybase-unofficial-local
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Woodruff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-21 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: keybase-unofficial-core