forest_liana 2.3.4 → 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forest_liana/bootstraper.rb +14 -0
- data/lib/forest_liana/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc640c5bfe27dd6d0e57ea6c18a6d9e0e5337bd0
|
4
|
+
data.tar.gz: cdd89646c500cf265e714f7cfc0033008eb435fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 833146d9d93f81ff70a22c65c0fd8e92d1eaeee4add90b8e3222d88159bcbc7e51b20a5682ae2ea49c879bbca5dc9effa08fc64f267b2cfc49657e53668fe099
|
7
|
+
data.tar.gz: 49c4bea2e809c289575cf5c744f7adda2f74ff57315f640f660c3962891c8da1ffbe8970c74f01c4b5d129a089993e06b9e0774a37c6e0978657069ece2b76cb
|
@@ -26,6 +26,8 @@ module ForestLiana
|
|
26
26
|
if ForestLiana.env_secret
|
27
27
|
create_apimap
|
28
28
|
require_lib_forest_liana
|
29
|
+
set_smart_actions_fields_position
|
30
|
+
|
29
31
|
send_apimap
|
30
32
|
end
|
31
33
|
end
|
@@ -156,6 +158,18 @@ module ForestLiana
|
|
156
158
|
end
|
157
159
|
end
|
158
160
|
|
161
|
+
def set_smart_actions_fields_position
|
162
|
+
ForestLiana.apimap.each do |collection|
|
163
|
+
collection.actions.each do |action|
|
164
|
+
if action.fields
|
165
|
+
action.fields.each_with_index do |field, index|
|
166
|
+
field[:position] = index
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
159
173
|
def send_apimap
|
160
174
|
if ForestLiana.env_secret && ForestLiana.env_secret.length != 64
|
161
175
|
FOREST_LOGGER.error "Your env_secret does not seem to be correct. " \
|
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.3.
|
4
|
+
version: 2.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|