commentem 1.0.2 → 1.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/README.rdoc CHANGED
@@ -27,7 +27,7 @@ If you would rather like to install it as plugin, run this command in your conso
27
27
 
28
28
  And then run:
29
29
 
30
- rake generate commentem
30
+ rails generate commentem
31
31
  rake db:migrate
32
32
 
33
33
  == Usage
@@ -69,6 +69,10 @@ Just add `acts_as_commenter` and `acts_as_commentable` to your models. You could
69
69
 
70
70
  == Change Logs
71
71
 
72
+ Version 1.0.3
73
+
74
+ - Fixed the silly typo error on the generated Comment model.
75
+
72
76
  Version 1.0.2
73
77
 
74
78
  - Updated the code of the comment model to use class methods instead of scopes (don't worry, no any change to the usage).
@@ -79,4 +83,4 @@ Version 1.0.1
79
83
 
80
84
  Version 1.0.0
81
85
 
82
- - The Commentem gem is published with basic necessary functionalities (commenting and querying).
86
+ - The Commentem gem is published with basic necessary functionalities (commenting and querying).
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('commentem', '1.0.2') do |p|
5
+ Echoe.new('commentem', '1.0.3') do |p|
6
6
  p.description = "A generic commenting system."
7
7
  p.url = "http://github.com/peterwongpp/Commentem"
8
8
  p.author = "Peter Wong"
data/commentem.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{commentem}
5
- s.version = "1.0.2"
5
+ s.version = "1.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Peter Wong"]
9
- s.date = %q{2011-06-04}
9
+ s.date = %q{2011-06-07}
10
10
  s.description = %q{A generic commenting system.}
11
11
  s.email = %q{peter@peterwongpp.com}
12
12
  s.extra_rdoc_files = ["README.rdoc", "lib/commentem.rb", "lib/commentem/commentable.rb", "lib/commentem/commenter.rb", "lib/generators/commentem_generator.rb", "lib/generators/templates/migration.rb", "lib/generators/templates/model.rb"]
@@ -8,7 +8,7 @@ class Comment < ActiveRecord::Base
8
8
  end
9
9
 
10
10
  def comments_on(commentable)
11
- where(["commentable_id = ? AND commentable_type = ?", commentable.id, commentable.class.name)
11
+ where(["commentable_id = ? AND commentable_type = ?", commentable.id, commentable.class.name])
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 2
9
- version: 1.0.2
8
+ - 3
9
+ version: 1.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Peter Wong
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-06-04 00:00:00 +08:00
17
+ date: 2011-06-07 00:00:00 +08:00
18
18
  default_executable:
19
19
  dependencies: []
20
20