my_feeds 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/README.md +1 -1
- data/lib/my_feeds.rb +3 -0
- data/lib/my_feeds/version.rb +1 -1
- data/lib/rails/generators/templates/like_model.rb +1 -1
- data/spec/models/like.rb +1 -1
- metadata +10 -10
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -46,7 +46,7 @@ just make sure your model have a polymorphic field for feeder.
|
|
46
46
|
and
|
47
47
|
```
|
48
48
|
class YourCustomModel < ActiveRecord::Base
|
49
|
-
include MyFeeds::
|
49
|
+
include MyFeeds::Associate #make sure include this module
|
50
50
|
self.feed_polymorphic = :likeable #and set this, in this case is likeable, it should same as the polymorphic belongs_to
|
51
51
|
|
52
52
|
#same as self.feed_polymorphic
|
data/lib/my_feeds.rb
CHANGED
data/lib/my_feeds/version.rb
CHANGED
data/spec/models/like.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_feeds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,40 +9,40 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
17
|
requirements:
|
19
18
|
- - ~>
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: '1.3'
|
22
|
-
|
21
|
+
none: false
|
23
22
|
prerelease: false
|
23
|
+
type: :development
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
25
|
requirements:
|
27
26
|
- - ~>
|
28
27
|
- !ruby/object:Gem::Version
|
29
28
|
version: '1.3'
|
29
|
+
none: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rake
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
33
|
requirements:
|
35
34
|
- - ! '>='
|
36
35
|
- !ruby/object:Gem::Version
|
37
36
|
version: '0'
|
38
|
-
|
37
|
+
none: false
|
39
38
|
prerelease: false
|
39
|
+
type: :development
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
41
|
requirements:
|
43
42
|
- - ! '>='
|
44
43
|
- !ruby/object:Gem::Version
|
45
44
|
version: '0'
|
45
|
+
none: false
|
46
46
|
description: Help you implement feeds / timeline in rails application.
|
47
47
|
email:
|
48
48
|
- jjyruby@gmail.com
|
@@ -82,17 +82,17 @@ rdoc_options: []
|
|
82
82
|
require_paths:
|
83
83
|
- lib
|
84
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
85
|
requirements:
|
87
86
|
- - ! '>='
|
88
87
|
- !ruby/object:Gem::Version
|
89
88
|
version: '0'
|
90
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
89
|
none: false
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
91
|
requirements:
|
93
92
|
- - ! '>='
|
94
93
|
- !ruby/object:Gem::Version
|
95
94
|
version: '0'
|
95
|
+
none: false
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
98
|
rubygems_version: 1.8.25
|