infopark_fiona_connector 7.0.1.6.1.6.rc2 → 7.0.1.6.1.6.rc3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6718c4f29fc6ec08f2d6ef3e06bbed3e9b2056fb78d95266dc59995663d44318
|
4
|
+
data.tar.gz: 1a99ce43289c5d1172883f77c0068d30608756088db74ba0791c84ccea9bd3ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f480d1868c44c7d9a751f8c0c25c5ef1430b41fd842c4c1f8502ac0c85c9b95a3ce9e105e16030976b2e2756cfdd4ed73222dc92f15754047a4200dea10973c5
|
7
|
+
data.tar.gz: 7166ac900c262216bb576dd7865796264f97b4472025e6364cb9d4cb88331c2b441594bda7c6b05b4883af4278fe3ff1f8620c134297992401d24202558153fd
|
@@ -9,7 +9,7 @@ module RailsConnector
|
|
9
9
|
# `format_for_inspect` in > 6.1 uses two parameters
|
10
10
|
#
|
11
11
|
# Reason for change: activerecord/lib/active_record/core#inspect might change in future Rails versions.
|
12
|
-
if
|
12
|
+
if ::ActiveRecord::VERSION::MAJOR < 6
|
13
13
|
def attribute_for_inspect(attr_name)
|
14
14
|
value = read_attribute(attr_name)
|
15
15
|
|
@@ -19,7 +19,7 @@ module RailsConnector
|
|
19
19
|
super
|
20
20
|
end
|
21
21
|
end
|
22
|
-
elsif
|
22
|
+
elsif ::ActiveRecord::VERSION::MAJOR == 6 && ::ActiveRecord::VERSION::MINOR.zero?
|
23
23
|
def format_for_inspect(value)
|
24
24
|
if value.is_a?(RailsConnector::LinkList)
|
25
25
|
value.destination_objects.map(&:to_s)
|
@@ -1,2 +1,2 @@
|
|
1
1
|
require "rails_connector/core_extensions/time"
|
2
|
-
require "rails_connector/core_extensions/active_record/core"
|
2
|
+
require "rails_connector/core_extensions/active_record/core" if defined?(ActiveRecord)
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark_fiona_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.1.6.1.6.
|
4
|
+
version: 7.0.1.6.1.6.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Infopark AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|