gitti-backup 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Manifest.txt +3 -0
- data/lib/gitti/backup/backup.rb +1 -0
- data/lib/gitti/backup/version.rb +1 -1
- data/test/data/repos.yml +16 -0
- data/test/helper.rb +13 -0
- data/test/test_backup.rb +27 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c04184456762668d4904dd94bb186cfe32092f2
|
4
|
+
data.tar.gz: 39a2c3d671d9c4e0f56d9841da76dda3ce7d16a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37436bb46b397ac13ed95c22e0b70313cc002ce36edd7c623ec3e914c297d279d64eea6eb71c0d5af0ed236cb350e606ade994d89dc61c809070f9ad1f17468f
|
7
|
+
data.tar.gz: 3b60bf21f3ae443d8ca853c0e93fc766e2ebdafaa4a227c694d318f46470b51d8c7eb73911311074d342fa04980d0abc9917a1d1014162f2fdb9564e0bb97a07
|
data/Manifest.txt
CHANGED
data/lib/gitti/backup/backup.rb
CHANGED
data/lib/gitti/backup/version.rb
CHANGED
data/test/data/repos.yml
ADDED
data/test/helper.rb
ADDED
data/test/test_backup.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
###
|
4
|
+
# to run use
|
5
|
+
# ruby -I ./lib -I ./test test/test_backup.rb
|
6
|
+
|
7
|
+
|
8
|
+
require 'helper'
|
9
|
+
|
10
|
+
|
11
|
+
class TestBackup < MiniTest::Test
|
12
|
+
|
13
|
+
|
14
|
+
def test_backup
|
15
|
+
|
16
|
+
repos = Gitti::GitRepoSet.from_file( "#{GittiBackup.root}/test/data/repos.yml" )
|
17
|
+
pp repos
|
18
|
+
|
19
|
+
backup = Gitti::GitBackup.new
|
20
|
+
backup.backup( repos )
|
21
|
+
|
22
|
+
assert true
|
23
|
+
## assume everything ok if get here
|
24
|
+
end
|
25
|
+
|
26
|
+
end # class TestBackup
|
27
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitti-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitti
|
@@ -70,6 +70,9 @@ files:
|
|
70
70
|
- lib/gitti/backup/repo.rb
|
71
71
|
- lib/gitti/backup/reposet.rb
|
72
72
|
- lib/gitti/backup/version.rb
|
73
|
+
- test/data/repos.yml
|
74
|
+
- test/helper.rb
|
75
|
+
- test/test_backup.rb
|
73
76
|
homepage: https://github.com/rubylibs/gitti
|
74
77
|
licenses:
|
75
78
|
- Public Domain
|