winton-fetcher 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/fetcher.gemspec +2 -2
- data/gemspec.rb +1 -1
- data/lib/fetcher.rb +1 -0
- 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.
|
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-
|
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
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.
|
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-
|
12
|
+
date: 2009-06-28 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|