commontator 6.2.1 → 6.3.0

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: 8c41d7e4b88feb84affff73e5a74d3dd276d05946e4522bb40944b5a2787393c
4
- data.tar.gz: fd642e33b5674fc580225b551718cad420d51fba59750608c47201b130afe1e2
3
+ metadata.gz: 5e55fd88bb5fa4270bfbbb309612ea065b57cfa6615a79e1810cd82af3d5aafe
4
+ data.tar.gz: 5cf41286e00a8ce9c0f9536cfbcbddd8a785e428f42e2420ad974a0352b5621c
5
5
  SHA512:
6
- metadata.gz: 8143238089fdd8d0dd8ddefe5a0ce9c388760d428db5f946cf210f876c529b534eff165f9b8eb74bd3c1efa545d1895cda611502a315a9d3bab0d239edd66917
7
- data.tar.gz: 18912adb40b3ee23d9aa26ac8ed47a89c0ef7a1e276fc382042333fe35fdb184b166d5ebdbfd6d14d5fbd3225b8f2a55d095ba0542136a05db2c8b606b4223cf
6
+ metadata.gz: 55ff04ca7ff20423e2fd92529f286c9b42eeb27f6fa255108d7408b3e6a3b331a8f2adc75bd24d4afbe3759ec70a60a424af3d48bde58213bfea5091cfe6f628
7
+ data.tar.gz: a9ebf8f2a1829370822afcf935aa096168369d8fdfa64fd64fcdb56351243ec30baa0a823530f71c1ca4ba03d4cabc657b6c28f3b78edb964ed5200a3ac6c305
@@ -1,10 +1,6 @@
1
1
  require_relative 'shared_helper'
2
2
 
3
3
  module Commontator::Controllers
4
- def self.included(base)
5
- base.helper Commontator::SharedHelper
6
- end
7
-
8
4
  def commontator_set_thread_variables
9
5
  return if @commontator_thread.nil? || !@commontator_thread.can_be_read_by?(@commontator_user)
10
6
 
@@ -59,5 +59,8 @@ end
59
59
 
60
60
  ActiveSupport.on_load :action_controller do
61
61
  include Commontator::SharedHelper
62
+ end
63
+
64
+ ActiveSupport.on_load :action_controller_base do
62
65
  helper Commontator::SharedHelper
63
66
  end
@@ -1 +1 @@
1
- COMMONTATOR_VERSION = '6.2.1'
1
+ COMMONTATOR_VERSION = '6.3.0'
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.2.1
4
+ version: 6.3.0
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-02 00:00:00.000000000 Z
11
+ date: 2020-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '5.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5.0'
26
+ version: '5.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: will_paginate
29
29
  requirement: !ruby/object:Gem::Requirement