files.com 1.1.285 → 1.1.286

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: b352bf2901921caf5aede20cd4f2821c923ab0f0d2401e2e9d2c9ea7da24ae85
4
- data.tar.gz: 5e5331ce0145b7aa801a2ccf811671d532867af1c5fb9681658f2ec98d8cc15f
3
+ metadata.gz: 6256043fdd8f657e9f09a158c9a9e1313ad29479b059d0f38ef24ecb2f79a5ab
4
+ data.tar.gz: 8e528d20b5c6170136557e1c042e4406c256f9a81ebe85b3b25386f074f041d0
5
5
  SHA512:
6
- metadata.gz: 1ef906531c60ef7829254a1f4c5c0c70ac9a4876af9f809d2fcb69d677e839db00dfd2c6ed245f2e6287bf48140cbd6b2388f1ef3e48931a1fd9dc01e721669a
7
- data.tar.gz: 3cc141016bdd1ca0a17dc7f101db68f94415de1489265f38661c28e7f5d94452056940673710d0a5de2989b3ef4773072ecf7dc259124c5356ce4298fc73e06f
6
+ metadata.gz: a85488e1f8971b255ee9b098e4f0fcb6ddd59830f9c103f874cf7f4913e79871b3c30a874caa007ff6c647092912895b0cf4d50fd6441c996401d3b9b3827e56
7
+ data.tar.gz: 9ffe27cf757896a09f5a952d5fe93b5177734ae46d0fca92533e28df6d180b7eafc8b72fa2551f6ac59c4dbf8d650ac8e09a08846875d8b852e7d934c847dce6
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.285
1
+ 1.1.286
data/docs/behavior.md CHANGED
@@ -45,7 +45,6 @@ Files::Behavior.list
45
45
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
46
46
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
47
47
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
48
- * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
49
48
 
50
49
 
51
50
  ---
@@ -77,7 +76,6 @@ Files::Behavior.list_for(path,
77
76
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
78
77
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
79
78
  * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
80
- * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
81
79
  * `path` (string): Required - Path to operate on.
82
80
  * `ancestor_behaviors` (boolean): If `true`, behaviors above this path are shown.
83
81
 
@@ -160,13 +160,11 @@ module Files
160
160
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
161
161
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
162
162
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
163
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
164
163
  def self.list(params = {}, options = {})
165
164
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
166
165
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
167
166
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
168
167
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
169
- raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
170
168
 
171
169
  List.new(Behavior, params) do
172
170
  Api.send_request("/behaviors", :get, params, options)
@@ -198,7 +196,6 @@ module Files
198
196
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
199
197
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
200
198
  # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `impacts_ui` and `behavior`.
201
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `behavior`.
202
199
  # path (required) - string - Path to operate on.
203
200
  # ancestor_behaviors - boolean - If `true`, behaviors above this path are shown.
204
201
  def self.list_for(path, params = {}, options = {})
@@ -208,7 +205,6 @@ module Files
208
205
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
209
206
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
210
207
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
211
- raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
212
208
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
213
209
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
214
210
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.285"
4
+ VERSION = "1.1.286"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.285
4
+ version: 1.1.286
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-26 00:00:00.000000000 Z
11
+ date: 2025-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable