files.com 1.1.162 → 1.1.164

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: 711ec7264f5d9f65cb4ccdd2afe0482e9995420412b055cf8238bc0050a98363
4
- data.tar.gz: c3fcb2c2c8db232fdbeb1e459d7b9a15edb41cd10caff3b938f8dd817bd1a8c9
3
+ metadata.gz: 0144cf8b48e68a6043d8b4002657b263d12a6d05f05ce9385cfe211d8e2aa6b0
4
+ data.tar.gz: 1b59208cd691b0984ee1adfd69374f1f60719ea0d9a1cc118b65413ecfd3f59b
5
5
  SHA512:
6
- metadata.gz: 38844c639795abfe4dca3b63ff1466962981595f9cb142d00da6a4b6080f48de3b95bfbbcc8f253df53c322ecb9fdab215d822be1dea5da35b4e4cdf48db48dc
7
- data.tar.gz: 2a57927b4edcd352ab66305a20e3d8163e8a5932ec4955d3d6cc75f493adaff743bf0376dc17beb152c1fba7896cb4c00bb501f1d35df0926699aab66c5e073e
6
+ metadata.gz: 48fbfdab1ab4f351528d43e58e4145a136631dc00bac378a6a5aae27f27f52132bfc3c1eaeda51278cea3d9159af4422c068cbfb277c1ad35b1bacad3f975300
7
+ data.tar.gz: 82bd74b7f1825d775c7f937cca435fd1246a30bbe4fe77e73410f5adc861fd8643f1f0fbec5441b0c619f59aebb3fadd9945783863a4c54951d1c20cddb9922c
data/README.md CHANGED
@@ -23,13 +23,13 @@ To install the gem, simply use Rubygems:
23
23
 
24
24
  ```bash
25
25
  gem install files.com
26
- ````
26
+ ```
27
27
 
28
28
  You can also use Bundler, by adding `files.com` to your app's `Gemfile`:
29
29
 
30
30
  ```ruby
31
31
  gem 'files.com', '~> 1.0'
32
- ````
32
+ ```
33
33
 
34
34
  ### Requirements
35
35
 
@@ -106,7 +106,7 @@ user = Files::User.new(params, session_id: session.id)
106
106
  ## You may also specify the session ID on a per-request basis in the final parameter to static methods.
107
107
  Files::Group.list({}, session_id: session.id)
108
108
 
109
- ````
109
+ ```
110
110
 
111
111
  #### Logging Out
112
112
 
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.162
1
+ 1.1.164
data/docs/history.md CHANGED
@@ -119,7 +119,7 @@ Files::History.list_logins(
119
119
  * `display` (string): Display format. Leave blank or set to `full` or `parent`.
120
120
  * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
121
121
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
122
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
122
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `action_login` or `created_at`.
123
123
 
124
124
 
125
125
  ---
@@ -160,7 +160,7 @@ module Files
160
160
  # display - string - Display format. Leave blank or set to `full` or `parent`.
161
161
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
162
162
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
163
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
163
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `action_login` or `created_at`.
164
164
  def self.list_logins(params = {}, options = {})
165
165
  raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
166
166
  raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.162"
4
+ VERSION = "1.1.164"
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.162
4
+ version: 1.1.164
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-26 00:00:00.000000000 Z
11
+ date: 2024-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable