longurl 0.1.3 → 0.1.4

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/Rakefile CHANGED
@@ -17,13 +17,9 @@ rescue LoadError
17
17
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
18
18
  end
19
19
 
20
- require 'rake/rdoctask'
21
- Rake::RDocTask.new do |rdoc|
22
- rdoc.rdoc_dir = 'rdoc'
23
- rdoc.title = 'longurl'
24
- rdoc.options << '--line-numbers' << '--inline-source'
25
- rdoc.rdoc_files.include('README*')
26
- rdoc.rdoc_files.include('lib/**/*.rb')
20
+ desc "build rdoc using hanna theme"
21
+ task :rdoc do
22
+ `rm -rf rdoc && rdoc -o rdoc --inline-source --format=html -T hanna README* lib/**/*.rb`
27
23
  end
28
24
 
29
25
  require 'rake/testtask'
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
+ :patch: 4
2
3
  :major: 0
3
4
  :minor: 1
4
- :patch: 3
@@ -81,6 +81,8 @@ module LongURL
81
81
  end
82
82
  rescue Timeout::Error, Errno::ENETUNREACH, Errno::ETIMEDOUT, SocketError
83
83
  raise LongURL::NetworkError
84
+ rescue
85
+ raise LongURL::UnknownError
84
86
  end
85
87
 
86
88
  def handle_response(response)
data/longurl.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{longurl}
5
- s.version = "0.1.3"
5
+ s.version = "0.1.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Fabien Jakimowicz"]
9
- s.date = %q{2009-05-26}
9
+ s.date = %q{2009-06-13}
10
10
  s.default_executable = %q{longurl}
11
11
  s.description = %q{LongURL expands short urls (tinyurl, is.gd, ...) to original ones, using on LongURL.org, internal resolution or direct resolution}
12
12
  s.email = %q{fabien@jakimowicz.com}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: longurl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabien Jakimowicz
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-26 00:00:00 +02:00
12
+ date: 2009-06-13 00:00:00 +02:00
13
13
  default_executable: longurl
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency