forest_liana 9.14.6 → 9.15.0

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
  SHA256:
3
- metadata.gz: 665300b8af3aa77646cb116a0be4ade1e7576b275963feea1610b8fc024be912
4
- data.tar.gz: 67f2128c74912a8519b3abaf83965d04e7442d27d6b4201725595fad5da42b69
3
+ metadata.gz: 69f9957e56557898df599dfc7d383b8245f0eaf547bee56d801ac0acf43c3d77
4
+ data.tar.gz: cd5168db93e82e7482d6d010a9920770702d0d8ac7449100af6abc8c40ad2319
5
5
  SHA512:
6
- metadata.gz: 368449bddfa0211a045a7f16fb2e248ec035461b5905f3cfb202eb9034b41cd040ca32ada79cfce15ad1a3afd93579719fbe3b1b995c327d56aa2a74b04b384a
7
- data.tar.gz: 321fca8993566bca21ef13e21c05913cdcbe930aa4ba23e19502966d4a47c497ba2bb337e8e7683bde2ad3f69466e47e4754e7043a6eba55d3c861df0bb9be58
6
+ metadata.gz: 156cf52eec6bbd2091083ce1e47866e5a236f9c5c45979ceef108052ce81189a92d20ed341338ed604781d333404f2e7d2c2277285b2917ad4f3aa4990a7b611
7
+ data.tar.gz: d51bc16fe943322f8b93ea09c0a37b5798a330b6fc2a48d8b115a8663e6508954d143d2539db464372b3857e4894443e1dec49f27af82f092d8e861965e4314f
@@ -37,6 +37,8 @@ class ForestLiana::Router
37
37
  end
38
38
  end
39
39
 
40
+ params["action"] = action
41
+ params["controller"] = "#{env["SCRIPT_NAME"]}/#{collection_name}".delete_prefix("/")
40
42
  controller.action(action.to_sym).call(env)
41
43
  rescue NoMethodError => exception
42
44
  FOREST_REPORTER.report exception
@@ -150,7 +150,7 @@ module ForestLiana
150
150
  conditions.join(' OR '),
151
151
  search_value_for_string: "%#{@search.downcase}%",
152
152
  search_value_for_uuid: @search.to_s
153
- )
153
+ ) unless conditions.empty?
154
154
  end
155
155
 
156
156
  @records
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "9.14.6"
2
+ VERSION = "9.15.0"
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: 9.14.6
4
+ version: 9.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda