forest_liana 1.3.29 → 1.3.30

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 260b5a5f3205cc16a71e70e18ba1082f2e886d38
4
- data.tar.gz: e3d7e787be1f394888c948d7db0c89c90866179d
3
+ metadata.gz: 609f9869d73323906971cf37b91bb17ca088a28c
4
+ data.tar.gz: e0ddbac40f9f556a6885f6254b0d5d6b320f42cf
5
5
  SHA512:
6
- metadata.gz: f15bb5a2fe9c322dfa86639076a26d7cbe44ed33532e5ee8ae2c01ec282857619e9a3bf277067b52c51d25c02bb89204399d34cf0a51e0b69aef84780b90e48d
7
- data.tar.gz: 7a98b3b22f891447a3f28357045478312621bf10662ced2d960f09cd4451109c93aa4aa8e4c01cf75f3e8d4ba7c25f6fed0aa0fa3fdd89a965ff74d4b880425d
6
+ metadata.gz: 1d37b9f9fa4d2d3d8b14c2ef48b470d23c77236914c9a1c55a8b6831018692d75a2bd7f09aa3369d69173181f4a9d577551a13cc59f50d3434dfdd49190a5566
7
+ data.tar.gz: 0cabdd38789c31347b39f9997d20cd8bfdfbccb0c544ddaf3606183141566a321d3858baeff141d574e7cc3f3c0722361f8181f721c50f35c03413c60e981294
@@ -213,6 +213,8 @@ More info at: https://github.com/ForestAdmin/forest-rails/releases/tag/1.2.0"
213
213
  integration.has_key?(:app_id) && integration.has_key?(:user_collection)
214
214
 
215
215
  if is_deprecated
216
+ integration[:mapping] = integration[:user_collection]
217
+
216
218
  @logger.warn "Intercom integration attribute \"user_collection\" is " \
217
219
  "now deprecated, please use \"mapping\" attribute."
218
220
  end
@@ -401,6 +403,9 @@ More info at: https://github.com/ForestAdmin/forest-rails/releases/tag/1.2.0"
401
403
  integration.has_key?(:user_field)
402
404
 
403
405
  if is_deprecated
406
+ integration[:mapping] =
407
+ "#{integration[:user_collection]}.#{integration[:user_field]}"
408
+
404
409
  @logger.warn "Stripe integration attributes \"user_collection\" and " \
405
410
  "\"user_field\" are now deprecated, please use \"mapping\" attribute."
406
411
  end
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "1.3.29"
2
+ VERSION = "1.3.30"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_liana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.29
4
+ version: 1.3.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda