ii_finder 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/ii_finder/core.rb +2 -2
- data/lib/ii_finder/version.rb +1 -1
- 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: 452fde95e0ced0ad63b8ccf586d493c1514895d074fbb7ae7c4c8e105ae66fb4
|
4
|
+
data.tar.gz: b07f0b0c3354b93a6b189187ba423605169709b8a4fb56fe57cb8efc92d9c6f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c973652162caad6088d84acee6605344679976504869a35c4687b8332e825ec5778cf8b605ae0882573f1998be02ffabdb29d40c9f91b41976b27dadaebaceab
|
7
|
+
data.tar.gz: d56881a31d2aaa55052094cb1f0e26832339a9ee2478d2a9a18580ef2aef66a6068259230179ca72129e683fb5c97925d28ab8285496614221eefb898b007f35
|
data/CHANGELOG.md
CHANGED
data/lib/ii_finder/core.rb
CHANGED
@@ -19,7 +19,7 @@ module IIFinder
|
|
19
19
|
@criteria = args[1]
|
20
20
|
@model = @relation.klass
|
21
21
|
end
|
22
|
-
@table = @model.arel_table
|
22
|
+
@table = @model.arel_table if @model.respond_to?(:arel_table)
|
23
23
|
end
|
24
24
|
|
25
25
|
def call
|
@@ -44,7 +44,7 @@ module IIFinder
|
|
44
44
|
def call_method(name, value)
|
45
45
|
result = send(name, value)
|
46
46
|
|
47
|
-
if
|
47
|
+
if result.respond_to?(:merge) && Config.merge_relation
|
48
48
|
@relation = @relation.merge(result)
|
49
49
|
end
|
50
50
|
end
|
data/lib/ii_finder/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ii_finder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|