governor_comments 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,42 +1,42 @@
1
1
  PATH
2
2
  remote: ./
3
3
  specs:
4
- governor_comments (0.1.2)
5
- governor (>= 0.2.2)
4
+ governor_comments (0.2.1)
5
+ governor (>= 0.5.0)
6
6
  rails (~> 3.0.5)
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
11
  abstract (1.0.0)
12
- actionmailer (3.0.5)
13
- actionpack (= 3.0.5)
12
+ actionmailer (3.0.7)
13
+ actionpack (= 3.0.7)
14
14
  mail (~> 2.2.15)
15
- actionpack (3.0.5)
16
- activemodel (= 3.0.5)
17
- activesupport (= 3.0.5)
15
+ actionpack (3.0.7)
16
+ activemodel (= 3.0.7)
17
+ activesupport (= 3.0.7)
18
18
  builder (~> 2.1.2)
19
19
  erubis (~> 2.6.6)
20
- i18n (~> 0.4)
20
+ i18n (~> 0.5.0)
21
21
  rack (~> 1.2.1)
22
- rack-mount (~> 0.6.13)
22
+ rack-mount (~> 0.6.14)
23
23
  rack-test (~> 0.5.7)
24
24
  tzinfo (~> 0.3.23)
25
- activemodel (3.0.5)
26
- activesupport (= 3.0.5)
25
+ activemodel (3.0.7)
26
+ activesupport (= 3.0.7)
27
27
  builder (~> 2.1.2)
28
- i18n (~> 0.4)
29
- activerecord (3.0.5)
30
- activemodel (= 3.0.5)
31
- activesupport (= 3.0.5)
28
+ i18n (~> 0.5.0)
29
+ activerecord (3.0.7)
30
+ activemodel (= 3.0.7)
31
+ activesupport (= 3.0.7)
32
32
  arel (~> 2.0.2)
33
33
  tzinfo (~> 0.3.23)
34
34
  activerecord-nulldb-adapter (0.2.1)
35
35
  activerecord (>= 2.0.0, < 3.1)
36
- activeresource (3.0.5)
37
- activemodel (= 3.0.5)
38
- activesupport (= 3.0.5)
39
- activesupport (3.0.5)
36
+ activeresource (3.0.7)
37
+ activemodel (= 3.0.7)
38
+ activesupport (= 3.0.7)
39
+ activesupport (3.0.7)
40
40
  arel (2.0.9)
41
41
  bcrypt-ruby (2.1.4)
42
42
  builder (2.1.2)
@@ -52,14 +52,14 @@ GEM
52
52
  factory_girl (~> 2.0.0.beta)
53
53
  rails (>= 3.0.0)
54
54
  git (1.2.5)
55
- governor (0.5.0)
55
+ governor (0.5.2)
56
56
  rails (~> 3.0.5)
57
57
  i18n (0.5.0)
58
58
  jeweler (1.5.2)
59
59
  bundler (~> 1.0.0)
60
60
  git (>= 1.2.5)
61
61
  rake
62
- mail (2.2.15)
62
+ mail (2.2.19)
63
63
  activesupport (>= 2.3.6)
64
64
  i18n (>= 0.4.0)
65
65
  mime-types (~> 1.16)
@@ -68,22 +68,22 @@ GEM
68
68
  mocha (0.9.12)
69
69
  nokogiri (1.4.4)
70
70
  polyglot (0.3.1)
71
- rack (1.2.1)
72
- rack-mount (0.6.13)
71
+ rack (1.2.2)
72
+ rack-mount (0.6.14)
73
73
  rack (>= 1.0.0)
74
74
  rack-test (0.5.7)
75
75
  rack (>= 1.0)
76
- rails (3.0.5)
77
- actionmailer (= 3.0.5)
78
- actionpack (= 3.0.5)
79
- activerecord (= 3.0.5)
80
- activeresource (= 3.0.5)
81
- activesupport (= 3.0.5)
76
+ rails (3.0.7)
77
+ actionmailer (= 3.0.7)
78
+ actionpack (= 3.0.7)
79
+ activerecord (= 3.0.7)
80
+ activeresource (= 3.0.7)
81
+ activesupport (= 3.0.7)
82
82
  bundler (~> 1.0)
83
- railties (= 3.0.5)
84
- railties (3.0.5)
85
- actionpack (= 3.0.5)
86
- activesupport (= 3.0.5)
83
+ railties (= 3.0.7)
84
+ railties (3.0.7)
85
+ actionpack (= 3.0.7)
86
+ activesupport (= 3.0.7)
87
87
  rake (>= 0.8.7)
88
88
  thor (~> 0.14.4)
89
89
  rake (0.8.7)
@@ -106,7 +106,7 @@ GEM
106
106
  thor (0.14.6)
107
107
  treetop (1.4.9)
108
108
  polyglot (>= 0.3.1)
109
- tzinfo (0.3.24)
109
+ tzinfo (0.3.27)
110
110
  warden (1.0.3)
111
111
  rack (>= 1.0.0)
112
112
  webrat (0.7.3)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -1,11 +1,14 @@
1
1
  <h1>Comments Management</h1>
2
2
 
3
3
  <%= form_tag polymorphic_path(mapping.plural, :action => :update_comments), :method => :put do %>
4
+ <% bulk_actions = capture do -%>
4
5
  <div class="bulkActions">
5
6
  <% options = %w(mark_spam not_spam destroy).inject([]) {|a,action| a << [t("governor_comments.#{action}"), action] } %>
6
7
  <%= select_tag :bulk_operation, options_for_select([['Action', ''], *options]) %>
7
8
  <%= submit_tag t('governor_comments.submit') %>
8
9
  </div>
10
+ <% end %>
11
+ <%= bulk_actions %>
9
12
  <table class="comments">
10
13
  <tr>
11
14
  <th></th>
@@ -39,5 +42,6 @@
39
42
  </tr>
40
43
  <% end %>
41
44
  </table>
45
+ <%= bulk_actions %>
42
46
 
43
47
  <% end %>
@@ -8,4 +8,4 @@
8
8
  <% end %>
9
9
  <%= f.text_field :title %> <%= f.label :title %><br/>
10
10
  <%= f.text_area :content, :size => '50x7' %>
11
- <p><%= f.submit "#{action_name.capitalize} Comment" %></p>
11
+ <p><%= f.submit "#{f.object.new_record? ? 'New' : 'Edit'} Comment" %></p>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{governor_comments}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Liam Morley"]
12
- s.date = %q{2011-05-05}
12
+ s.date = %q{2011-05-08}
13
13
  s.description = %q{Comments plugin for the Rails 3-based Governor blogging system.}
14
14
  s.email = %q{liam@carpeliam.com}
15
15
  s.extra_rdoc_files = [
@@ -1,15 +1,15 @@
1
1
  GIT
2
2
  remote: git://github.com/carpeliam/governor.git
3
- revision: 02e939cd0d8bb4c33549dc5c293996c049e37e6c
3
+ revision: df491f9eb8049efd8e7875f1202052272b2f58af
4
4
  specs:
5
- governor (0.4.0)
5
+ governor (0.5.2)
6
6
  rails (~> 3.0.5)
7
7
 
8
8
  PATH
9
9
  remote: ../..
10
10
  specs:
11
- governor_comments (0.1.2)
12
- governor (>= 0.2.2)
11
+ governor_comments (0.2.1)
12
+ governor (>= 0.5.0)
13
13
  rails (~> 3.0.5)
14
14
 
15
15
  GEM
@@ -52,7 +52,7 @@ GEM
52
52
  erubis (2.6.6)
53
53
  abstract (>= 1.0.0)
54
54
  i18n (0.5.0)
55
- mail (2.2.15)
55
+ mail (2.2.19)
56
56
  activesupport (>= 2.3.6)
57
57
  i18n (>= 0.4.0)
58
58
  mime-types (~> 1.16)
@@ -83,7 +83,7 @@ GEM
83
83
  thor (0.14.6)
84
84
  treetop (1.4.9)
85
85
  polyglot (>= 0.3.1)
86
- tzinfo (0.3.25)
86
+ tzinfo (0.3.27)
87
87
  warden (1.0.3)
88
88
  rack (>= 1.0.0)
89
89
  will_paginate (3.0.pre2)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: governor_comments
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Liam Morley
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-05 00:00:00 -04:00
18
+ date: 2011-05-08 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency