github-backup 0.4.0 → 0.4.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/lib/github-backup.rb +2 -2
- metadata +3 -3
data/lib/github-backup.rb
CHANGED
|
@@ -5,7 +5,7 @@ module Github; end
|
|
|
5
5
|
|
|
6
6
|
class Github::Backup
|
|
7
7
|
|
|
8
|
-
VERSION = "0.4.
|
|
8
|
+
VERSION = "0.4.1"
|
|
9
9
|
|
|
10
10
|
include Octopi
|
|
11
11
|
|
|
@@ -19,7 +19,7 @@ class Github::Backup
|
|
|
19
19
|
|
|
20
20
|
def execute
|
|
21
21
|
FileUtils::mkdir_p(backup_root)
|
|
22
|
-
authenticated do
|
|
22
|
+
authenticated do
|
|
23
23
|
repositories = User.find(username).repositories.sort_by { |r| r.name }
|
|
24
24
|
repositories.each do |repository|
|
|
25
25
|
puts "Backing up: #{repository.name}"
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: github-backup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.4.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- |
|