mrd 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +15 -9
  2. data/bin/mrd +2 -0
  3. data/lib/mrd/version.rb +1 -1
  4. 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
- $ 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.
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
@@ -2,6 +2,8 @@
2
2
 
3
3
  require 'logger'
4
4
  require 'pathname'
5
+ require 'ostruct'
6
+ require 'optparse'
5
7
 
6
8
  require 'rubygems'
7
9
  require 'term/ansicolor'
data/lib/mrd/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mrd
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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: -335233365963778714
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: -335233365963778714
88
+ hash: -301293182329990722
89
89
  requirements: []
90
90
  rubyforge_project:
91
91
  rubygems_version: 1.8.23