ramdo 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ramdo/ramdisk/linux_wrapper.rb +1 -1
- data/lib/ramdo/version.rb +1 -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: 6a6424874ecbe3c5be1da09054fc1adf4d186230
|
4
|
+
data.tar.gz: de9d567c62f1c6e104495628ce6adecb72025ae2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 061cab69777aa9e3f51c492228489bd3ab6cd8a2498a8d53f80cb4830de741b8e5b2cb646fa1c5b8ffe496c756dff3597b3a8d32390ddfadb089ee25fc22258c
|
7
|
+
data.tar.gz: 0d5877d07af152732ea459d2878ab2968fbb02f1b217014587b561f0db898fe9d5a92a5ea86e83800fc5b30cd1a729371a78841bfafccb141e0741b99e03babb
|
@@ -4,7 +4,7 @@ module Ramdo
|
|
4
4
|
def initialize
|
5
5
|
line = Cocaine::CommandLine.new("cat", "/proc/mounts")
|
6
6
|
line.run.each_line do |line|
|
7
|
-
@shm_path = Regexp.last_match[1] if line =~ /(\/shm)[\s]tmpfs[\s]rw/
|
7
|
+
@shm_path = Regexp.last_match[1] if line =~ /(\/[a-z]+\/shm)[\s]tmpfs[\s]rw/
|
8
8
|
end
|
9
9
|
raise GeneralRamdiskException.new("shm path not found") unless @shm_path
|
10
10
|
end
|
data/lib/ramdo/version.rb
CHANGED