mrd 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +15 -9
- data/bin/mrd +2 -0
- data/lib/mrd/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
|
@@ -12,15 +12,15 @@ Only works under Mac OS X.
|
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
$ mrd
|
|
16
|
+
==>
|
|
17
|
+
Created Ramdisk at /dev/disk4
|
|
18
|
+
Formatted Ramdisk at /dev/disk4
|
|
19
|
+
Mounted Ramdisk at /Volumes/MySQLRAMDisk
|
|
20
|
+
Starting MySQL server
|
|
21
|
+
MySQL is now running.
|
|
22
|
+
Configure you client to use the root user, no password, and the socket at '/Volumes/MySQLRAMDisk/mysql.sock'.
|
|
23
|
+
Just close this terminal or press ^C when you no longer need it.
|
|
24
24
|
|
|
25
25
|
Then, if using Rails, point your `database.yml` to the temporary SQL server:
|
|
26
26
|
|
|
@@ -28,6 +28,12 @@ Then, if using Rails, point your `database.yml` to the temporary SQL server:
|
|
|
28
28
|
...
|
|
29
29
|
socket: /Volumes/MySQLRAMDisk/mysql.sock
|
|
30
30
|
|
|
31
|
+
## Options
|
|
32
|
+
|
|
33
|
+
$ mrd -h
|
|
34
|
+
Usage: [options]
|
|
35
|
+
-v, --verbose Run verbosely
|
|
36
|
+
-s, --size SIZE Size of RAM disk in MB (default 1024)
|
|
31
37
|
|
|
32
38
|
|
|
33
39
|
## Contributing
|
data/bin/mrd
CHANGED
data/lib/mrd/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mrd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
76
76
|
version: '0'
|
|
77
77
|
segments:
|
|
78
78
|
- 0
|
|
79
|
-
hash: -
|
|
79
|
+
hash: -301293182329990722
|
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
none: false
|
|
82
82
|
requirements:
|
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
85
85
|
version: '0'
|
|
86
86
|
segments:
|
|
87
87
|
- 0
|
|
88
|
-
hash: -
|
|
88
|
+
hash: -301293182329990722
|
|
89
89
|
requirements: []
|
|
90
90
|
rubyforge_project:
|
|
91
91
|
rubygems_version: 1.8.23
|