muck-friends 3.0.2 → 3.0.3
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/.gitignore +2 -1
- data/VERSION +1 -1
- data/app/views/friend_mailer/{follow.text.html.erb → follow.html.erb} +0 -0
- data/app/views/friend_mailer/{follow.text.plain.erb → follow.text.erb} +0 -0
- data/app/views/friend_mailer/{friend_request.plain.erb → friend_request.text.erb} +0 -0
- data/muck-friends.gemspec +5 -7
- data/test/rails_test/Gemfile +1 -1
- data/test/rails_test/Gemfile.lock +63 -56
- data/test/rails_test/config/initializers/muck.rb +1 -0
- data/test/rails_test/spec/mailers/friend_mailer_spec.rb +1 -2
- metadata +7 -9
data/.gitignore
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/muck-friends.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{muck-friends}
|
|
8
|
-
s.version = "3.0.
|
|
8
|
+
s.version = "3.0.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Justin Ball", "Joel Duffin"]
|
|
12
|
-
s.date = %q{2010-10-
|
|
12
|
+
s.date = %q{2010-10-27}
|
|
13
13
|
s.description = %q{Friend engine for the muck system.}
|
|
14
14
|
s.email = %q{justin@tatemae.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -25,10 +25,10 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
"app/helpers/muck_friends_helper.rb",
|
|
26
26
|
"app/views/activity_templates/_follow.erb",
|
|
27
27
|
"app/views/activity_templates/_friends_with.erb",
|
|
28
|
-
"app/views/friend_mailer/follow.
|
|
29
|
-
"app/views/friend_mailer/follow.text.
|
|
28
|
+
"app/views/friend_mailer/follow.html.erb",
|
|
29
|
+
"app/views/friend_mailer/follow.text.erb",
|
|
30
30
|
"app/views/friend_mailer/friend_request.html.erb",
|
|
31
|
-
"app/views/friend_mailer/friend_request.
|
|
31
|
+
"app/views/friend_mailer/friend_request.text.erb",
|
|
32
32
|
"app/views/friends/_all_friends.html.erb",
|
|
33
33
|
"app/views/friends/_friend_icon.html.erb",
|
|
34
34
|
"app/views/friends/_friend_requests.html.erb",
|
|
@@ -165,8 +165,6 @@ Gem::Specification.new do |s|
|
|
|
165
165
|
"test/rails_test/lib/tasks/.gitkeep",
|
|
166
166
|
"test/rails_test/lib/tasks/cucumber.rake",
|
|
167
167
|
"test/rails_test/log/cucumber.log",
|
|
168
|
-
"test/rails_test/log/development.log",
|
|
169
|
-
"test/rails_test/log/test.log",
|
|
170
168
|
"test/rails_test/public/.htaccess",
|
|
171
169
|
"test/rails_test/public/404.html",
|
|
172
170
|
"test/rails_test/public/422.html",
|
data/test/rails_test/Gemfile
CHANGED
|
@@ -26,7 +26,7 @@ PATH
|
|
|
26
26
|
PATH
|
|
27
27
|
remote: /Users/jbasdf/projects/muck-contents
|
|
28
28
|
specs:
|
|
29
|
-
muck-contents (3.0.
|
|
29
|
+
muck-contents (3.0.2)
|
|
30
30
|
acts-as-taggable-on
|
|
31
31
|
awesome_nested_set
|
|
32
32
|
babelphish
|
|
@@ -41,7 +41,7 @@ PATH
|
|
|
41
41
|
PATH
|
|
42
42
|
remote: /Users/jbasdf/projects/muck-engine
|
|
43
43
|
specs:
|
|
44
|
-
muck-engine (3.0.
|
|
44
|
+
muck-engine (3.0.6)
|
|
45
45
|
overlord
|
|
46
46
|
validation_reflection
|
|
47
47
|
will_paginate (~> 3.0.beta)
|
|
@@ -49,7 +49,7 @@ PATH
|
|
|
49
49
|
PATH
|
|
50
50
|
remote: /Users/jbasdf/projects/muck-friends
|
|
51
51
|
specs:
|
|
52
|
-
muck-friends (3.0.
|
|
52
|
+
muck-friends (3.0.2)
|
|
53
53
|
muck-engine
|
|
54
54
|
muck-profiles
|
|
55
55
|
muck-users
|
|
@@ -57,7 +57,7 @@ PATH
|
|
|
57
57
|
PATH
|
|
58
58
|
remote: /Users/jbasdf/projects/muck-profiles
|
|
59
59
|
specs:
|
|
60
|
-
muck-profiles (3.0.
|
|
60
|
+
muck-profiles (3.0.2)
|
|
61
61
|
geokit
|
|
62
62
|
muck-comments
|
|
63
63
|
muck-contents
|
|
@@ -73,11 +73,11 @@ PATH
|
|
|
73
73
|
PATH
|
|
74
74
|
remote: /Users/jbasdf/projects/muck-users
|
|
75
75
|
specs:
|
|
76
|
-
muck-users (3.0.
|
|
76
|
+
muck-users (3.0.5)
|
|
77
77
|
authlogic
|
|
78
78
|
bcrypt-ruby
|
|
79
79
|
friendly_id
|
|
80
|
-
muck-engine
|
|
80
|
+
muck-engine (>= 3.0.3)
|
|
81
81
|
|
|
82
82
|
PATH
|
|
83
83
|
remote: /Users/jbasdf/projects/other_apps/shoulda
|
|
@@ -88,12 +88,12 @@ GEM
|
|
|
88
88
|
remote: http://rubygems.org/
|
|
89
89
|
specs:
|
|
90
90
|
abstract (1.0.0)
|
|
91
|
-
actionmailer (3.0.
|
|
92
|
-
actionpack (= 3.0.
|
|
91
|
+
actionmailer (3.0.1)
|
|
92
|
+
actionpack (= 3.0.1)
|
|
93
93
|
mail (~> 2.2.5)
|
|
94
|
-
actionpack (3.0.
|
|
95
|
-
activemodel (= 3.0.
|
|
96
|
-
activesupport (= 3.0.
|
|
94
|
+
actionpack (3.0.1)
|
|
95
|
+
activemodel (= 3.0.1)
|
|
96
|
+
activesupport (= 3.0.1)
|
|
97
97
|
builder (~> 2.1.2)
|
|
98
98
|
erubis (~> 2.6.6)
|
|
99
99
|
i18n (~> 0.4.1)
|
|
@@ -101,19 +101,19 @@ GEM
|
|
|
101
101
|
rack-mount (~> 0.6.12)
|
|
102
102
|
rack-test (~> 0.5.4)
|
|
103
103
|
tzinfo (~> 0.3.23)
|
|
104
|
-
activemodel (3.0.
|
|
105
|
-
activesupport (= 3.0.
|
|
104
|
+
activemodel (3.0.1)
|
|
105
|
+
activesupport (= 3.0.1)
|
|
106
106
|
builder (~> 2.1.2)
|
|
107
107
|
i18n (~> 0.4.1)
|
|
108
|
-
activerecord (3.0.
|
|
109
|
-
activemodel (= 3.0.
|
|
110
|
-
activesupport (= 3.0.
|
|
108
|
+
activerecord (3.0.1)
|
|
109
|
+
activemodel (= 3.0.1)
|
|
110
|
+
activesupport (= 3.0.1)
|
|
111
111
|
arel (~> 1.0.0)
|
|
112
112
|
tzinfo (~> 0.3.23)
|
|
113
|
-
activeresource (3.0.
|
|
114
|
-
activemodel (= 3.0.
|
|
115
|
-
activesupport (= 3.0.
|
|
116
|
-
activesupport (3.0.
|
|
113
|
+
activeresource (3.0.1)
|
|
114
|
+
activemodel (= 3.0.1)
|
|
115
|
+
activesupport (= 3.0.1)
|
|
116
|
+
activesupport (3.0.1)
|
|
117
117
|
acts-as-taggable-on (2.0.6)
|
|
118
118
|
arel (1.0.1)
|
|
119
119
|
activesupport (~> 3.0.0)
|
|
@@ -129,28 +129,31 @@ GEM
|
|
|
129
129
|
babosa (0.2.0)
|
|
130
130
|
bcrypt-ruby (2.1.2)
|
|
131
131
|
builder (2.1.2)
|
|
132
|
-
capybara (0.
|
|
132
|
+
capybara (0.4.0)
|
|
133
|
+
celerity (>= 0.7.9)
|
|
133
134
|
culerity (>= 0.2.4)
|
|
134
135
|
mime-types (>= 1.16)
|
|
135
136
|
nokogiri (>= 1.3.3)
|
|
136
137
|
rack (>= 1.0.0)
|
|
137
138
|
rack-test (>= 0.5.4)
|
|
138
|
-
selenium-webdriver (>= 0.0.
|
|
139
|
-
|
|
139
|
+
selenium-webdriver (>= 0.0.27)
|
|
140
|
+
xpath (~> 0.1.2)
|
|
141
|
+
celerity (0.8.2)
|
|
142
|
+
childprocess (0.1.3)
|
|
140
143
|
ffi (~> 0.6.3)
|
|
141
144
|
columnize (0.3.1)
|
|
142
145
|
configuration (1.1.0)
|
|
143
146
|
crack (0.1.8)
|
|
144
|
-
cucumber (0.9.
|
|
147
|
+
cucumber (0.9.3)
|
|
145
148
|
builder (~> 2.1.2)
|
|
146
149
|
diff-lcs (~> 1.1.2)
|
|
147
|
-
gherkin (~> 2.2.
|
|
150
|
+
gherkin (~> 2.2.9)
|
|
148
151
|
json (~> 1.4.6)
|
|
149
152
|
term-ansicolor (~> 1.0.5)
|
|
150
153
|
cucumber-rails (0.3.2)
|
|
151
154
|
cucumber (>= 0.8.0)
|
|
152
155
|
culerity (0.2.12)
|
|
153
|
-
database_cleaner (0.
|
|
156
|
+
database_cleaner (0.6.0)
|
|
154
157
|
diff-lcs (1.1.2)
|
|
155
158
|
disguise (3.0.2)
|
|
156
159
|
erubis (2.6.6)
|
|
@@ -161,22 +164,23 @@ GEM
|
|
|
161
164
|
friendly_id (3.1.7)
|
|
162
165
|
babosa (~> 0.2.0)
|
|
163
166
|
geokit (1.5.0)
|
|
164
|
-
gherkin (2.2.
|
|
167
|
+
gherkin (2.2.9)
|
|
165
168
|
json (~> 1.4.6)
|
|
166
169
|
term-ansicolor (~> 1.0.5)
|
|
167
170
|
httparty (0.6.1)
|
|
168
171
|
crack (= 0.1.8)
|
|
169
|
-
i18n (0.4.
|
|
172
|
+
i18n (0.4.2)
|
|
170
173
|
json (1.4.6)
|
|
171
174
|
json_pure (1.4.6)
|
|
172
175
|
launchy (0.3.7)
|
|
173
176
|
configuration (>= 0.0.5)
|
|
174
177
|
rake (>= 0.8.1)
|
|
175
178
|
linecache (0.43)
|
|
176
|
-
mail (2.2.
|
|
179
|
+
mail (2.2.9)
|
|
177
180
|
activesupport (>= 2.3.6)
|
|
178
|
-
|
|
179
|
-
|
|
181
|
+
i18n (~> 0.4.1)
|
|
182
|
+
mime-types (~> 1.16)
|
|
183
|
+
treetop (~> 1.4.8)
|
|
180
184
|
mime-types (1.16)
|
|
181
185
|
muck-raker (3.0.0)
|
|
182
186
|
muck-shares (3.0.1)
|
|
@@ -184,15 +188,16 @@ GEM
|
|
|
184
188
|
muck-comments
|
|
185
189
|
muck-engine
|
|
186
190
|
muck-users
|
|
187
|
-
muck-solr (0.
|
|
191
|
+
muck-solr (3.0.1)
|
|
188
192
|
mysql (2.8.1)
|
|
189
193
|
nested_set (1.5.2)
|
|
190
194
|
activerecord (>= 3.0.0)
|
|
191
195
|
railties (>= 3.0.0)
|
|
192
196
|
nokogiri (1.4.3.1)
|
|
193
|
-
overlord (3.0.
|
|
197
|
+
overlord (3.0.2)
|
|
194
198
|
httparty
|
|
195
|
-
|
|
199
|
+
json
|
|
200
|
+
paperclip (2.3.5)
|
|
196
201
|
activerecord
|
|
197
202
|
activesupport
|
|
198
203
|
polyglot (0.3.1)
|
|
@@ -201,33 +206,33 @@ GEM
|
|
|
201
206
|
rack (>= 1.0.0)
|
|
202
207
|
rack-test (0.5.6)
|
|
203
208
|
rack (>= 1.0)
|
|
204
|
-
rails (3.0.
|
|
205
|
-
actionmailer (= 3.0.
|
|
206
|
-
actionpack (= 3.0.
|
|
207
|
-
activerecord (= 3.0.
|
|
208
|
-
activeresource (= 3.0.
|
|
209
|
-
activesupport (= 3.0.
|
|
209
|
+
rails (3.0.1)
|
|
210
|
+
actionmailer (= 3.0.1)
|
|
211
|
+
actionpack (= 3.0.1)
|
|
212
|
+
activerecord (= 3.0.1)
|
|
213
|
+
activeresource (= 3.0.1)
|
|
214
|
+
activesupport (= 3.0.1)
|
|
210
215
|
bundler (~> 1.0.0)
|
|
211
|
-
railties (= 3.0.
|
|
212
|
-
railties (3.0.
|
|
213
|
-
actionpack (= 3.0.
|
|
214
|
-
activesupport (= 3.0.
|
|
216
|
+
railties (= 3.0.1)
|
|
217
|
+
railties (3.0.1)
|
|
218
|
+
actionpack (= 3.0.1)
|
|
219
|
+
activesupport (= 3.0.1)
|
|
215
220
|
rake (>= 0.8.4)
|
|
216
221
|
thor (~> 0.14.0)
|
|
217
222
|
rake (0.8.7)
|
|
218
223
|
rcov (0.9.9)
|
|
219
|
-
rspec (2.0.
|
|
220
|
-
rspec-core (
|
|
221
|
-
rspec-expectations (
|
|
222
|
-
rspec-mocks (
|
|
223
|
-
rspec-core (2.0.
|
|
224
|
-
rspec-expectations (2.0.
|
|
224
|
+
rspec (2.0.1)
|
|
225
|
+
rspec-core (~> 2.0.1)
|
|
226
|
+
rspec-expectations (~> 2.0.1)
|
|
227
|
+
rspec-mocks (~> 2.0.1)
|
|
228
|
+
rspec-core (2.0.1)
|
|
229
|
+
rspec-expectations (2.0.1)
|
|
225
230
|
diff-lcs (>= 1.1.2)
|
|
226
|
-
rspec-mocks (2.0.
|
|
227
|
-
rspec-core (
|
|
228
|
-
rspec-expectations (
|
|
229
|
-
rspec-rails (2.0.
|
|
230
|
-
rspec (
|
|
231
|
+
rspec-mocks (2.0.1)
|
|
232
|
+
rspec-core (~> 2.0.1)
|
|
233
|
+
rspec-expectations (~> 2.0.1)
|
|
234
|
+
rspec-rails (2.0.1)
|
|
235
|
+
rspec (~> 2.0.0)
|
|
231
236
|
ruby-debug (0.10.3)
|
|
232
237
|
columnize (>= 0.1)
|
|
233
238
|
ruby-debug-base (~> 0.10.3.0)
|
|
@@ -256,6 +261,8 @@ GEM
|
|
|
256
261
|
validation_reflection (1.0.0)
|
|
257
262
|
will_paginate (3.0.pre2)
|
|
258
263
|
xml-simple (1.0.12)
|
|
264
|
+
xpath (0.1.2)
|
|
265
|
+
nokogiri (~> 1.3)
|
|
259
266
|
ya2yaml (0.30)
|
|
260
267
|
|
|
261
268
|
PLATFORMS
|
|
@@ -281,7 +288,7 @@ DEPENDENCIES
|
|
|
281
288
|
muck-users!
|
|
282
289
|
mysql
|
|
283
290
|
overlord
|
|
284
|
-
rails (= 3.0.
|
|
291
|
+
rails (= 3.0.1)
|
|
285
292
|
rcov
|
|
286
293
|
rspec (>= 2.0.0)
|
|
287
294
|
rspec-rails (>= 2.0.0)
|
|
@@ -55,6 +55,7 @@ end
|
|
|
55
55
|
|
|
56
56
|
MuckProfiles.configure do |config|
|
|
57
57
|
config.enable_solr = false # This enables or disables acts as solr for profiles.
|
|
58
|
+
config.enable_sunspot = false # This enables or disables sunspot for profiles. Only use acts_as_solr or sunspot not both. Sunspot does not include multicore support.
|
|
58
59
|
config.enable_geokit = false # Turn geokit functionality on/off.
|
|
59
60
|
config.enable_guess_location = false # If true the profile system will attempt to determine the user's location via IP and populated with the location, lat and lon fields.
|
|
60
61
|
config.policy = { :public => [:login, :first_name, :last_name, :about],
|
|
@@ -20,9 +20,8 @@ describe FriendMailer do
|
|
|
20
20
|
it "should send friend_request email" do
|
|
21
21
|
inviter = Factory(:user)
|
|
22
22
|
invited = Factory(:user)
|
|
23
|
-
|
|
23
|
+
email = FriendMailer.friend_request(inviter, invited).deliver
|
|
24
24
|
ActionMailer::Base.deliveries.should_not be_empty
|
|
25
|
-
email = ActionMailer::Base.deliveries.last
|
|
26
25
|
email.to.should == [invited.email]
|
|
27
26
|
email.from.should == [MuckEngine.configuration.from_email]
|
|
28
27
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: muck-friends
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 3
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 3.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 3.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Justin Ball
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-10-
|
|
19
|
+
date: 2010-10-27 00:00:00 -06:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -79,10 +79,10 @@ files:
|
|
|
79
79
|
- app/helpers/muck_friends_helper.rb
|
|
80
80
|
- app/views/activity_templates/_follow.erb
|
|
81
81
|
- app/views/activity_templates/_friends_with.erb
|
|
82
|
-
- app/views/friend_mailer/follow.
|
|
83
|
-
- app/views/friend_mailer/follow.text.
|
|
82
|
+
- app/views/friend_mailer/follow.html.erb
|
|
83
|
+
- app/views/friend_mailer/follow.text.erb
|
|
84
84
|
- app/views/friend_mailer/friend_request.html.erb
|
|
85
|
-
- app/views/friend_mailer/friend_request.
|
|
85
|
+
- app/views/friend_mailer/friend_request.text.erb
|
|
86
86
|
- app/views/friends/_all_friends.html.erb
|
|
87
87
|
- app/views/friends/_friend_icon.html.erb
|
|
88
88
|
- app/views/friends/_friend_requests.html.erb
|
|
@@ -219,8 +219,6 @@ files:
|
|
|
219
219
|
- test/rails_test/lib/tasks/.gitkeep
|
|
220
220
|
- test/rails_test/lib/tasks/cucumber.rake
|
|
221
221
|
- test/rails_test/log/cucumber.log
|
|
222
|
-
- test/rails_test/log/development.log
|
|
223
|
-
- test/rails_test/log/test.log
|
|
224
222
|
- test/rails_test/public/.htaccess
|
|
225
223
|
- test/rails_test/public/404.html
|
|
226
224
|
- test/rails_test/public/422.html
|