forest_liana 2.0.0 → 2.0.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71d2df55d54f86d4dc437fe7728932ce6b96ff0f
|
4
|
+
data.tar.gz: b57ec2af007ec0f4685d16c13b768a4280289a68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 244c825c39d423ced6a59a473e12485c57247fb6e9a71f89e9ad4a354f3362abad73f4e6f12dbd751e953ac4d2a1dec2280f8b483e22afc41b99fcfe4daf6db4
|
7
|
+
data.tar.gz: 51bfcbbe0eb3760321a4b55173741dcf496924d8a9a8ab806d632a1025a8d82ebb558f5040069d4770709bba4c0bb54b3d9cbb9335c0128ac6f00bc9a99a9978
|
@@ -9,10 +9,13 @@ module ForestLiana
|
|
9
9
|
|
10
10
|
name = module_name if module_name
|
11
11
|
name += class_name.demodulize
|
12
|
+
serializer_name = "#{name}Serializer"
|
12
13
|
|
13
14
|
# NOTICE: Create the serializer in the UserSpace to avoid conflicts with
|
14
15
|
# serializer created from integrations, actions, segments, etc.
|
15
|
-
ForestLiana::UserSpace.
|
16
|
+
unless ForestLiana::UserSpace.const_defined?(serializer_name)
|
17
|
+
ForestLiana::UserSpace.const_set(serializer_name, serializer)
|
18
|
+
end
|
16
19
|
end
|
17
20
|
|
18
21
|
def self.get_serializer_name(active_record_class)
|
@@ -7,8 +7,11 @@ module ForestLiana
|
|
7
7
|
|
8
8
|
name = module_name if module_name
|
9
9
|
name += class_name.demodulize
|
10
|
+
controller_name = "#{name}Controller"
|
10
11
|
|
11
|
-
ForestLiana::UserSpace.
|
12
|
+
unless ForestLiana::UserSpace.const_defined?(controller_name)
|
13
|
+
ForestLiana::UserSpace.const_set(controller_name, service)
|
14
|
+
end
|
12
15
|
end
|
13
16
|
|
14
17
|
def self.get_controller_name(active_record_class)
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|