rb2db 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rb2db.rb +1 -1
- data/lib/rb2db/version.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 756cd09f27b1416ab4634a6920e619b167ae5d6b
|
4
|
+
data.tar.gz: 380168ccca324e64e4abf424ab2bb903be14d2c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a6ec38f2e1373c136b02cfefd068ad23c6d55eb7dfebaf1dc9c45e21585696f7a64e15c759bca7f43cf01e363ca8a9d9af192d2d837ee641461498c3fdb2d97
|
7
|
+
data.tar.gz: e5e526e3b451a4cbf4bdd3158f1bfe39554490d8c377a6c6801327ce6ac8ad502c00d6896a596ecd2e2c9986e7974081317e1ab0d6486ec8bd93d813e97a15fe
|
data/lib/rb2db.rb
CHANGED
@@ -4,7 +4,7 @@ module Rb2db
|
|
4
4
|
def self.pid_check
|
5
5
|
|
6
6
|
# PID file to use.
|
7
|
-
pid_file =
|
7
|
+
pid_file = '/tmp/.rb2db.pid'
|
8
8
|
|
9
9
|
# If the file exists, check if the pid inside is still running
|
10
10
|
if (pid = File.file?(pid_file) && File.read(pid_file))
|
data/lib/rb2db/version.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
module Rb2db
|
2
|
-
VERSION = "0.2.
|
2
|
+
VERSION = "0.2.2"
|
3
3
|
|
4
4
|
|
5
5
|
# CHANGELOG
|
6
|
+
# 0.2.2 "XDG_RUNTIME_DIR" is not well supported. Let's just use /tmp/
|
6
7
|
# 0.2.1 Fix PID file location on linux
|
7
8
|
# 0.2.0 Added PID checking to prevent multiple instances.
|
8
9
|
# 0.1.4 Replace mem_available with mem_percent.
|