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 +4 -4
- data/lib/keybase/local.rb +1 -1
- data/lib/keybase/local/config.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2bcfd5336f871c3720df6c66f35da0adfb34be7
|
4
|
+
data.tar.gz: 97407963db949092e2b9a89da88dfd255df51369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4edaba39e20464dbfa9411cc840153e4edbaab5438de8e8e4475e552f7a0d0ded1f490003976ae258c85cc267bc6bbee6ff4f3e761cba15891b09b066b4a847b
|
7
|
+
data.tar.gz: ab33532407096daac6d9595ff3dee3432e31d7ad9909351c8c22950aa8dc6161e56da7b388577d2d31b178b840212da39499c559a9f10572ae75b8da7e842314
|
data/lib/keybase/local.rb
CHANGED
data/lib/keybase/local/config.rb
CHANGED
@@ -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
|
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.
|
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-
|
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/
|
45
|
+
homepage: https://github.com/kbsecret/keybase-unofficial-local
|
46
46
|
licenses:
|
47
47
|
- MIT
|
48
48
|
metadata: {}
|