mrd 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +0 -1
- data/Gemfile.lock +20 -0
- data/README.md +7 -4
- data/bin/mrd +1 -1
- data/lib/mrd/version.rb +1 -1
- metadata +12 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5d0f6dd8e58e13078e4d3b0340a3f7aa89ed0f77
|
4
|
+
data.tar.gz: 5ab27fd5bdce85d33091177bd957e8de65610a21
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 25554049e6122363ae66e376a01f376097d36885e85a6ba2ffb54e8700e7a52e67e10d166bb2abca3c8637d1a961c84bc77b3fe8ff42bc7198410c2249f88679
|
7
|
+
data.tar.gz: 7f58eb0d60e1902301ca860fb0fade06311bf5631fadaac48ba4b6423cd295bc666888889251084e4221641b172a7d3b810eca7ed35c312df6ec5fefe0d7493f
|
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# mrd
|
2
2
|
|
3
|
-
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/mrd.png)](http://badge.fury.io/rb/mrd)
|
4
|
+
|
5
|
+
|
6
|
+
> Stands for MySQL RAM Disk. Pronounced like the French swear word.
|
4
7
|
|
5
8
|
Spawns a temporary MySQL instance off a RAM disk. Useful to speed up large test suites, your machine usable while running them, and preserve your SSD's life!
|
6
9
|
|
@@ -24,9 +27,9 @@ Only works under Mac OS X.
|
|
24
27
|
|
25
28
|
Then, if using Rails, point your `database.yml` to the temporary SQL server:
|
26
29
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
+
test:
|
31
|
+
...
|
32
|
+
socket: /Volumes/MySQLRAMDisk/mysql.sock
|
30
33
|
|
31
34
|
## Options
|
32
35
|
|
data/bin/mrd
CHANGED
@@ -175,7 +175,7 @@ class App
|
|
175
175
|
def find_command!(variants)
|
176
176
|
variants.each do |variant|
|
177
177
|
path = run("which #{variant}")
|
178
|
-
return Pathname.new(path) unless path.empty?
|
178
|
+
return Pathname.new(path).realpath unless path.empty?
|
179
179
|
end
|
180
180
|
Logger.error "Sorry, I need one of #{variants.join ', '} to run."
|
181
181
|
Kernel.exit
|
data/lib/mrd/version.rb
CHANGED
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mrd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Julien Letessier
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-07-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: term-ansicolor
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
description: Under Darwin, spawns a temporary MySQL instance off a RAM disk. Useful
|
@@ -55,6 +50,7 @@ extra_rdoc_files: []
|
|
55
50
|
files:
|
56
51
|
- .gitignore
|
57
52
|
- Gemfile
|
53
|
+
- Gemfile.lock
|
58
54
|
- LICENSE.txt
|
59
55
|
- README.md
|
60
56
|
- Rakefile
|
@@ -64,32 +60,25 @@ files:
|
|
64
60
|
- mrd.gemspec
|
65
61
|
homepage: ''
|
66
62
|
licenses: []
|
63
|
+
metadata: {}
|
67
64
|
post_install_message:
|
68
65
|
rdoc_options: []
|
69
66
|
require_paths:
|
70
67
|
- lib
|
71
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
69
|
requirements:
|
74
|
-
- -
|
70
|
+
- - '>='
|
75
71
|
- !ruby/object:Gem::Version
|
76
72
|
version: '0'
|
77
|
-
segments:
|
78
|
-
- 0
|
79
|
-
hash: -1819939860976838345
|
80
73
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
74
|
requirements:
|
83
|
-
- -
|
75
|
+
- - '>='
|
84
76
|
- !ruby/object:Gem::Version
|
85
77
|
version: '0'
|
86
|
-
segments:
|
87
|
-
- 0
|
88
|
-
hash: -1819939860976838345
|
89
78
|
requirements: []
|
90
79
|
rubyforge_project:
|
91
|
-
rubygems_version:
|
80
|
+
rubygems_version: 2.0.3
|
92
81
|
signing_key:
|
93
|
-
specification_version:
|
82
|
+
specification_version: 4
|
94
83
|
summary: Run MySQL off a RAM disk
|
95
84
|
test_files: []
|