keybase-unofficial-local 0.0.5 → 0.0.6

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: f7c994a6689d905f2ffa5975b488db5726ba69cf
4
- data.tar.gz: 19a3c9d4239d3a9a3bb8e9c7cb9fd1616d780c3c
3
+ metadata.gz: b2bcfd5336f871c3720df6c66f35da0adfb34be7
4
+ data.tar.gz: 97407963db949092e2b9a89da88dfd255df51369
5
5
  SHA512:
6
- metadata.gz: c12d511d2fc20574c9eef2469bab9d6f6419f9e1e2714cdc71e06e525d3bad83412ab7349ac3b8273a2d29b3cb1b65a956bdf1b1574b29a21e8e05fa982b7ee6
7
- data.tar.gz: 6b460b1fb11e9001228961b1b82c4723a69040f59f6f2a03be6dbf4c1e6f9d181e8b1a41fbc9996c6524fcd578f50a133c865fcdfbb312bafeba0f9432ecfbad
6
+ metadata.gz: 4edaba39e20464dbfa9411cc840153e4edbaab5438de8e8e4475e552f7a0d0ded1f490003976ae258c85cc267bc6bbee6ff4f3e761cba15891b09b066b4a847b
7
+ data.tar.gz: ab33532407096daac6d9595ff3dee3432e31d7ad9909351c8c22950aa8dc6161e56da7b388577d2d31b178b840212da39499c559a9f10572ae75b8da7e842314
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.5"
17
+ VERSION = "0.0.6"
18
18
 
19
19
  extend Config
20
20
  end
@@ -9,6 +9,8 @@ module Keybase
9
9
  # The Keybase configuration directory.
10
10
  CONFIG_DIR = if Gem.win_platform?
11
11
  File.expand_path("#{ENV["LOCALAPPDATA"]}/Keybase").freeze
12
+ elsif RUBY_PLATFORM =~ /darwin/
13
+ File.expand_path("~/Library/Application Support/Keybase").freeze
12
14
  else
13
15
  File.expand_path("~/.config/keybase").freeze
14
16
  end
@@ -50,7 +52,7 @@ module Keybase
50
52
  def running?
51
53
  if Gem.win_platform?
52
54
  !`tasklist | find "keybase.exe"`.empty?
53
- elsif /darwin/.match? RUBY_PLATFORM
55
+ elsif RUBY_PLATFORM =~ /darwin/
54
56
  !`pgrep keybase`.empty?
55
57
  else
56
58
  # is there a more efficient way to do this that doesn't involve an exec?
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.5
4
+ version: 0.0.6
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-10-09 00:00:00.000000000 Z
11
+ date: 2017-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: keybase-unofficial-core
@@ -42,7 +42,7 @@ files:
42
42
  - lib/keybase/local/kbfs.rb
43
43
  - lib/keybase/local/team.rb
44
44
  - lib/keybase/local/user.rb
45
- homepage: https://github.com/woodruffw/keybase-unofficial-local
45
+ homepage: https://github.com/kbsecret/keybase-unofficial-local
46
46
  licenses:
47
47
  - MIT
48
48
  metadata: {}