pboling-subdomain-fu 0.5.0 → 0.5.1

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 (5) hide show
  1. data/CHANGELOG +7 -0
  2. data/VERSION.yml +1 -1
  3. data/init.rb +1 -0
  4. data/rails/init.rb +1 -3
  5. metadata +2 -1
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ == 2009-09-13
2
+
3
+ * Added current_domain method
4
+ * Added controller & view usage to readme
5
+ * Added more tests
6
+ * Fixing load path
7
+
1
8
  == 2009-08-26
2
9
 
3
10
  * Fixed needs_rewrite? method
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 5
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 0
data/init.rb ADDED
@@ -0,0 +1 @@
1
+ require File.dirname(__FILE__) + "/rails/init"
data/rails/init.rb CHANGED
@@ -1,6 +1,4 @@
1
- # Add this path to ruby load path
2
- $:.unshift "#{File.dirname(__FILE__)}/../lib"
3
-
1
+ #Allow whatever Ruby Package tool is being used ot manage load paths. gem auto adds the gem's lib dir to load path.
4
2
  require 'subdomain-fu' unless defined?(SubdomainFu)
5
3
 
6
4
  ActionController::Base.send :include, SubdomainFu::Controller
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pboling-subdomain-fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
@@ -30,6 +30,7 @@ files:
30
30
  - lib/subdomain-fu.rb
31
31
  - lib/subdomain_fu/routing_extensions.rb
32
32
  - lib/subdomain_fu/url_rewriter.rb
33
+ - init.rb
33
34
  - rails/init.rb
34
35
  - spec/spec.opts
35
36
  - spec/spec_helper.rb