tramway-export 0.2 → 0.2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tramway/export.rb +1 -1
- data/lib/tramway/export/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ceedd09b6899e510458720d4cfcd454c2cd970af2c477a30fd7bee276f12e36
|
4
|
+
data.tar.gz: 885bfb4371357484d7f6b4ce25a8b0e9c0a62310b8ba15cdeb8dbda04acf3ead
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5b762e42be643c3b72bd1f95965e0bf26882a3082ed6f6c2e627ad7cc998abf8e66bbf4892a1f0eca381dcacfd92916e45a38c4b5423b416421220b371c1f10
|
7
|
+
data.tar.gz: 68343c6e8fb3315e50ccec2310a1fcd3e54ea6f765da688585b8b60af5c2ca85abc1f9fcca7f915b5e9e7619809f6a67f8c575d2ab6b63555ebfd7914994e3d2
|
data/lib/tramway/export.rb
CHANGED
@@ -19,7 +19,7 @@ module Tramway
|
|
19
19
|
return false unless project.present?
|
20
20
|
|
21
21
|
@exportable_models[project.to_sym]&.include?(model_class) ||
|
22
|
-
@exportable_models[project.to_sym]
|
22
|
+
@exportable_models[project.to_sym]&.map { |config| config.is_a?(Hash) && config.keys.first.to_s == model_class.to_s }&.include?(true)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|