anamo 1.1.89.3 → 1.1.89.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/anamo +2 -2
- data/lib/anamo/api.rb +2 -2
- data/lib/anamo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 607bb9636023dffee388f55a33920bec4d1f294ea0cc8818e37a3bdc6dfabe27
|
4
|
+
data.tar.gz: 20ace3f6bc9954d1d2623d193ec4ecd03689ffd6f03166c650d40c95397e03d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 855987d28853f5b14eaaec97eef23ae19309fd4390c4aacbc40ac0d50c330adbc6c9bbf3be26bd93d350cb06c969289c4d10f1d02bd718b7b1985345d1f2e2b9
|
7
|
+
data.tar.gz: 98837967bcc99e394527ea44022f468627756e31b63110dd61b50806d4c7a9f9aa1cd248d41a8b32b891af538f6f13591502b79b8017b043bc7f0e1635f1758d
|
data/bin/anamo
CHANGED
@@ -7,7 +7,7 @@ if ARGV[2]
|
|
7
7
|
path = ARGV[2]
|
8
8
|
# otherwise use system path
|
9
9
|
else
|
10
|
-
path = "#{Dir.home
|
10
|
+
path = "#{Dir.home}/anamo.conf.yml" #path = '/etc/anamo/conf.yml'
|
11
11
|
end
|
12
12
|
|
13
13
|
|
@@ -21,7 +21,7 @@ unless ARGV[0] == 'setup'
|
|
21
21
|
multiple: false,
|
22
22
|
monitor: true,
|
23
23
|
log_output: true,
|
24
|
-
dir: "#{Dir.home
|
24
|
+
dir: "#{Dir.home}/anamo/logs/anamo.log", #'/var/log/anamo',
|
25
25
|
force_kill_waittime: 15,
|
26
26
|
dir_mode: :system
|
27
27
|
|
data/lib/anamo/api.rb
CHANGED
@@ -7,8 +7,8 @@ module Anamo
|
|
7
7
|
|
8
8
|
def initialize
|
9
9
|
@api_base_url = 'https://app.anamo.io/api'
|
10
|
-
@config = YAML.load_file "#{Dir.home
|
11
|
-
@client_key = File.exists?("#{Dir.home
|
10
|
+
@config = YAML.load_file "#{Dir.home}/anamo.conf.yml"
|
11
|
+
@client_key = File.exists?("#{Dir.home}/anamo.client.key") ? File.open("#{Dir.home}/anamo.client.key", 'rb') { |f| f.read } : nil
|
12
12
|
end
|
13
13
|
|
14
14
|
def make_url path
|
data/lib/anamo/version.rb
CHANGED