lookup_by 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lookup_by/lookup.rb +1 -1
- data/lib/lookup_by/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a299c9db3319e08da624742ac0c273269762509a
|
|
4
|
+
data.tar.gz: af001c400ada05593af8aa11a8660ede11998596
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e3f915965de466e8b2502f0a86950af419161a864d646c0af8450eadd6ed6ee20d192db0c6e9eb446cca25f5dce9753404ab4663d790ee0a7a39fc8d048d163
|
|
7
|
+
data.tar.gz: b2a9d2a6bbaa80f4fb7fb414078d37876568b90227abcdd2132db24855f16ec2f8a8d94cf812dcdd13b6da790cf8c7e7f3ab009f4c19a584deff3a62f2142dd9
|
data/lib/lookup_by/lookup.rb
CHANGED
|
@@ -19,7 +19,7 @@ module LookupBy
|
|
|
19
19
|
|
|
20
20
|
def lookup_by(field, options = {})
|
|
21
21
|
begin
|
|
22
|
-
|
|
22
|
+
return unless table_exists?
|
|
23
23
|
rescue => error
|
|
24
24
|
Rails.logger.error "lookup_by caught #{error.class.name} when connecting - skipping initialization (#{error.inspect})"
|
|
25
25
|
return
|
data/lib/lookup_by/version.rb
CHANGED