github-backup 0.3.0 → 0.4.0

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/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # github-backup
2
+
3
+ Back up your Github repositories locally.
4
+
5
+ To install it as a Gem, just run:
6
+
7
+ $ sudo gem install ddollar-github-backup
8
+
9
+ To use it:
10
+
11
+ $ github-backup ddollar /path/to/my/backup/root
12
+
13
+ ## Authenticated Usage
14
+
15
+ ### Seamless authentication using .gitconfig defaults
16
+
17
+ You will need a `~/.gitconfig` file in place with a `[github]` section
18
+
19
+ See: http://github.com/guides/tell-git-your-user-name-and-email-address
20
+
21
+ ## License
22
+
23
+ MIT License
24
+
25
+ ## Author
26
+
27
+ David Dollar
28
+
29
+ ## Copyright
30
+
31
+ Copyright (c) 2010 David Dollar.
data/lib/github-backup.rb CHANGED
@@ -5,6 +5,8 @@ module Github; end
5
5
 
6
6
  class Github::Backup
7
7
 
8
+ VERSION = "0.4.0"
9
+
8
10
  include Octopi
9
11
 
10
12
  attr_reader :backup_root, :debug, :username
metadata CHANGED
@@ -1,76 +1,102 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ hash: 15
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 4
9
+ - 0
10
+ version: 0.4.0
5
11
  platform: ruby
6
12
  authors:
7
- - David Dollar
13
+ - |
14
+ David Dollar
15
+
8
16
  autorequire:
9
17
  bindir: bin
10
18
  cert_chain: []
11
19
 
12
- date: 2009-09-03 00:00:00 -04:00
13
- default_executable: github-backup
20
+ date: 2010-09-01 00:00:00 -04:00
21
+ default_executable:
14
22
  dependencies:
15
23
  - !ruby/object:Gem::Dependency
16
- name: fcoury-octopi
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :development
34
+ name: parka
35
+ prerelease: false
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
20
40
  requirements:
21
- - - "="
41
+ - - ~>
22
42
  - !ruby/object:Gem::Version
23
- version: 0.1.0
24
- version:
25
- description:
26
- email: <ddollar@gmail.com>
43
+ hash: 7
44
+ segments:
45
+ - 0
46
+ - 2
47
+ - 8
48
+ version: 0.2.8
49
+ type: :runtime
50
+ name: octopi
51
+ prerelease: false
52
+ version_requirements: *id002
53
+ description: Backup your Github repositories
54
+ email: |
55
+ <ddollar@gmail.com>
56
+
27
57
  executables:
28
58
  - github-backup
29
59
  extensions: []
30
60
 
31
- extra_rdoc_files:
32
- - LICENSE
33
- - README.rdoc
61
+ extra_rdoc_files: []
62
+
34
63
  files:
35
- - .document
36
- - .gitignore
37
- - LICENSE
38
- - README.rdoc
39
- - Rakefile
40
- - VERSION
41
64
  - bin/github-backup
42
- - github-backup.gemspec
65
+ - README.md
43
66
  - lib/github-backup.rb
44
- - test/github-backup_test.rb
45
- - test/test_helper.rb
46
67
  has_rdoc: true
47
68
  homepage: http://github.com/ddollar/github-backup
48
69
  licenses: []
49
70
 
50
71
  post_install_message:
51
- rdoc_options:
52
- - --charset=UTF-8
72
+ rdoc_options: []
73
+
53
74
  require_paths:
54
75
  - lib
55
76
  required_ruby_version: !ruby/object:Gem::Requirement
77
+ none: false
56
78
  requirements:
57
79
  - - ">="
58
80
  - !ruby/object:Gem::Version
81
+ hash: 3
82
+ segments:
83
+ - 0
59
84
  version: "0"
60
- version:
61
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
+ none: false
62
87
  requirements:
63
88
  - - ">="
64
89
  - !ruby/object:Gem::Version
90
+ hash: 3
91
+ segments:
92
+ - 0
65
93
  version: "0"
66
- version:
67
94
  requirements: []
68
95
 
69
- rubyforge_project:
70
- rubygems_version: 1.3.5
96
+ rubyforge_project: nowarning
97
+ rubygems_version: 1.3.7
71
98
  signing_key:
72
99
  specification_version: 3
73
100
  summary: Backup your Github repositories
74
- test_files:
75
- - test/github-backup_test.rb
76
- - test/test_helper.rb
101
+ test_files: []
102
+
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- *.sw?
2
- .DS_Store
3
- coverage
4
- rdoc
5
- pkg
data/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2009 David Dollar
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc DELETED
@@ -1,27 +0,0 @@
1
- = github-backup
2
-
3
- Back up your Github repositories locally.
4
-
5
- To install it as a Gem, just run:
6
-
7
- $ sudo gem install ddollar-github-backup
8
-
9
- To use it:
10
-
11
- $ github-backup /path/to/my/backup/root
12
-
13
- == Authenticated Usage
14
-
15
- === Seamless authentication using .gitconfig defaults
16
-
17
- You will need a <tt>~/.gitconfig</tt> file in place with a <tt>[github]</tt> section
18
-
19
- See: http://github.com/guides/tell-git-your-user-name-and-email-address
20
-
21
- == Author
22
-
23
- * David Dollar - http://daviddollar.org
24
-
25
- == Copyright
26
-
27
- Copyright (c) 2009 David Dollar. See LICENSE for details.
data/Rakefile DELETED
@@ -1,57 +0,0 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "github-backup"
8
- gem.summary = %Q{Backup your Github repositories}
9
- gem.email = "<ddollar@gmail.com>"
10
- gem.homepage = "http://github.com/ddollar/github-backup"
11
- gem.authors = ["David Dollar"]
12
- gem.add_runtime_dependency 'fcoury-octopi', '= 0.1.0'
13
- gem.default_executable = 'github-backup'
14
- end
15
-
16
- rescue LoadError
17
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
18
- end
19
-
20
- require 'rake/testtask'
21
- Rake::TestTask.new(:test) do |test|
22
- test.libs << 'lib' << 'test'
23
- test.pattern = 'test/**/*_test.rb'
24
- test.verbose = true
25
- end
26
-
27
- begin
28
- require 'rcov/rcovtask'
29
- Rcov::RcovTask.new do |test|
30
- test.libs << 'test'
31
- test.pattern = 'test/**/*_test.rb'
32
- test.verbose = true
33
- end
34
- rescue LoadError
35
- task :rcov do
36
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
37
- end
38
- end
39
-
40
-
41
- task :default => :test
42
-
43
- require 'rake/rdoctask'
44
- Rake::RDocTask.new do |rdoc|
45
- if File.exist?('VERSION.yml')
46
- config = YAML.load(File.read('VERSION.yml'))
47
- version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
48
- else
49
- version = ""
50
- end
51
-
52
- rdoc.rdoc_dir = 'rdoc'
53
- rdoc.title = "github-backup #{version}"
54
- rdoc.rdoc_files.include('README*')
55
- rdoc.rdoc_files.include('lib/**/*.rb')
56
- end
57
-
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.0
@@ -1,55 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{github-backup}
8
- s.version = "0.3.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["David Dollar"]
12
- s.date = %q{2009-09-03}
13
- s.default_executable = %q{github-backup}
14
- s.email = %q{<ddollar@gmail.com>}
15
- s.executables = ["github-backup"]
16
- s.extra_rdoc_files = [
17
- "LICENSE",
18
- "README.rdoc"
19
- ]
20
- s.files = [
21
- ".document",
22
- ".gitignore",
23
- "LICENSE",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "bin/github-backup",
28
- "github-backup.gemspec",
29
- "lib/github-backup.rb",
30
- "test/github-backup_test.rb",
31
- "test/test_helper.rb"
32
- ]
33
- s.homepage = %q{http://github.com/ddollar/github-backup}
34
- s.rdoc_options = ["--charset=UTF-8"]
35
- s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.3.5}
37
- s.summary = %q{Backup your Github repositories}
38
- s.test_files = [
39
- "test/github-backup_test.rb",
40
- "test/test_helper.rb"
41
- ]
42
-
43
- if s.respond_to? :specification_version then
44
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
45
- s.specification_version = 3
46
-
47
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
48
- s.add_runtime_dependency(%q<fcoury-octopi>, ["= 0.1.0"])
49
- else
50
- s.add_dependency(%q<fcoury-octopi>, ["= 0.1.0"])
51
- end
52
- else
53
- s.add_dependency(%q<fcoury-octopi>, ["= 0.1.0"])
54
- end
55
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class GithubBackupTest < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end
data/test/test_helper.rb DELETED
@@ -1,10 +0,0 @@
1
- require 'rubygems'
2
- require 'test/unit'
3
- require 'shoulda'
4
-
5
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
- $LOAD_PATH.unshift(File.dirname(__FILE__))
7
- require 'github-backup'
8
-
9
- class Test::Unit::TestCase
10
- end