acts_as_followable 0.1.4 → 0.1.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.
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]
@@ -2,7 +2,7 @@ module ActsAsFollowable
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
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: 2010-11-10 00:00:00 +01:00
18
+ date: 2011-02-15 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21