fido 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/fido.gemspec +1 -1
- data/lib/fido.rb +6 -2
- metadata +2 -2
data/fido.gemspec
CHANGED
data/lib/fido.rb
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
require 'fileutils'
|
2
2
|
require 'open3'
|
3
3
|
require 'logger'
|
4
|
-
require 'hutils/logable'
|
5
4
|
|
6
5
|
class Fido
|
7
6
|
include FileUtils
|
8
|
-
|
7
|
+
|
8
|
+
attr_accessor :logger
|
9
|
+
|
10
|
+
def initialize(logger=Logger.new("/dev/null"))
|
11
|
+
@logger = logger
|
12
|
+
end
|
9
13
|
|
10
14
|
def clone(repo, *to)
|
11
15
|
force = to.last == true && to.pop
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fido
|
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
|
- Blake Mizerany
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements: []
|
52
52
|
|
53
53
|
rubyforge_project:
|
54
|
-
rubygems_version: 1.3.
|
54
|
+
rubygems_version: 1.3.5
|
55
55
|
signing_key:
|
56
56
|
specification_version: 2
|
57
57
|
summary: Fido - he fetches
|