muck-activities 0.1.8 → 0.1.9

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.8
1
+ 0.1.9
@@ -0,0 +1,68 @@
1
+ module MuckActivity # :nodoc:
2
+
3
+ def self.included(base) # :nodoc:
4
+ base.extend ActMethods
5
+ end
6
+
7
+ module ActMethods
8
+
9
+ # +has_activities+ gives the class it is called on an activity feed and a method called
10
+ # +add_activity+ that can add activities into a feed. Retrieve activity feed items
11
+ # via object.activities. ie @user.activities.
12
+ def has_activities
13
+ unless included_modules.include? InstanceMethods
14
+ has_many :activity_feeds, :as => :ownable
15
+ has_many :activities, :through => :activity_feeds, :order => 'created_at desc'
16
+ include InstanceMethods
17
+ end
18
+ end
19
+
20
+ # +acts_as_activity_source+ gives the class it is called on a method called
21
+ # +add_activity+ that can add activities into a feed.
22
+ def acts_as_activity_source
23
+ unless included_modules.include? InstanceMethods
24
+ include InstanceMethods
25
+ end
26
+ end
27
+
28
+ end
29
+
30
+ module InstanceMethods
31
+
32
+ # +add_activity+ adds an activity to all activites feeds that belong to the objects found in feed_to.
33
+ # * +feed_to+: an array of objects that have +has_activities+ declared on them. The generated activity
34
+ # will be pushed into the feed of each of these objects.
35
+ # * +source+: the object that peformed the activity ie a user or group
36
+ # * +item+: an object that will be used to generated the entry in an activity feed
37
+ # * +template+: name of an partial that will be used to generated the entry in the activity feed. Place
38
+ # templates in /app/views/activity_templates
39
+ # * +title+: optional title that can be used in the template
40
+ # * +content+: option content that can be used in the template. Useful for activities that might not have
41
+ # an item but instead might have a message or other text.
42
+ # * +check_method+: method that will be called on each item in the feed_to array. If the method evaluates
43
+ # to false the activity won't be added to the object's activity feed. An example usage would be
44
+ # letting users configure which items they want to have in their activity feed.
45
+ def add_activity(feed_to, source, item, template, title = '', content = '', check_method = nil)
46
+ feed_to = [feed_to] unless feed_to.is_a?(Array)
47
+ activity = Activity.create(:item => item, :source => source, :template => template, :title => title, :content => content)
48
+ feed_to.each do |ft|
49
+ if check_method
50
+ ft.activities << activity if ft.send(check_method)
51
+ else
52
+ ft.activities << activity
53
+ end
54
+ end
55
+ end
56
+
57
+ # +status+ returns the first activity item from the user's activity feed that is a status update.
58
+ # Used for displaying the last status update the user made
59
+ def status
60
+ self.activities.find(:first, :conditions => ['is_status_update = true'], :order => 'created_at DESC')
61
+ end
62
+
63
+ def can_view?(check_object)
64
+ self == check_object
65
+ end
66
+ end
67
+
68
+ end
@@ -0,0 +1,68 @@
1
+ module MuckActivity # :nodoc:
2
+
3
+ def self.included(base) # :nodoc:
4
+ base.extend ActMethods
5
+ end
6
+
7
+ module ActMethods
8
+
9
+ # +has_activities+ gives the class it is called on an activity feed and a method called
10
+ # +add_activity+ that can add activities into a feed. Retrieve activity feed items
11
+ # via object.activities. ie @user.activities.
12
+ def has_activities
13
+ unless included_modules.include? InstanceMethods
14
+ has_many :activity_feeds, :as => :ownable
15
+ has_many :activities, :through => :activity_feeds, :order => 'created_at desc'
16
+ include InstanceMethods
17
+ end
18
+ end
19
+
20
+ # +acts_as_activity_source+ gives the class it is called on a method called
21
+ # +add_activity+ that can add activities into a feed.
22
+ def acts_as_activity_source
23
+ unless included_modules.include? InstanceMethods
24
+ include InstanceMethods
25
+ end
26
+ end
27
+
28
+ end
29
+
30
+ module InstanceMethods
31
+
32
+ # +add_activity+ adds an activity to all activites feeds that belong to the objects found in feed_to.
33
+ # * +feed_to+: an array of objects that have +has_activities+ declared on them. The generated activity
34
+ # will be pushed into the feed of each of these objects.
35
+ # * +source+: the object that peformed the activity ie a user or group
36
+ # * +item+: an object that will be used to generated the entry in an activity feed
37
+ # * +template+: name of an partial that will be used to generated the entry in the activity feed. Place
38
+ # templates in /app/views/activity_templates
39
+ # * +title+: optional title that can be used in the template
40
+ # * +content+: option content that can be used in the template. Useful for activities that might not have
41
+ # an item but instead might have a message or other text.
42
+ # * +check_method+: method that will be called on each item in the feed_to array. If the method evaluates
43
+ # to false the activity won't be added to the object's activity feed. An example usage would be
44
+ # letting users configure which items they want to have in their activity feed.
45
+ def add_activity(feed_to, source, item, template, title = '', content = '', check_method = nil)
46
+ feed_to = [feed_to] unless feed_to.is_a?(Array)
47
+ activity = Activity.create(:item => item, :source => source, :template => template, :title => title, :content => content)
48
+ feed_to.each do |ft|
49
+ if check_method
50
+ ft.activities << activity if ft.send(check_method)
51
+ else
52
+ ft.activities << activity
53
+ end
54
+ end
55
+ end
56
+
57
+ # +status+ returns the first activity item from the user's activity feed that is a status update.
58
+ # Used for displaying the last status update the user made
59
+ def status
60
+ self.activities.find(:first, :conditions => ['is_status_update = true'], :order => 'created_at DESC')
61
+ end
62
+
63
+ def can_view?(check_object)
64
+ self == check_object
65
+ end
66
+ end
67
+
68
+ end
@@ -2,7 +2,7 @@ require 'rake'
2
2
  require 'rake/tasklib'
3
3
  require 'fileutils'
4
4
 
5
- module MuckActivity
5
+ module MuckActivities
6
6
  class Tasks < ::Rake::TaskLib
7
7
  def initialize
8
8
  define
@@ -12,8 +12,8 @@ module MuckActivity
12
12
  def define
13
13
 
14
14
  namespace :muck do
15
- namespace :activity do
16
- desc "Sync required files from activity."
15
+ namespace :activities do
16
+ desc "Sync required files from muck activities."
17
17
  task :sync do
18
18
  path = File.join(File.dirname(__FILE__), *%w[.. ..])
19
19
  system "rsync -ruv #{path}/db ."
@@ -25,4 +25,4 @@ module MuckActivity
25
25
  end
26
26
  end
27
27
  end
28
- MuckActivity::Tasks.new
28
+ MuckActivities::Tasks.new
@@ -1,74 +1,6 @@
1
1
  require 'cgi'
2
2
  require 'muck_activities/initialize_routes'
3
-
4
- module MuckActivity # :nodoc:
5
-
6
- def self.included(base) # :nodoc:
7
- base.extend ActMethods
8
- end
9
-
10
- module ActMethods
11
-
12
- # +has_activities+ gives the class it is called on an activity feed and a method called
13
- # +add_activity+ that can add activities into a feed. Retrieve activity feed items
14
- # via object.activities. ie @user.activities.
15
- def has_activities
16
- unless included_modules.include? InstanceMethods
17
- has_many :activity_feeds, :as => :ownable
18
- has_many :activities, :through => :activity_feeds, :order => 'created_at desc'
19
- include InstanceMethods
20
- end
21
- end
22
-
23
- # +acts_as_activity_source+ gives the class it is called on a method called
24
- # +add_activity+ that can add activities into a feed.
25
- def acts_as_activity_source
26
- unless included_modules.include? InstanceMethods
27
- include InstanceMethods
28
- end
29
- end
30
-
31
- end
32
-
33
- module InstanceMethods
34
-
35
- # +add_activity+ adds an activity to all activites feeds that belong to the objects found in feed_to.
36
- # * +feed_to+: an array of objects that have +has_activities+ declared on them. The generated activity
37
- # will be pushed into the feed of each of these objects.
38
- # * +source+: the object that peformed the activity ie a user or group
39
- # * +item+: an object that will be used to generated the entry in an activity feed
40
- # * +template+: name of an partial that will be used to generated the entry in the activity feed. Place
41
- # templates in /app/views/activity_templates
42
- # * +title+: optional title that can be used in the template
43
- # * +content+: option content that can be used in the template. Useful for activities that might not have
44
- # an item but instead might have a message or other text.
45
- # * +check_method+: method that will be called on each item in the feed_to array. If the method evaluates
46
- # to false the activity won't be added to the object's activity feed. An example usage would be
47
- # letting users configure which items they want to have in their activity feed.
48
- def add_activity(feed_to, source, item, template, title = '', content = '', check_method = nil)
49
- feed_to = [feed_to] unless feed_to.is_a?(Array)
50
- activity = Activity.create(:item => item, :source => source, :template => template, :title => title, :content => content)
51
- feed_to.each do |ft|
52
- if check_method
53
- ft.activities << activity if ft.send(check_method)
54
- else
55
- ft.activities << activity
56
- end
57
- end
58
- end
59
-
60
- # +status+ returns the first activity item from the user's activity feed that is a status update.
61
- # Used for displaying the last status update the user made
62
- def status
63
- self.activities.find(:first, :conditions => ['is_status_update = true'], :order => 'created_at DESC')
64
- end
65
-
66
- def can_view?(check_object)
67
- self == check_object
68
- end
69
- end
70
-
71
- end
3
+ require 'muck_activities/muck_activity'
72
4
 
73
5
  ActionController::Base.send :helper, MuckActivityHelper
74
6
  ActiveRecord::Base.send(:include, MuckActivity)
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{muck-activities}
5
- s.version = "0.1.8"
5
+ s.version = "0.1.9"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Justin Ball"]
9
- s.date = %q{2009-06-16}
9
+ s.date = %q{2009-06-18}
10
10
  s.description = %q{Activity engine for the muck system.}
11
11
  s.email = %q{justinball@gmail.com}
12
12
  s.extra_rdoc_files = [
@@ -52,8 +52,10 @@ Gem::Specification.new do |s|
52
52
  "install.rb",
53
53
  "lib/muck_activities.rb",
54
54
  "lib/muck_activities.rb",
55
+ "lib/muck_activities/active_record/acts/muck_activity.rb",
55
56
  "lib/muck_activities/initialize_routes.rb",
56
57
  "lib/muck_activities/initialize_routes.rb",
58
+ "lib/muck_activities/muck_activity.rb",
57
59
  "lib/muck_activities/tasks.rb",
58
60
  "lib/muck_activities/tasks.rb",
59
61
  "locales/ar.yml",
@@ -121,7 +123,6 @@ Gem::Specification.new do |s|
121
123
  "locales/zh.yml",
122
124
  "locales/zh.yml",
123
125
  "muck-activities.gemspec",
124
- "pkg/muck-activities-0.1.8.gem",
125
126
  "public/images/loading.gif",
126
127
  "public/images/loading.gif",
127
128
  "public/javascripts/muck_activities.js",
@@ -130,12 +130,12 @@ can add activities into a feed.
130
130
  onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
131
131
  <div class="method-source-code" id="M000003-source">
132
132
  <pre>
133
- <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 24</span>
134
- 24: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">acts_as_activity_source</span>
135
- 25: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">included_modules</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">InstanceMethods</span>
136
- 26: <span class="ruby-identifier">include</span> <span class="ruby-constant">InstanceMethods</span>
137
- 27: <span class="ruby-keyword kw">end</span>
138
- 28: <span class="ruby-keyword kw">end</span>
133
+ <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 25</span>
134
+ 25: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">acts_as_activity_source</span>
135
+ 26: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">included_modules</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">InstanceMethods</span>
136
+ 27: <span class="ruby-identifier">include</span> <span class="ruby-constant">InstanceMethods</span>
137
+ 28: <span class="ruby-keyword kw">end</span>
138
+ 29: <span class="ruby-keyword kw">end</span>
139
139
  </pre>
140
140
  </div>
141
141
  </div>
@@ -161,14 +161,14 @@ activity feed items via object.activities. ie @user.activities.
161
161
  onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
162
162
  <div class="method-source-code" id="M000002-source">
163
163
  <pre>
164
- <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 14</span>
165
- 14: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_activities</span>
166
- 15: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">included_modules</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">InstanceMethods</span>
167
- 16: <span class="ruby-identifier">has_many</span> <span class="ruby-identifier">:activity_feeds</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:ownable</span>
168
- 17: <span class="ruby-identifier">has_many</span> <span class="ruby-identifier">:activities</span>, <span class="ruby-identifier">:through</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:activity_feeds</span>, <span class="ruby-identifier">:order</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'created_at desc'</span>
169
- 18: <span class="ruby-identifier">include</span> <span class="ruby-constant">InstanceMethods</span>
170
- 19: <span class="ruby-keyword kw">end</span>
171
- 20: <span class="ruby-keyword kw">end</span>
164
+ <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 15</span>
165
+ 15: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_activities</span>
166
+ 16: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">included_modules</span>.<span class="ruby-identifier">include?</span> <span class="ruby-constant">InstanceMethods</span>
167
+ 17: <span class="ruby-identifier">has_many</span> <span class="ruby-identifier">:activity_feeds</span>, <span class="ruby-identifier">:as</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:ownable</span>
168
+ 18: <span class="ruby-identifier">has_many</span> <span class="ruby-identifier">:activities</span>, <span class="ruby-identifier">:through</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">:activity_feeds</span>, <span class="ruby-identifier">:order</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'created_at desc'</span>
169
+ 19: <span class="ruby-identifier">include</span> <span class="ruby-constant">InstanceMethods</span>
170
+ 20: <span class="ruby-keyword kw">end</span>
171
+ 21: <span class="ruby-keyword kw">end</span>
172
172
  </pre>
173
173
  </div>
174
174
  </div>
@@ -159,18 +159,18 @@ feed.
159
159
  onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
160
160
  <div class="method-source-code" id="M000004-source">
161
161
  <pre>
162
- <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 47</span>
163
- 47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_activity</span>(<span class="ruby-identifier">feed_to</span>, <span class="ruby-identifier">source</span>, <span class="ruby-identifier">item</span>, <span class="ruby-identifier">template</span>, <span class="ruby-identifier">title</span> = <span class="ruby-value str">''</span>, <span class="ruby-identifier">content</span> = <span class="ruby-value str">''</span>, <span class="ruby-identifier">check_method</span> = <span class="ruby-keyword kw">nil</span>)
164
- 48: <span class="ruby-identifier">feed_to</span> = [<span class="ruby-identifier">feed_to</span>] <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">feed_to</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
165
- 49: <span class="ruby-identifier">activity</span> = <span class="ruby-constant">Activity</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">:item</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">item</span>, <span class="ruby-identifier">:source</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">source</span>, <span class="ruby-identifier">:template</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">template</span>, <span class="ruby-identifier">:title</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">title</span>, <span class="ruby-identifier">:content</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">content</span>)
166
- 50: <span class="ruby-identifier">feed_to</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">ft</span><span class="ruby-operator">|</span>
167
- 51: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">check_method</span>
168
- 52: <span class="ruby-identifier">ft</span>.<span class="ruby-identifier">activities</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">activity</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">ft</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">check_method</span>)
169
- 53: <span class="ruby-keyword kw">else</span>
170
- 54: <span class="ruby-identifier">ft</span>.<span class="ruby-identifier">activities</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">activity</span>
171
- 55: <span class="ruby-keyword kw">end</span>
172
- 56: <span class="ruby-keyword kw">end</span>
173
- 57: <span class="ruby-keyword kw">end</span>
162
+ <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 48</span>
163
+ 48: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_activity</span>(<span class="ruby-identifier">feed_to</span>, <span class="ruby-identifier">source</span>, <span class="ruby-identifier">item</span>, <span class="ruby-identifier">template</span>, <span class="ruby-identifier">title</span> = <span class="ruby-value str">''</span>, <span class="ruby-identifier">content</span> = <span class="ruby-value str">''</span>, <span class="ruby-identifier">check_method</span> = <span class="ruby-keyword kw">nil</span>)
164
+ 49: <span class="ruby-identifier">feed_to</span> = [<span class="ruby-identifier">feed_to</span>] <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">feed_to</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>)
165
+ 50: <span class="ruby-identifier">activity</span> = <span class="ruby-constant">Activity</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">:item</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">item</span>, <span class="ruby-identifier">:source</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">source</span>, <span class="ruby-identifier">:template</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">template</span>, <span class="ruby-identifier">:title</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">title</span>, <span class="ruby-identifier">:content</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">content</span>)
166
+ 51: <span class="ruby-identifier">feed_to</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">ft</span><span class="ruby-operator">|</span>
167
+ 52: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">check_method</span>
168
+ 53: <span class="ruby-identifier">ft</span>.<span class="ruby-identifier">activities</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">activity</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">ft</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">check_method</span>)
169
+ 54: <span class="ruby-keyword kw">else</span>
170
+ 55: <span class="ruby-identifier">ft</span>.<span class="ruby-identifier">activities</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">activity</span>
171
+ 56: <span class="ruby-keyword kw">end</span>
172
+ 57: <span class="ruby-keyword kw">end</span>
173
+ 58: <span class="ruby-keyword kw">end</span>
174
174
  </pre>
175
175
  </div>
176
176
  </div>
@@ -190,10 +190,10 @@ feed.
190
190
  onclick="toggleCode('M000006-source');return false;">[Source]</a></p>
191
191
  <div class="method-source-code" id="M000006-source">
192
192
  <pre>
193
- <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 65</span>
194
- 65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">can_view?</span>(<span class="ruby-identifier">check_object</span>)
195
- 66: <span class="ruby-keyword kw">self</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">check_object</span>
196
- 67: <span class="ruby-keyword kw">end</span>
193
+ <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 66</span>
194
+ 66: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">can_view?</span>(<span class="ruby-identifier">check_object</span>)
195
+ 67: <span class="ruby-keyword kw">self</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">check_object</span>
196
+ 68: <span class="ruby-keyword kw">end</span>
197
197
  </pre>
198
198
  </div>
199
199
  </div>
@@ -220,10 +220,10 @@ made
220
220
  onclick="toggleCode('M000005-source');return false;">[Source]</a></p>
221
221
  <div class="method-source-code" id="M000005-source">
222
222
  <pre>
223
- <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 61</span>
224
- 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">status</span>
225
- 62: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">activities</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:first</span>, <span class="ruby-identifier">:conditions</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-value str">'is_status_update = true'</span>], <span class="ruby-identifier">:order</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'created_at DESC'</span>)
226
- 63: <span class="ruby-keyword kw">end</span>
223
+ <span class="ruby-comment cmt"># File lib/muck_activities.rb, line 62</span>
224
+ 62: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">status</span>
225
+ 63: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">activities</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:first</span>, <span class="ruby-identifier">:conditions</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-value str">'is_status_update = true'</span>], <span class="ruby-identifier">:order</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'created_at DESC'</span>)
226
+ 64: <span class="ruby-keyword kw">end</span>
227
227
  </pre>
228
228
  </div>
229
229
  </div>
data/rdoc/created.rid CHANGED
@@ -1 +1 @@
1
- Mon, 15 Jun 2009 10:31:43 -0600
1
+ Tue, 16 Jun 2009 23:14:46 -0600
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Sat Jun 13 16:22:19 -0600 2009</td>
59
+ <td>Mon Jun 15 23:50:06 -0600 2009</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -74,6 +74,7 @@
74
74
 
75
75
  <div class="name-list">
76
76
  cgi&nbsp;&nbsp;
77
+ muck_activities/initialize_routes&nbsp;&nbsp;
77
78
  </div>
78
79
  </div>
79
80
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-activities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-16 00:00:00 -06:00
12
+ date: 2009-06-18 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -73,7 +73,9 @@ files:
73
73
  - db/migrate/20090402033319_add_muck_activities.rb
74
74
  - install.rb
75
75
  - lib/muck_activities.rb
76
+ - lib/muck_activities/active_record/acts/muck_activity.rb
76
77
  - lib/muck_activities/initialize_routes.rb
78
+ - lib/muck_activities/muck_activity.rb
77
79
  - lib/muck_activities/tasks.rb
78
80
  - locales/ar.yml
79
81
  - locales/bg.yml
@@ -108,7 +110,6 @@ files:
108
110
  - locales/zh-TW.yml
109
111
  - locales/zh.yml
110
112
  - muck-activities.gemspec
111
- - pkg/muck-activities-0.1.8.gem
112
113
  - public/images/loading.gif
113
114
  - public/javascripts/muck_activities.js
114
115
  - rails/init.rb
Binary file