smooth_operator 1.8.5 → 1.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/smooth_operator/model_schema.rb +2 -0
- data/lib/smooth_operator/version.rb +1 -1
- data/spec/support/models/address.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTg1N2FhNjBlOTY1NDYyMGRhMThlYWJlMzE2M2UzY2U4MWY3ZDUxYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Zjk1M2U1ZjVmNjhhYWMyOTliODRjNmZkMDMwNmRlMzU5ZWU3NWYyZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDdkODNlMDdkMDhkYzBkYTc5ZjdkYTlmMGU3OWQ4MDZjNGE1Y2NiNDNjMTU2
|
10
|
+
OTZmODk5NDkwMmYyNmE5Mzk2ZDk0MjZlODY3ZmIxZDgzMzYyNGUxZmM4MTg2
|
11
|
+
MWRmM2NmZjJiZGViNTY1NjllMGIzZDU2N2U3N2YwMGI3MWQ5ZDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGYyODNhNDQ4MzUzNTE2NjkxNzdlYjkwYzY1YzE4MzkzMjJjMzEyNGQ3NmEw
|
14
|
+
NGI0YWI0YjM3OWNkMmNjZGZmNmUxYzdmM2VjYzU2YTk1MmMxNzVmNTcxZDU2
|
15
|
+
OWYxNTlhNGFhYzFmNmMzYWU2OTUzMmEzMGM4MGUxNGU3YzgxODM=
|
@@ -61,6 +61,8 @@ module SmoothOperator
|
|
61
61
|
protected ############## PROTECTED #############
|
62
62
|
|
63
63
|
def rails_model_name_method
|
64
|
+
return '' if Helpers.blank?(@_model_name)
|
65
|
+
|
64
66
|
@model_name ||= begin
|
65
67
|
namespace ||= self.parents.detect do |n|
|
66
68
|
n.respond_to?(:use_relative_model_naming?) && n.use_relative_model_naming?
|