redirect 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +6 -0
  2. data/Rakefile +6 -4
  3. data/lib/redirect.rb +1 -1
  4. metadata +2 -2
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 0.0.2 / 2009-02-21
2
+
3
+ * 1 major enhancement
4
+
5
+ * Only require Hoe if installed
6
+
1
7
  === 0.0.1 / 2009-02-08
2
8
 
3
9
  * 1 major enhancement
data/Rakefile CHANGED
@@ -1,12 +1,14 @@
1
1
  # -*- ruby -*-
2
2
 
3
3
  require 'rubygems'
4
- require 'hoe'
5
4
  require 'lib/redirect.rb'
6
5
 
7
- Hoe.new('redirect', Redirect::VERSION) do |p|
8
- p.developer('Petrik de Heus', 'FIX@example.com')
9
- p.remote_rdoc_dir = '' # Release to root
6
+ require 'hoe' rescue nil
7
+ if defined? Hoe
8
+ Hoe.new('redirect', Redirect::VERSION) do |p|
9
+ p.developer('Petrik de Heus', 'FIX@example.com')
10
+ p.remote_rdoc_dir = '' # Release to root
11
+ end
10
12
  end
11
13
  #
12
14
  # require 'metric_fu'
data/lib/redirect.rb CHANGED
@@ -5,7 +5,7 @@ require 'rack/request'
5
5
  require 'rack/response'
6
6
 
7
7
  module Redirect
8
- VERSION = '0.0.1'
8
+ VERSION = '0.0.2'
9
9
 
10
10
  class Data
11
11
  attr_reader :catch_url, :redirect_url, :code, :name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redirect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petrik de Heus
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-19 00:00:00 +01:00
12
+ date: 2009-02-21 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency