infopark_webcrm_sdk 2.3.2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,8 @@
1
- require "active_support/parameter_filter"
1
+ if ActiveSupport.version >= Gem::Version.new("6.0.0")
2
+ require "active_support/parameter_filter"
3
+ else
4
+ require "action_dispatch"
5
+ end
2
6
 
3
7
  module Crm; module Core
4
8
  class LogSubscriber < ActiveSupport::LogSubscriber
@@ -35,7 +39,12 @@ module Crm; module Core
35
39
  private
36
40
 
37
41
  def parameter_filter
38
- @parameter_filter ||= ::ActiveSupport::ParameterFilter.new(['password'])
42
+ @parameter_filter ||=
43
+ if ActiveSupport.version >= Gem::Version.new("6.0.0")
44
+ ::ActiveSupport::ParameterFilter.new(['password'])
45
+ else
46
+ ::ActionDispatch::Http::ParameterFilter.new(['password'])
47
+ end
39
48
  end
40
49
  end
41
50
  end; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_webcrm_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JustRelate Group GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-08 00:00:00.000000000 Z
11
+ date: 2024-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -126,7 +126,7 @@ files:
126
126
  - lib/infopark_webcrm_sdk.rb
127
127
  homepage: https://github.com/infopark/webcrm_sdk
128
128
  licenses:
129
- - LGPL-3.0
129
+ - MIT
130
130
  metadata: {}
131
131
  post_install_message:
132
132
  rdoc_options: []
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubygems_version: 3.0.3
146
+ rubygems_version: 3.1.6
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: JustRelate WebCRM SDK