muck-activities 3.1.1 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.1
1
+ 3.2.0
@@ -5,10 +5,12 @@
5
5
  </div>
6
6
  <%= will_paginate activities, :previous_label => t('muck.activities.paging_newer'), :next_label => t('muck.activities.paging_older') -%>
7
7
  <% content_for :javascript do -%>
8
+ <script type="text/javascript" language="JavaScript">
8
9
  jQuery(document).ready(function(){
9
10
  <% if MuckActivities.configuration.enable_live_activity_updates -%>
10
11
  setInterval(function() {jQuery.ajax({success:function(request){update_feed(request);}, type: "GET", url:'<%= activities_path(:parent_id => activities_object, :parent_type => activities_object.class, :activity_filter => params[:activity_filter], :format => 'js') %>&amp;latest_activity_id=' + get_latest_activity_id()})}, <%=MuckActivities.configuration.live_activity_update_interval%> * 1000)
11
12
  <% end -%>
12
13
  });
14
+ </script>
13
15
  <% end -%>
14
16
  <%= activity_scripts %>
@@ -20,6 +20,7 @@
20
20
  <% end %>
21
21
  </div>
22
22
  <% content_for :javascript do -%>
23
+ <script type="text/javascript" language="JavaScript">
23
24
  jQuery(document).ready(function() {
24
25
  jQuery('#status_update').click(function(){
25
26
  jQuery('#status-update-field').removeClass('status-update-dim');
@@ -32,4 +33,5 @@
32
33
  return true;
33
34
  });
34
35
  });
36
+ </script>
35
37
  <% end -%>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-activities}
8
- s.version = "3.1.1"
8
+ s.version = "3.2.0"
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{2011-02-12}
12
+ s.date = %q{2011-03-19}
13
13
  s.description = %q{Activity engine for the muck system.}
14
14
  s.email = %q{justin@tatemae.com}
15
15
  s.extra_rdoc_files = [
@@ -102,11 +102,10 @@ Gem::Specification.new do |s|
102
102
  ]
103
103
  s.homepage = %q{http://github.com/tatemae/muck-activities}
104
104
  s.require_paths = ["lib"]
105
- s.rubygems_version = %q{1.3.7}
105
+ s.rubygems_version = %q{1.6.0}
106
106
  s.summary = %q{Activity engine for the muck system}
107
107
 
108
108
  if s.respond_to? :specification_version then
109
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
110
109
  s.specification_version = 3
111
110
 
112
111
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-activities
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
5
- prerelease: false
4
+ hash: 15
5
+ prerelease:
6
6
  segments:
7
7
  - 3
8
- - 1
9
- - 1
10
- version: 3.1.1
8
+ - 2
9
+ - 0
10
+ version: 3.2.0
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: 2011-02-12 00:00:00 -07:00
19
+ date: 2011-03-19 00:00:00 -06:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  requirements: []
184
184
 
185
185
  rubyforge_project:
186
- rubygems_version: 1.3.7
186
+ rubygems_version: 1.6.0
187
187
  signing_key:
188
188
  specification_version: 3
189
189
  summary: Activity engine for the muck system