acts_as_followable 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -0
- data/lib/acts_as_followable/version.rb +1 -1
- data/lib/acts_as_followable.rb +5 -2
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -111,3 +111,8 @@ You can also query Follow model records like this:
|
|
111
111
|
# Follow records from followable
|
112
112
|
Follow.for_followable(book)
|
113
113
|
Follow.for_followable(book).order('created_at')
|
114
|
+
|
115
|
+
== Contributors
|
116
|
+
|
117
|
+
+ {xpepermint}[http://github.com/xpepermint] (Author)
|
118
|
+
+ {afhammad}[http://github.com/afhammad]
|
data/lib/acts_as_followable.rb
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
%w( acts_as_followable/version
|
2
|
-
acts_as_followable/followable
|
2
|
+
acts_as_followable/followable
|
3
3
|
).each do |lib|
|
4
|
-
require File.join(File.dirname(__FILE__), lib)
|
4
|
+
require File.join(File.dirname(__FILE__), lib)
|
5
5
|
end
|
6
6
|
|
7
|
+
require File.join(File.dirname(__FILE__), '..', 'app', 'models', 'follow.rb')
|
8
|
+
require File.join(Rails.root, 'app', 'models', 'follow.rb') rescue nil
|
9
|
+
|
7
10
|
ActiveRecord::Base.send(:include, ActsAsFollowable::Followable)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_followable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kristijan Sedlak
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-15 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|