commontator 6.3.0 → 6.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e55fd88bb5fa4270bfbbb309612ea065b57cfa6615a79e1810cd82af3d5aafe
4
- data.tar.gz: 5cf41286e00a8ce9c0f9536cfbcbddd8a785e428f42e2420ad974a0352b5621c
3
+ metadata.gz: 8bee013bb63d8967e048c353d6f71de9fe0ac5cfd4b40530e065d9cb11f8a14e
4
+ data.tar.gz: 9fb7f5b8d45b8264235cb77ced85d07dbda0667a2f3aaf03053f67abe0aa75fc
5
5
  SHA512:
6
- metadata.gz: 55ff04ca7ff20423e2fd92529f286c9b42eeb27f6fa255108d7408b3e6a3b331a8f2adc75bd24d4afbe3759ec70a60a424af3d48bde58213bfea5091cfe6f628
7
- data.tar.gz: a9ebf8f2a1829370822afcf935aa096168369d8fdfa64fd64fcdb56351243ec30baa0a823530f71c1ca4ba03d4cabc657b6c28f3b78edb964ed5200a3ac6c305
6
+ metadata.gz: 3ad713e82c9db2b3b64f53ef3baa0b1143ff9fc45f79a8b5964ecfd7c7ce3c4e0f19308e3b234e9dbfcae439d520bb056472d9415bf149831c313d231d4f447f
7
+ data.tar.gz: b3e80f26aeccdf66161cd509e48f4f78f5c74f2cf9f78dddb387b7c9e37270d124a4e5183ce883912472ab452efc6907a795f80a02e59481da94494b01746c40
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Code Climate](https://codeclimate.com/github/lml/commontator/badges/gpa.svg)](https://codeclimate.com/github/lml/commontator)
6
6
  [![Code Coverage](https://codeclimate.com/github/lml/commontator/badges/coverage.svg)](https://codeclimate.com/github/lml/commontator)
7
7
 
8
- Commontator is a Rails engine for comments. It is compatible with Rails 5+.
8
+ Commontator is a Rails engine for comments. It is compatible with Rails 5.2+.
9
9
  Being an engine means it is fully functional as soon as you install and
10
10
  configure the gem, providing models, views and controllers of its own.
11
11
  At the same time, almost anything about it can be configured or customized to suit your needs.
@@ -17,7 +17,7 @@ module Commontator::ActsAsCommontable
17
17
  cattr_accessor :commontable_config
18
18
  self.commontable_config = Commontator::CommontableConfig.new(options)
19
19
 
20
- has_one :commontator_thread, association_options.merge(
20
+ has_one :commontator_thread, **association_options.merge(
21
21
  as: :commontable, class_name: 'Commontator::Thread'
22
22
  )
23
23
 
@@ -16,10 +16,10 @@ module Commontator::ActsAsCommontator
16
16
  cattr_accessor :commontator_config
17
17
  self.commontator_config = Commontator::CommontatorConfig.new(options)
18
18
 
19
- has_many :commontator_comments, association_options.merge(
19
+ has_many :commontator_comments, **association_options.merge(
20
20
  as: :creator, class_name: 'Commontator::Comment'
21
21
  )
22
- has_many :commontator_subscriptions, association_options.merge(
22
+ has_many :commontator_subscriptions, **association_options.merge(
23
23
  as: :subscriber, class_name: 'Commontator::Subscription'
24
24
  )
25
25
 
@@ -1 +1 @@
1
- COMMONTATOR_VERSION = '6.3.0'
1
+ COMMONTATOR_VERSION = '6.3.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commontator
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.0
4
+ version: 6.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dante Soares
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-08 00:00:00.000000000 Z
11
+ date: 2021-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0'
253
253
  requirements: []
254
- rubygems_version: 3.0.4
254
+ rubygems_version: 3.2.7
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: Allows users to comment on any model in your application.