acts_as_commentable_with_threading 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -16,7 +16,7 @@ Install
16
16
  -------
17
17
 
18
18
  In your Gemfile, add
19
- gem 'acts_as_commentable_with_threading', :git => 'http://github.com/elight/acts_as_commentable_with_threading.git'
19
+ gem 'acts_as_commentable_with_threading'
20
20
 
21
21
  and run `bundle install`.
22
22
 
@@ -1,7 +1,7 @@
1
1
  ACTS_AS_COMMENTABLE_WITH_THREADING = Gem::Specification.new do |s|
2
2
  s.name = "acts_as_commentable_with_threading"
3
- s.version = "1.1.0"
4
- s.date = "2011-12-02"
3
+ s.version = "1.1.1"
4
+ s.date = "2011-12-08"
5
5
  s.summary = "Polymorphic comments Rails gem - Rails 3+ only"
6
6
  s.email = "evan@tripledogdare.net"
7
7
  s.homepage = "http://github.com/elight/acts_as_commentable_with_threading"
@@ -17,7 +17,7 @@ module Acts #:nodoc:
17
17
 
18
18
  module ClassMethods
19
19
  def acts_as_commentable
20
- has_many :comment_threads, :class_name => "Comment", :as => :commentable, :dependent => :destroy, :order => 'created_at ASC'
20
+ has_many :comment_threads, :class_name => "Comment", :as => :commentable, :dependent => :destroy
21
21
  include Acts::CommentableWithThreading::LocalInstanceMethods
22
22
  extend Acts::CommentableWithThreading::SingletonMethods
23
23
  end
@@ -2,7 +2,7 @@ class ActsAsCommentableWithThreadingMigration < ActiveRecord::Migration
2
2
  def self.up
3
3
  create_table :comments, :force => true do |t|
4
4
  t.integer :commentable_id, :default => 0
5
- t.string :commentable_type, :limit => 15, :default => ""
5
+ t.string :commentable_type, :default => ""
6
6
  t.string :title, :default => ""
7
7
  t.text :body, :default => ""
8
8
  t.string :subject, :default => ""
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_commentable_with_threading
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Evan Light
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2011-12-02 00:00:00 -05:00
21
+ date: 2011-12-08 00:00:00 -05:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency