scottmotte-merb-auth-slice-multisite 1.0.10 → 1.1.0
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/README.textile +9 -11
- data/VERSION.yml +2 -2
- metadata +1 -1
data/README.textile
CHANGED
@@ -8,20 +8,14 @@ It has a check to make a user to the site he's trying to login to. If the user d
|
|
8
8
|
|
9
9
|
h2. Instructions for installation:
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
cd ~
|
16
|
-
mkdir sources
|
17
|
-
cd ~/sources
|
18
|
-
git clone git@github.com:scottmotte/merb-auth-slice-multisite.git
|
19
|
-
cd merb-auth-slice-multisite
|
20
|
-
sudo rake install
|
11
|
+
1. Add github as a gem source & install
|
12
|
+
<pre><code>
|
13
|
+
gem sources -a http://gems.github.com
|
14
|
+
sudo gem install scottmotte-merb-auth-slice-multisite
|
21
15
|
</code></pre>
|
22
16
|
|
23
17
|
2. Setup your application to use the gem.* Add the following to the end of dependencies.rb.
|
24
|
-
<pre><code>dependency "merb-auth-slice-multisite",
|
18
|
+
<pre><code>dependency "scottmotte-merb-auth-slice-multisite", :require_as => 'merb-auth-slice-multisite'</code></pre>
|
25
19
|
|
26
20
|
3. Add in mixin. In your user model or in merb/merb-auth/setup.rb add the mixin
|
27
21
|
include Merb::Authentication::Mixins::UserBelongsToSite and then migrate your database.
|
@@ -56,6 +50,10 @@ def get_site
|
|
56
50
|
end
|
57
51
|
</pre></code>
|
58
52
|
|
53
|
+
|
54
|
+
Check out the video. <a href="http://scottmotte.github.com/merb-auth-slice-multisite/">How to install merb-auth-slice-multisite in your application.</a>
|
55
|
+
|
56
|
+
|
59
57
|
h2. Additional details:
|
60
58
|
|
61
59
|
Schema/Migrations. The mixin requires some fields to be in-place in your user model. Where needed include these in your migrations.
|
data/VERSION.yml
CHANGED