db_backup 1.0.0 → 1.0.1
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/bin/db_backup.rb +5 -9
- data/lib/dbbackup_version.rb +1 -1
- metadata +6 -68
data/bin/db_backup.rb
CHANGED
@@ -1,14 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby -w
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
# Backup one or more MySQL database(s).
|
10
|
-
#
|
11
|
-
# ********************************************************************************
|
3
|
+
# ************************************************************************************************************************************
|
4
|
+
# This is an example application created from the book:
|
5
|
+
# Build Awesome Command-Line Applications in Ruby by David Bryant Copeland, The Pragmatic Bookshelf LLC
|
6
|
+
# http://pragprog.com/book/dccar/build-awesome-command-line-applications-in-ruby
|
7
|
+
# ************************************************************************************************************************************
|
12
8
|
|
13
9
|
$LOAD_PATH.push File.expand_path("../../lib", __FILE__)
|
14
10
|
|
data/lib/dbbackup_version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: db_backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,72 +10,10 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-04-11 00:00:00.000000000 Z
|
13
|
-
dependencies:
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: open3
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: yaml
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: English
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :runtime
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
description: Dbbackup allows you to backup MySQL database on the command line
|
13
|
+
dependencies: []
|
14
|
+
description: ! "\n This is an example application created from the book -\n Build
|
15
|
+
Awesome Command-Line Applications in Ruby\n by David Bryant Copeland. The Pragmatic
|
16
|
+
Bookshelf LLC.\n "
|
79
17
|
email:
|
80
18
|
- lee at choonsiong.com
|
81
19
|
executables:
|
@@ -87,7 +25,7 @@ files:
|
|
87
25
|
- etc/db_backup.yaml
|
88
26
|
- lib/dbbackup_version.rb
|
89
27
|
- man/db_backup.1
|
90
|
-
homepage: http://
|
28
|
+
homepage: http://pragprog.com/book/dccar/build-awesome-command-line-applications-in-ruby
|
91
29
|
licenses: []
|
92
30
|
post_install_message:
|
93
31
|
rdoc_options: []
|