git-confident 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -3
- data/bin/git-confident +1 -0
- data/lib/git/confident.rb +1 -2
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= git-
|
1
|
+
= git-confident - Automate Configuration Backup to a Remote Git repository
|
2
2
|
|
3
3
|
* Keep a backup of single files scattered around your file system,
|
4
4
|
* Add those files to a Git repository
|
@@ -39,10 +39,15 @@ If that is the case, just create the branch locally and check it out.
|
|
39
39
|
== Set Up a Cron Job
|
40
40
|
|
41
41
|
$ crontab -e
|
42
|
-
13 23 * * * cd ~/my_backup && git-
|
42
|
+
13 23 * * * cd ~/my_backup && git-confident
|
43
43
|
|
44
|
-
=
|
44
|
+
= Online
|
45
45
|
|
46
|
+
* {Source code}[http://github.com/joeyates/git-confident]
|
47
|
+
* Documentation[http://rdoc.info/github/joeyates/git-confident/master/frames]
|
48
|
+
* Wiki[http://github.com/joeyates/git-confident/wiki]
|
49
|
+
* {Bug tracker}[http://github.com/joeyates/git-confident/issues]
|
50
|
+
* Gem[http://rubygems.org/gems/git-confident]
|
46
51
|
|
47
52
|
= Alternatives
|
48
53
|
|
data/bin/git-confident
CHANGED
data/lib/git/confident.rb
CHANGED
@@ -8,13 +8,12 @@ module Git
|
|
8
8
|
module VERSION #:nodoc:
|
9
9
|
MAJOR = 0
|
10
10
|
MINOR = 0
|
11
|
-
TINY =
|
11
|
+
TINY = 4
|
12
12
|
|
13
13
|
STRING = [ MAJOR, MINOR, TINY ].join( '.' )
|
14
14
|
end
|
15
15
|
|
16
16
|
def initialize( path )
|
17
|
-
|
18
17
|
raise "Git repository not found at '#{ path }'" if ! File.directory?( "#{ path }/.git" )
|
19
18
|
@path = path.clone
|
20
19
|
super( { :working_directory => @path } )
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-confident
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joe Yates
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-19 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|