fido 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/fido.gemspec +1 -1
  2. data/lib/fido.rb +6 -2
  3. metadata +2 -2
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
4
4
 
5
5
  s.name = 'fido'
6
- s.version = '0.1.0'
6
+ s.version = '0.1.1'
7
7
  s.date = '2009-10-30'
8
8
 
9
9
  s.description = "Fido - he fetches"
@@ -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
- include Logable
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.0
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.4
54
+ rubygems_version: 1.3.5
55
55
  signing_key:
56
56
  specification_version: 2
57
57
  summary: Fido - he fetches