comments 0.1.0 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b69f183e6db423112985c8c233a7da74454c0fc3
4
- data.tar.gz: c289b5f8b723643fe25dc21b24f7219892e583dd
2
+ SHA256:
3
+ metadata.gz: 303baa52016864d220188d436eb1680da72d7bd38fbc5827788c694aa01e5f5d
4
+ data.tar.gz: d7a97187c89ce457ad7b65b8c31acbe1101145c1349d8aebbb756fcfc64475ca
5
5
  SHA512:
6
- metadata.gz: 29eb19e867928a24074ac93c1579967113f1565bd5a62e5341a26c821a322c895d7829842f74aa76ff91f0b090475a823a052fea6d8d5eedb905bab79ae1b0f1
7
- data.tar.gz: 186b63afb693e135d1c6f248880c64431804ad8fc872cd256a3ccc7938603bc3503c73f20ffe1998381f7a46335c92c28a50b8e68b81d73e9b58fbb0de4c17ee
6
+ metadata.gz: 11b6899a30c9f4174e14cc2177940cdb254edcb34b4a122e91b3594f8897fe55165482a10abecef19bc0fa3de6a6621f8871b4e7325a6475773a1d55a2d15284
7
+ data.tar.gz: 7346c0506e52f00f95050614ce7b34fb2246cb926f6ed4157adbe4f9f9fe5b5e0c0ec273f48ba005b560068fe329f57e66508ac57ce24539b69d05b9bc20d018
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Comment feature for any applications's any models.
4
4
 
5
- [![Gem Version](https://badge.fury.io/rb/comments.svg)](https://badge.fury.io/rb/comments) [![Build Status](https://travis-ci.org/rails-engine/comments.svg)](https://travis-ci.org/rails-engine/comments) [![Code Climate](https://codeclimate.com/github/rails-engine/comments/badges/gpa.svg)](https://codeclimate.com/github/rails-engine/comments) [![codecov.io](https://codecov.io/github/rails-engine/comments/coverage.svg?branch=master)](https://codecov.io/github/rails-engine/comments?branch=master) [![](http://inch-ci.org/github/rails-engine/comments.svg?branch=master)](http://inch-ci.org/github/rails-engine/comments?branch=master)
5
+ [![Gem Version](https://badge.fury.io/rb/comments.svg)](https://badge.fury.io/rb/comments) [![Build Status](https://travis-ci.org/rails-engine/comments.svg)](https://travis-ci.org/rails-engine/comments)
6
6
 
7
7
  ## Installation
8
8
 
@@ -1,6 +1,4 @@
1
1
  # Model from comments gem
2
2
  class Comment < ActiveRecord::Base
3
3
  include Comments::Model
4
-
5
- self.per_page = 50
6
4
  end
@@ -4,7 +4,7 @@
4
4
  <%= render partial: '/comments/comment', collection: comments, as: :comment %>
5
5
  </div>
6
6
  <div class="comments-footer">
7
- <%= will_paginate comments %>
7
+ <%= paginate comments %>
8
8
  </div>
9
9
  </div>
10
10
 
@@ -4,8 +4,6 @@ require 'comments/model'
4
4
  require 'comments/view_helpers'
5
5
  require 'comments/engine'
6
6
  require 'awesome_nested_set'
7
- require 'will_paginate'
8
- require 'will_paginate/active_record'
9
7
 
10
8
  module Comments
11
9
  class << self
@@ -1,3 +1,3 @@
1
1
  module Comments
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-26 00:00:00.000000000 Z
11
+ date: 2018-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 4.2.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.1'
22
+ version: '6'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: 4.2.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.1'
32
+ version: '6'
33
33
  - !ruby/object:Gem::Dependency
34
- name: will_paginate
34
+ name: kaminari
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 3.0.0
39
+ version: '0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 3.0.0
46
+ version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: awesome_nested_set
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.6.3
113
+ rubygems_version: 2.7.8
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Comment feature for any applications's any models.