socialization 0.4.0 → 0.5.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -1
- data/CHANGELOG.md +41 -0
- data/README.md +246 -0
- data/demo/{demo_app/.gitignore → .gitignore} +0 -0
- data/demo/{demo_app/Gemfile → Gemfile} +1 -1
- data/demo/{demo_app/README.rdoc → README.rdoc} +0 -0
- data/demo/{demo_app/Rakefile → Rakefile} +0 -0
- data/demo/{demo_app/app → app}/assets/images/rails.png +0 -0
- data/demo/{demo_app/app → app}/assets/javascripts/application.js +0 -0
- data/demo/{demo_app/app → app}/assets/stylesheets/application.css +0 -0
- data/demo/{demo_app/app → app}/controllers/application_controller.rb +0 -0
- data/demo/{demo_app/app → app}/helpers/application_helper.rb +0 -0
- data/demo/{demo_app/app → app}/mailers/.gitkeep +0 -0
- data/demo/{demo_app/app → app}/models/.gitkeep +0 -0
- data/demo/{demo_app/app → app}/models/celebrity.rb +0 -0
- data/demo/{demo_app/app → app}/models/comment.rb +0 -0
- data/demo/app/models/follow.rb +2 -0
- data/demo/app/models/like.rb +2 -0
- data/demo/app/models/mention.rb +2 -0
- data/demo/{demo_app/app → app}/models/movie.rb +0 -0
- data/demo/{demo_app/app → app}/models/user.rb +0 -0
- data/demo/{demo_app/app → app}/views/layouts/application.html.erb +0 -0
- data/demo/{demo_app/config.ru → config.ru} +0 -0
- data/demo/{demo_app/config → config}/application.rb +0 -0
- data/demo/{demo_app/config → config}/boot.rb +0 -0
- data/demo/{demo_app/config → config}/database.yml +0 -0
- data/demo/{demo_app/config → config}/environment.rb +0 -0
- data/demo/{demo_app/config → config}/environments/development.rb +0 -0
- data/demo/{demo_app/config → config}/environments/production.rb +0 -0
- data/demo/{demo_app/config → config}/environments/test.rb +0 -0
- data/demo/{demo_app/config → config}/initializers/backtrace_silencers.rb +0 -0
- data/demo/{demo_app/config → config}/initializers/inflections.rb +0 -0
- data/demo/{demo_app/config → config}/initializers/mime_types.rb +0 -0
- data/demo/{demo_app/config → config}/initializers/secret_token.rb +0 -0
- data/demo/{demo_app/config → config}/initializers/session_store.rb +1 -1
- data/demo/{demo_app/config → config}/initializers/wrap_parameters.rb +1 -1
- data/demo/{demo_app/config → config}/locales/en.yml +0 -0
- data/demo/{demo_app/config → config}/routes.rb +0 -0
- data/demo/{demo_app/db → db}/migrate/20120115051222_create_users.rb +0 -0
- data/demo/{demo_app/db → db}/migrate/20120115051234_create_movies.rb +0 -0
- data/demo/{demo_app/db → db}/migrate/20120115051255_create_celebrities.rb +0 -0
- data/demo/{demo_app/db → db}/migrate/20120115054646_create_follows.rb +0 -0
- data/demo/{demo_app/db → db}/migrate/20120115054647_create_likes.rb +0 -0
- data/demo/{demo_app/db → db}/migrate/20120221200644_create_mentions.rb +0 -0
- data/demo/{demo_app/db → db}/migrate/20120221202703_create_comments.rb +0 -0
- data/demo/{demo_app/db → db}/schema.rb +0 -1
- data/demo/{demo_app/db → db}/seeds.rb +0 -0
- data/demo/{demo_app/lib → lib}/assets/.gitkeep +0 -0
- data/demo/{demo_app/lib → lib}/tasks/.gitkeep +0 -0
- data/demo/{demo_app/public → public}/404.html +0 -0
- data/demo/{demo_app/public → public}/422.html +0 -0
- data/demo/{demo_app/public → public}/500.html +0 -0
- data/demo/{demo_app/public → public}/favicon.ico +0 -0
- data/demo/{demo_app/public → public}/index.html +0 -0
- data/demo/{demo_app/public → public}/robots.txt +0 -0
- data/demo/{demo_app/script → script}/rails +0 -0
- data/demo/{demo_app/test → test}/fixtures/.gitkeep +0 -0
- data/demo/{demo_app/test → test}/fixtures/celebrities.yml +0 -0
- data/demo/{demo_app/test → test}/fixtures/movies.yml +0 -0
- data/demo/{demo_app/test → test}/fixtures/users.yml +0 -0
- data/demo/{demo_app/test → test}/functional/.gitkeep +0 -0
- data/demo/{demo_app/test → test}/integration/.gitkeep +0 -0
- data/demo/{demo_app/test → test}/performance/browsing_test.rb +0 -0
- data/demo/{demo_app/test → test}/test_helper.rb +0 -0
- data/demo/{demo_app/test → test}/unit/.gitkeep +0 -0
- data/demo/{demo_app/test → test}/unit/celebrity_test.rb +0 -0
- data/demo/{demo_app/test → test}/unit/movie_test.rb +0 -0
- data/demo/{demo_app/test → test}/unit/user_test.rb +0 -0
- data/demo/{demo_app/vendor → vendor}/assets/javascripts/.gitkeep +0 -0
- data/demo/{demo_app/vendor → vendor}/assets/stylesheets/.gitkeep +0 -0
- data/demo/{demo_app/vendor → vendor}/plugins/.gitkeep +0 -0
- data/lib/generators/socialization/socialization_generator.rb +20 -9
- data/{generators/socialization/templates → lib/generators/socialization/templates/active_record}/migration_follows.rb +0 -0
- data/{generators/socialization/templates → lib/generators/socialization/templates/active_record}/migration_likes.rb +0 -0
- data/{generators/socialization/templates → lib/generators/socialization/templates/active_record}/migration_mentions.rb +0 -0
- data/lib/generators/socialization/templates/active_record/model_follow.rb +2 -0
- data/lib/generators/socialization/templates/active_record/model_like.rb +2 -0
- data/lib/generators/socialization/templates/active_record/model_mention.rb +2 -0
- data/lib/socialization.rb +3 -5
- data/lib/socialization/actors/follower.rb +74 -0
- data/lib/socialization/actors/liker.rb +74 -0
- data/lib/socialization/actors/mentioner.rb +74 -0
- data/lib/socialization/acts_as_helpers.rb +43 -0
- data/lib/socialization/config.rb +45 -0
- data/lib/socialization/helpers/string.rb +17 -0
- data/lib/socialization/stores/active_record/follow_store.rb +143 -0
- data/lib/socialization/stores/active_record/like_store.rb +143 -0
- data/lib/socialization/stores/active_record/mention_store.rb +143 -0
- data/lib/socialization/stores/redis/base.rb +8 -0
- data/lib/socialization/stores/redis/config.rb +11 -0
- data/lib/socialization/stores/redis/follow_store.rb +126 -0
- data/lib/socialization/stores/redis/like_store.rb +126 -0
- data/lib/socialization/stores/redis/mention_store.rb +126 -0
- data/lib/socialization/version.rb +1 -1
- data/lib/socialization/victims/followable.rb +38 -0
- data/lib/socialization/victims/likeable.rb +38 -0
- data/lib/socialization/victims/mentionable.rb +38 -0
- data/socialization.gemspec +3 -3
- data/test/actors/follower_test.rb +74 -0
- data/test/actors/liker_test.rb +74 -0
- data/test/actors/mentioner_test.rb +74 -0
- data/test/stores/active_record/follow_store_test.rb +121 -0
- data/test/stores/active_record/like_store_test.rb +121 -0
- data/test/stores/active_record/mention_store_test.rb +121 -0
- data/test/stores/redis/config_test.rb +30 -0
- data/test/stores/redis/follow_store_test.rb +153 -0
- data/test/stores/redis/like_store_test.rb +153 -0
- data/test/stores/redis/mention_store_test.rb +153 -0
- data/test/string_test.rb +13 -0
- data/test/test_helper.rb +70 -12
- data/test/victims/followable_test.rb +34 -0
- data/test/victims/likeable_test.rb +34 -0
- data/test/victims/mentionable_test.rb +34 -0
- data/test/world_test.rb +80 -69
- metadata +261 -176
- data/README.rdoc +0 -186
- data/demo/demo_app/app/models/follow.rb +0 -3
- data/demo/demo_app/app/models/like.rb +0 -3
- data/demo/demo_app/app/models/mention.rb +0 -3
- data/demo/demo_app/doc/README_FOR_APP +0 -2
- data/gemfiles/activerecord30.gemfile +0 -6
- data/gemfiles/activerecord30.gemfile.lock +0 -23
- data/gemfiles/activerecord31.gemfile +0 -6
- data/gemfiles/activerecord31.gemfile.lock +0 -25
- data/gemfiles/activerecord32.gemfile +0 -6
- data/gemfiles/activerecord32.gemfile.lock +0 -25
- data/generators/socialization/USAGE +0 -1
- data/generators/socialization/socialization_generator.rb +0 -15
- data/generators/socialization/templates/model_follow.rb +0 -3
- data/generators/socialization/templates/model_like.rb +0 -3
- data/generators/socialization/templates/model_mention.rb +0 -3
- data/lib/socialization/follow_store.rb +0 -14
- data/lib/socialization/followable.rb +0 -34
- data/lib/socialization/follower.rb +0 -50
- data/lib/socialization/hello.rb +0 -53
- data/lib/socialization/like_store.rb +0 -14
- data/lib/socialization/likeable.rb +0 -34
- data/lib/socialization/liker.rb +0 -54
- data/lib/socialization/mention_store.rb +0 -14
- data/lib/socialization/mentionable.rb +0 -36
- data/lib/socialization/mentioner.rb +0 -54
- data/test/follow_test.rb +0 -125
- data/test/like_test.rb +0 -125
- data/test/mention_test.rb +0 -116
metadata
CHANGED
@@ -1,230 +1,315 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: socialization
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 2135628231
|
5
|
+
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
- beta
|
11
|
+
version: 0.5.0.beta
|
6
12
|
platform: ruby
|
7
|
-
authors:
|
13
|
+
authors:
|
8
14
|
- Carl Mercier
|
9
15
|
autorequire:
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
18
|
+
|
19
|
+
date: 2012-06-06 00:00:00 -04:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
15
23
|
name: activerecord
|
16
|
-
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
26
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
22
34
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
26
37
|
name: appraisal
|
27
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
40
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
33
48
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
37
51
|
name: logger
|
38
|
-
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
54
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
44
62
|
type: :development
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
63
|
+
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
48
65
|
name: mocha
|
49
|
-
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
68
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
55
76
|
type: :development
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
77
|
+
version_requirements: *id004
|
78
|
+
- !ruby/object:Gem::Dependency
|
59
79
|
name: shoulda
|
60
|
-
|
80
|
+
prerelease: false
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
82
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
version: "0"
|
66
90
|
type: :development
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: *id005
|
92
|
+
- !ruby/object:Gem::Dependency
|
70
93
|
name: sqlite3
|
71
|
-
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
104
|
+
type: :development
|
105
|
+
version_requirements: *id006
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: yard
|
108
|
+
prerelease: false
|
109
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
72
110
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
hash: 3
|
115
|
+
segments:
|
116
|
+
- 0
|
117
|
+
version: "0"
|
77
118
|
type: :development
|
119
|
+
version_requirements: *id007
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: mock_redis
|
78
122
|
prerelease: false
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
123
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
hash: 3
|
129
|
+
segments:
|
130
|
+
- 0
|
131
|
+
version: "0"
|
132
|
+
type: :development
|
133
|
+
version_requirements: *id008
|
134
|
+
description: Socialization allows any model to Follow and/or Like any other model. This is accomplished through a double polymorphic relationship on the Follow and Like models. But you don't need to know that since all the complexity is hidden from you.
|
84
135
|
email: carl@carlmercier.com
|
85
136
|
executables: []
|
137
|
+
|
86
138
|
extensions: []
|
87
|
-
|
88
|
-
|
89
|
-
|
139
|
+
|
140
|
+
extra_rdoc_files: []
|
141
|
+
|
142
|
+
files:
|
90
143
|
- .gitignore
|
91
144
|
- .travis.yml
|
92
145
|
- Appraisals
|
146
|
+
- CHANGELOG.md
|
93
147
|
- Gemfile
|
94
148
|
- LICENSE
|
95
|
-
- README.
|
149
|
+
- README.md
|
96
150
|
- Rakefile
|
97
|
-
- demo
|
98
|
-
- demo/
|
99
|
-
- demo/
|
100
|
-
- demo/
|
101
|
-
- demo/
|
102
|
-
- demo/
|
103
|
-
- demo/
|
104
|
-
- demo/
|
105
|
-
- demo/
|
106
|
-
- demo/
|
107
|
-
- demo/
|
108
|
-
- demo/
|
109
|
-
- demo/
|
110
|
-
- demo/
|
111
|
-
- demo/
|
112
|
-
- demo/
|
113
|
-
- demo/
|
114
|
-
- demo/
|
115
|
-
- demo/
|
116
|
-
- demo/
|
117
|
-
- demo/
|
118
|
-
- demo/
|
119
|
-
- demo/
|
120
|
-
- demo/
|
121
|
-
- demo/
|
122
|
-
- demo/
|
123
|
-
- demo/
|
124
|
-
- demo/
|
125
|
-
- demo/
|
126
|
-
- demo/
|
127
|
-
- demo/
|
128
|
-
- demo/
|
129
|
-
- demo/
|
130
|
-
- demo/
|
131
|
-
- demo/
|
132
|
-
- demo/
|
133
|
-
- demo/
|
134
|
-
- demo/
|
135
|
-
- demo/
|
136
|
-
- demo/
|
137
|
-
- demo/
|
138
|
-
- demo/
|
139
|
-
- demo/
|
140
|
-
- demo/
|
141
|
-
- demo/
|
142
|
-
- demo/
|
143
|
-
- demo/
|
144
|
-
- demo/
|
145
|
-
- demo/
|
146
|
-
- demo/
|
147
|
-
- demo/
|
148
|
-
- demo/
|
149
|
-
- demo/
|
150
|
-
- demo/
|
151
|
-
- demo/
|
152
|
-
- demo/
|
153
|
-
- demo/
|
154
|
-
- demo/
|
155
|
-
- demo/
|
156
|
-
- demo/
|
157
|
-
- demo/
|
158
|
-
- demo/
|
159
|
-
- demo/
|
160
|
-
- demo/
|
161
|
-
- demo/
|
162
|
-
- demo/
|
163
|
-
- demo/
|
164
|
-
- demo/
|
165
|
-
- demo/demo_app/vendor/plugins/.gitkeep
|
166
|
-
- gemfiles/activerecord30.gemfile
|
167
|
-
- gemfiles/activerecord30.gemfile.lock
|
168
|
-
- gemfiles/activerecord31.gemfile
|
169
|
-
- gemfiles/activerecord31.gemfile.lock
|
170
|
-
- gemfiles/activerecord32.gemfile
|
171
|
-
- gemfiles/activerecord32.gemfile.lock
|
172
|
-
- generators/socialization/USAGE
|
173
|
-
- generators/socialization/socialization_generator.rb
|
174
|
-
- generators/socialization/templates/migration_follows.rb
|
175
|
-
- generators/socialization/templates/migration_likes.rb
|
176
|
-
- generators/socialization/templates/migration_mentions.rb
|
177
|
-
- generators/socialization/templates/model_follow.rb
|
178
|
-
- generators/socialization/templates/model_like.rb
|
179
|
-
- generators/socialization/templates/model_mention.rb
|
151
|
+
- demo/.gitignore
|
152
|
+
- demo/Gemfile
|
153
|
+
- demo/README.rdoc
|
154
|
+
- demo/Rakefile
|
155
|
+
- demo/app/assets/images/rails.png
|
156
|
+
- demo/app/assets/javascripts/application.js
|
157
|
+
- demo/app/assets/stylesheets/application.css
|
158
|
+
- demo/app/controllers/application_controller.rb
|
159
|
+
- demo/app/helpers/application_helper.rb
|
160
|
+
- demo/app/mailers/.gitkeep
|
161
|
+
- demo/app/models/.gitkeep
|
162
|
+
- demo/app/models/celebrity.rb
|
163
|
+
- demo/app/models/comment.rb
|
164
|
+
- demo/app/models/follow.rb
|
165
|
+
- demo/app/models/like.rb
|
166
|
+
- demo/app/models/mention.rb
|
167
|
+
- demo/app/models/movie.rb
|
168
|
+
- demo/app/models/user.rb
|
169
|
+
- demo/app/views/layouts/application.html.erb
|
170
|
+
- demo/config.ru
|
171
|
+
- demo/config/application.rb
|
172
|
+
- demo/config/boot.rb
|
173
|
+
- demo/config/database.yml
|
174
|
+
- demo/config/environment.rb
|
175
|
+
- demo/config/environments/development.rb
|
176
|
+
- demo/config/environments/production.rb
|
177
|
+
- demo/config/environments/test.rb
|
178
|
+
- demo/config/initializers/backtrace_silencers.rb
|
179
|
+
- demo/config/initializers/inflections.rb
|
180
|
+
- demo/config/initializers/mime_types.rb
|
181
|
+
- demo/config/initializers/secret_token.rb
|
182
|
+
- demo/config/initializers/session_store.rb
|
183
|
+
- demo/config/initializers/wrap_parameters.rb
|
184
|
+
- demo/config/locales/en.yml
|
185
|
+
- demo/config/routes.rb
|
186
|
+
- demo/db/migrate/20120115051222_create_users.rb
|
187
|
+
- demo/db/migrate/20120115051234_create_movies.rb
|
188
|
+
- demo/db/migrate/20120115051255_create_celebrities.rb
|
189
|
+
- demo/db/migrate/20120115054646_create_follows.rb
|
190
|
+
- demo/db/migrate/20120115054647_create_likes.rb
|
191
|
+
- demo/db/migrate/20120221200644_create_mentions.rb
|
192
|
+
- demo/db/migrate/20120221202703_create_comments.rb
|
193
|
+
- demo/db/schema.rb
|
194
|
+
- demo/db/seeds.rb
|
195
|
+
- demo/lib/assets/.gitkeep
|
196
|
+
- demo/lib/tasks/.gitkeep
|
197
|
+
- demo/public/404.html
|
198
|
+
- demo/public/422.html
|
199
|
+
- demo/public/500.html
|
200
|
+
- demo/public/favicon.ico
|
201
|
+
- demo/public/index.html
|
202
|
+
- demo/public/robots.txt
|
203
|
+
- demo/script/rails
|
204
|
+
- demo/test/fixtures/.gitkeep
|
205
|
+
- demo/test/fixtures/celebrities.yml
|
206
|
+
- demo/test/fixtures/movies.yml
|
207
|
+
- demo/test/fixtures/users.yml
|
208
|
+
- demo/test/functional/.gitkeep
|
209
|
+
- demo/test/integration/.gitkeep
|
210
|
+
- demo/test/performance/browsing_test.rb
|
211
|
+
- demo/test/test_helper.rb
|
212
|
+
- demo/test/unit/.gitkeep
|
213
|
+
- demo/test/unit/celebrity_test.rb
|
214
|
+
- demo/test/unit/movie_test.rb
|
215
|
+
- demo/test/unit/user_test.rb
|
216
|
+
- demo/vendor/assets/javascripts/.gitkeep
|
217
|
+
- demo/vendor/assets/stylesheets/.gitkeep
|
218
|
+
- demo/vendor/plugins/.gitkeep
|
180
219
|
- init.rb
|
181
220
|
- lib/generators/socialization/socialization_generator.rb
|
221
|
+
- lib/generators/socialization/templates/active_record/migration_follows.rb
|
222
|
+
- lib/generators/socialization/templates/active_record/migration_likes.rb
|
223
|
+
- lib/generators/socialization/templates/active_record/migration_mentions.rb
|
224
|
+
- lib/generators/socialization/templates/active_record/model_follow.rb
|
225
|
+
- lib/generators/socialization/templates/active_record/model_like.rb
|
226
|
+
- lib/generators/socialization/templates/active_record/model_mention.rb
|
182
227
|
- lib/socialization.rb
|
183
|
-
- lib/socialization/
|
184
|
-
- lib/socialization/
|
185
|
-
- lib/socialization/
|
186
|
-
- lib/socialization/
|
187
|
-
- lib/socialization/
|
188
|
-
- lib/socialization/
|
189
|
-
- lib/socialization/
|
190
|
-
- lib/socialization/
|
191
|
-
- lib/socialization/
|
192
|
-
- lib/socialization/
|
228
|
+
- lib/socialization/actors/follower.rb
|
229
|
+
- lib/socialization/actors/liker.rb
|
230
|
+
- lib/socialization/actors/mentioner.rb
|
231
|
+
- lib/socialization/acts_as_helpers.rb
|
232
|
+
- lib/socialization/config.rb
|
233
|
+
- lib/socialization/helpers/string.rb
|
234
|
+
- lib/socialization/stores/active_record/follow_store.rb
|
235
|
+
- lib/socialization/stores/active_record/like_store.rb
|
236
|
+
- lib/socialization/stores/active_record/mention_store.rb
|
237
|
+
- lib/socialization/stores/redis/base.rb
|
238
|
+
- lib/socialization/stores/redis/config.rb
|
239
|
+
- lib/socialization/stores/redis/follow_store.rb
|
240
|
+
- lib/socialization/stores/redis/like_store.rb
|
241
|
+
- lib/socialization/stores/redis/mention_store.rb
|
193
242
|
- lib/socialization/version.rb
|
243
|
+
- lib/socialization/victims/followable.rb
|
244
|
+
- lib/socialization/victims/likeable.rb
|
245
|
+
- lib/socialization/victims/mentionable.rb
|
194
246
|
- socialization.gemspec
|
195
|
-
- test/
|
196
|
-
- test/
|
197
|
-
- test/
|
247
|
+
- test/actors/follower_test.rb
|
248
|
+
- test/actors/liker_test.rb
|
249
|
+
- test/actors/mentioner_test.rb
|
250
|
+
- test/stores/active_record/follow_store_test.rb
|
251
|
+
- test/stores/active_record/like_store_test.rb
|
252
|
+
- test/stores/active_record/mention_store_test.rb
|
253
|
+
- test/stores/redis/config_test.rb
|
254
|
+
- test/stores/redis/follow_store_test.rb
|
255
|
+
- test/stores/redis/like_store_test.rb
|
256
|
+
- test/stores/redis/mention_store_test.rb
|
257
|
+
- test/string_test.rb
|
198
258
|
- test/test_helper.rb
|
259
|
+
- test/victims/followable_test.rb
|
260
|
+
- test/victims/likeable_test.rb
|
261
|
+
- test/victims/mentionable_test.rb
|
199
262
|
- test/world_test.rb
|
263
|
+
has_rdoc: false
|
200
264
|
homepage: https://github.com/cmer/socialization
|
201
265
|
licenses: []
|
266
|
+
|
202
267
|
post_install_message:
|
203
|
-
rdoc_options:
|
204
|
-
|
205
|
-
require_paths:
|
268
|
+
rdoc_options: []
|
269
|
+
|
270
|
+
require_paths:
|
206
271
|
- lib
|
207
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
272
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
208
273
|
none: false
|
209
|
-
requirements:
|
210
|
-
- -
|
211
|
-
- !ruby/object:Gem::Version
|
212
|
-
|
213
|
-
|
274
|
+
requirements:
|
275
|
+
- - ">="
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
hash: 3
|
278
|
+
segments:
|
279
|
+
- 0
|
280
|
+
version: "0"
|
281
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
282
|
none: false
|
215
|
-
requirements:
|
216
|
-
- -
|
217
|
-
- !ruby/object:Gem::Version
|
218
|
-
|
283
|
+
requirements:
|
284
|
+
- - ">"
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
hash: 25
|
287
|
+
segments:
|
288
|
+
- 1
|
289
|
+
- 3
|
290
|
+
- 1
|
291
|
+
version: 1.3.1
|
219
292
|
requirements: []
|
293
|
+
|
220
294
|
rubyforge_project:
|
221
|
-
rubygems_version: 1.
|
295
|
+
rubygems_version: 1.6.2
|
222
296
|
signing_key:
|
223
297
|
specification_version: 3
|
224
298
|
summary: Easily socialize your app with Likes and Follows
|
225
|
-
test_files:
|
226
|
-
- test/
|
227
|
-
- test/
|
228
|
-
- test/
|
299
|
+
test_files:
|
300
|
+
- test/actors/follower_test.rb
|
301
|
+
- test/actors/liker_test.rb
|
302
|
+
- test/actors/mentioner_test.rb
|
303
|
+
- test/stores/active_record/follow_store_test.rb
|
304
|
+
- test/stores/active_record/like_store_test.rb
|
305
|
+
- test/stores/active_record/mention_store_test.rb
|
306
|
+
- test/stores/redis/config_test.rb
|
307
|
+
- test/stores/redis/follow_store_test.rb
|
308
|
+
- test/stores/redis/like_store_test.rb
|
309
|
+
- test/stores/redis/mention_store_test.rb
|
310
|
+
- test/string_test.rb
|
229
311
|
- test/test_helper.rb
|
312
|
+
- test/victims/followable_test.rb
|
313
|
+
- test/victims/likeable_test.rb
|
314
|
+
- test/victims/mentionable_test.rb
|
230
315
|
- test/world_test.rb
|