winton-fetcher 0.1.1 → 0.1.2

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.
Files changed (4) hide show
  1. data/fetcher.gemspec +2 -2
  2. data/gemspec.rb +1 -1
  3. data/lib/fetcher.rb +1 -0
  4. metadata +2 -2
data/fetcher.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{fetcher}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Luke Francl"]
9
- s.date = %q{2009-06-27}
9
+ s.date = %q{2009-06-28}
10
10
  s.email = %q{look@recursion.org}
11
11
  s.extra_rdoc_files = ["README.rdoc"]
12
12
  s.files = ["fetcher.gemspec", "gemspec.rb", "init.rb", "lib", "lib/fetcher", "lib/fetcher/base.rb", "lib/fetcher/imap.rb", "lib/fetcher/pop.rb", "lib/fetcher.rb", "lib/vendor", "lib/vendor/plain_imap.rb", "lib/vendor/secure_pop.rb", "MIT-LICENSE", "Rakefile", "README.rdoc", "test", "test/fetcher_test.rb"]
data/gemspec.rb CHANGED
@@ -13,5 +13,5 @@ GEM_SPEC = Gem::Specification.new do |s|
13
13
  s.name = GEM_NAME
14
14
  s.platform = Gem::Platform::RUBY
15
15
  s.require_path = "lib"
16
- s.version = "0.1.1"
16
+ s.version = "0.1.2"
17
17
  end
data/lib/fetcher.rb CHANGED
@@ -11,6 +11,7 @@ module Fetcher
11
11
  # Fetcher.create(:type => :pop) is equivalent to
12
12
  # Fetcher::Pop.new()
13
13
  def self.create(options={})
14
+ options = options.dup
14
15
  klass = options.delete(:type)
15
16
  raise ArgumentError, 'Must supply a type' unless klass
16
17
  module_eval "#{klass.to_s.capitalize}.new(options)"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: winton-fetcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Francl
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-27 00:00:00 -07:00
12
+ date: 2009-06-28 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15