active_reporter 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_reporter/version.rb +1 -1
- data/lib/active_reporter.rb +1 -1
- data/spec/dummy/log/test.log +5068 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 723ed733317c2a8e7a9671f7df71388c7df0b8019824ef83a8455d1fc2358a26
|
4
|
+
data.tar.gz: 6897c073647fc646151861295592048449e80803ba000332a63b6a026942d770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d8eb39876e5f564fdf8b3522b9e1a6739052311b57f525baa4ac827fc0a3507a515c355a23f0b8d1e6280976a9f17dd654e80fb16e39278ceb82fed6fdb2d78
|
7
|
+
data.tar.gz: 89b76c59b8ef242536ed4758c7ff036fa35425703c57a56f1d212a72b642a5f5d24d919e2bc16c4907e93cac6e74e24d8500ca6f1d6ef2502c381cb4ab111fb0
|
data/lib/active_reporter.rb
CHANGED
@@ -17,7 +17,7 @@ module ActiveReporter
|
|
17
17
|
private
|
18
18
|
|
19
19
|
def database_adapter
|
20
|
-
@database_adapter ||= if ActiveRecord.gem_version < Gem::Version.new("6")
|
20
|
+
@database_adapter ||= if ActiveRecord.gem_version < Gem::Version.new("6.1")
|
21
21
|
ActiveRecord::Base.connection_config[:adapter]
|
22
22
|
else
|
23
23
|
ActiveRecord::Base.connection_db_config.adapter
|