central_authentication 0.0.4 → 0.0.5

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.
@@ -1,4 +1,7 @@
1
1
  class CentralAuthentication::Connection < ActiveRecord::Base
2
2
  establish_connection "cauth_#{Rails.env}"
3
3
  self.abstract_class = true
4
+ def self.table_name_prefix
5
+ "cauth_#{Rails.env}"
6
+ end
4
7
  end
@@ -2,4 +2,8 @@ class CentralAuthentication::Migration < ActiveRecord::Migration
2
2
  def self.connection
3
3
  CentralAuthentication::Connection.connection
4
4
  end
5
+
6
+ def connection
7
+ CentralAuthentication::Connection.connection
8
+ end
5
9
  end
@@ -1,3 +1,3 @@
1
1
  module CentralAuthentication
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: central_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-17 00:00:00.000000000 Z
12
+ date: 2012-05-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This gem allows you to share a central database and using authlogic stores
15
15
  and retrieves passwords
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project: central_authentication
59
- rubygems_version: 1.8.17
59
+ rubygems_version: 1.8.24
60
60
  signing_key:
61
61
  specification_version: 3
62
62
  summary: Central Authentication using Authlogic