combustion 1.3.2 → 1.3.3

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: 39f83842b1e3640bdda8adf04dbcafba5585f631c9cac38593bfa1cf6e2cfe9e
4
- data.tar.gz: 27033c85fed3a308d3b948589c3b7718b3e519e1678fe1485c3602fd2fa2a3f9
3
+ metadata.gz: 97053abef57625a082cfc03848c5822384541e7badc99ad7eda77729eca45e11
4
+ data.tar.gz: 69afc4e110cc230359c021ee0ed7820241af3bfeaeff0229c441594225c4d732
5
5
  SHA512:
6
- metadata.gz: d7946f7712e79c002ec2f96621668c8e28761bbfff99d5da9dd4f8adebeca0feae00b8ca97c4f317bd1c015f086b0c74622c7326c3e7dcc775c5b9e75b2672cb
7
- data.tar.gz: 37f64f59e58314e2835b6ed840ece3fd7fcf95be92e5ce154346ae79c6efb51421063421113cbbc6ff9d5a526bf0fbf255b31232e02c92c0017efc850a81bb19
6
+ metadata.gz: b4e662dede67e6e44ba8fc570277190e330948f2b73dd1b71067a5caee84d6171a63a54967a56246d06544c6458dbb57c0c2b28ef15401a173fe0f917b47debb
7
+ data.tar.gz: 1035a1e6b7c2b8b6a4b4d4d1e7bf95838b76a9720db2f240d42abd5c8a55e0318cd54360ccf689118138155254f60fc7ded4cde6cb5437f7f132b233b24753c1
@@ -2,13 +2,13 @@
2
2
 
3
3
  class Combustion::Configurations::ActiveRecord
4
4
  def self.call(config)
5
+ return unless defined?(ActiveRecord::Railtie)
6
+ return unless ::ActiveRecord.constants.include?(:MassAssignmentSecurity)
7
+
5
8
  if ActiveRecord::VERSION::MAJOR >= 7
6
9
  config.active_record.legacy_connection_handling = false
7
10
  end
8
11
 
9
- return unless defined?(ActiveRecord::Railtie)
10
- return unless ::ActiveRecord.constants.include?(:MassAssignmentSecurity)
11
-
12
12
  # Turn on ActiveRecord attribute whitelisting
13
13
  # This way the dummy app matches new rails apps re: this setting
14
14
  config.active_record.whitelist_attributes = true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: combustion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-18 00:00:00.000000000 Z
11
+ date: 2021-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport