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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 289e382c9cef13403275007365845d8dc9c4ad63
4
- data.tar.gz: 14722e25608f9f6567a6c9b28a8d2ce9d702fdcf
3
+ metadata.gz: 6a6424874ecbe3c5be1da09054fc1adf4d186230
4
+ data.tar.gz: de9d567c62f1c6e104495628ce6adecb72025ae2
5
5
  SHA512:
6
- metadata.gz: 63cfde5e15ef8a5f605bf600ba1e41ce3dccf9509769ded803f8cd94b198aae9723f4c22482692587db1f305dfe258fe18e778ea4d1dfd54b45f246e147aa051
7
- data.tar.gz: 5598cb055290bd33d83b594f62b0b6ab7e9803b4042237f33adfdf55cb36c53b98c274f2aec57ae9672ea42127a915f9881f47795089978a3a8f5e3ba45cbeec
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
@@ -1,3 +1,3 @@
1
1
  module Ramdo
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ramdo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Franken