muck-services 0.1.26 → 0.1.27
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.27
|
@@ -1,13 +1,14 @@
|
|
1
1
|
<% cache(@cache_key) do %>
|
2
2
|
<html>
|
3
3
|
<body style="margin:0;padding:0;">
|
4
|
-
<div style="padding-bottom:5px;margin:0 1px 0 3px;background-color:white;border-left:1px solid black;border-right:1px solid black;border-bottom:1px solid black;">
|
5
|
-
<ul style="margin:0 2px 2px;padding:0px;font-family:Arial,Helvetica,sans-serif;">
|
6
|
-
<% @recommendations.results.each_with_index do |r, i| %>
|
7
|
-
<li style="margin-left: 0px; padding: 3px; list-style-type: none; font-size: 12px; <%= (i % 2 == 0) ? 'background-color:#E6E6E6;' : '' %>"
|
8
|
-
|
9
|
-
|
10
|
-
</
|
4
|
+
<div style="padding-bottom:5px;margin:0 1px 0 3px;background-color:white;border-left:1px solid black;border-right:1px solid black;border-bottom:1px solid black;">
|
5
|
+
<ul style="margin:0 2px 2px;padding:0px;font-family:Arial,Helvetica,sans-serif;">
|
6
|
+
<% @recommendations.results.each_with_index do |r, i| %>
|
7
|
+
<li style="margin-left: 0px; padding: 3px; list-style-type: none; font-size: 12px; <%= (i % 2 == 0) ? 'background-color:#E6E6E6;' : '' %>">
|
8
|
+
<%= link_to "#{r.title} (#{r.collection})", visit_path(r), :target => '_top' %></li>
|
9
|
+
<% end %>
|
10
|
+
</ul>
|
11
|
+
</div>
|
11
12
|
</body>
|
12
13
|
</html>
|
13
14
|
<% end %>
|
@@ -22,6 +22,7 @@ module ActiveRecord
|
|
22
22
|
|
23
23
|
def after_create
|
24
24
|
if self.commentable.is_a?(Entry)
|
25
|
+
return if self.user.blank?
|
25
26
|
# Create a new entry_comment activity. Attach the activity to the entry via self.commentable
|
26
27
|
# Include all users in the discussion ie all users from all comments attached to self.commentable
|
27
28
|
feed_to = []
|
data/muck-services.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-services}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.27"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Joel Duffin", "Justin Ball"]
|
12
|
-
s.date = %q{2010-01-
|
12
|
+
s.date = %q{2010-01-06}
|
13
13
|
s.description = %q{This gem contains the rails specific code for dealing with feeds, aggregations and recommendations. It is meant to work with the muck-raker gem.}
|
14
14
|
s.email = %q{justin@tatemae.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -17,10 +17,6 @@ class ActiveSupport::TestCase
|
|
17
17
|
TEST_RSS_URI = 'http://www.engadget.com/rss.xml'
|
18
18
|
TEST_USERNAME_TEMPLATE = 'http://feeds.delicious.com/v2/rss/{username}?count=100'
|
19
19
|
|
20
|
-
def ensure_flash(val)
|
21
|
-
assert_contains flash.values, val, ", Flash: #{flash.inspect}"
|
22
|
-
end
|
23
|
-
|
24
20
|
end
|
25
21
|
|
26
22
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Duffin
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-01-
|
13
|
+
date: 2010-01-06 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|