files.com 1.1.275 → 1.1.277
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 +4 -4
- data/Gemfile.lock +23 -18
- data/_VERSION +1 -1
- data/docs/site.md +2 -1
- data/docs/user.md +3 -1
- data/lib/files.com/models/user.rb +9 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a854891a68a40d92fcc6ed806f0f088fd7b725ffe9b883bd89d32db7843bc244
|
4
|
+
data.tar.gz: f180e853b131c1f2a9d6fb4f839943ac941b0d9c4934eafd6a41f5342fd6038a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c224595180a0747055d67d17f33b2920ec25045ecbf62be338a61504d19402628047e7199aaf4cda27be45340b010401a2c79e631bb0068f35fa45533a2b3cca
|
7
|
+
data.tar.gz: 32000a6858f38cd9f41ae2787e29cd391fcb82242080820276f7bb983fc36598979230c970d658b98c9e509dcf3bb3361c86de8097fdf7e15a2f896a4ada60ef
|
data/Gemfile.lock
CHANGED
@@ -12,29 +12,34 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
addressable (2.8.
|
16
|
-
public_suffix (>= 2.0.2, <
|
15
|
+
addressable (2.8.7)
|
16
|
+
public_suffix (>= 2.0.2, < 7.0)
|
17
17
|
ast (2.4.2)
|
18
18
|
byebug (11.1.3)
|
19
19
|
coderay (1.1.3)
|
20
|
-
concurrent-ruby (1.
|
21
|
-
connection_pool (2.
|
20
|
+
concurrent-ruby (1.3.5)
|
21
|
+
connection_pool (2.5.3)
|
22
22
|
diff-lcs (1.5.0)
|
23
|
-
faraday (2.
|
24
|
-
faraday-net_http (>= 2.0, < 3.
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
faraday-
|
23
|
+
faraday (2.13.1)
|
24
|
+
faraday-net_http (>= 2.0, < 3.5)
|
25
|
+
json
|
26
|
+
logger
|
27
|
+
faraday-multipart (1.1.0)
|
28
|
+
multipart-post (~> 2.0)
|
29
|
+
faraday-net_http (3.4.1)
|
30
|
+
net-http (>= 0.5.0)
|
31
|
+
faraday-net_http_persistent (2.3.0)
|
30
32
|
faraday (~> 2.5)
|
31
|
-
net-http-persistent (
|
33
|
+
net-http-persistent (>= 4.0.4, < 5)
|
32
34
|
json (2.6.2)
|
35
|
+
logger (1.7.0)
|
33
36
|
memory_profiler (1.0.0)
|
34
37
|
method_source (1.0.0)
|
35
|
-
multipart-post (2.
|
36
|
-
net-http
|
37
|
-
|
38
|
+
multipart-post (2.4.1)
|
39
|
+
net-http (0.6.0)
|
40
|
+
uri
|
41
|
+
net-http-persistent (4.0.6)
|
42
|
+
connection_pool (~> 2.2, >= 2.2.4)
|
38
43
|
parallel (1.22.1)
|
39
44
|
parser (3.1.2.1)
|
40
45
|
ast (~> 2.4.1)
|
@@ -44,7 +49,7 @@ GEM
|
|
44
49
|
pry-byebug (3.10.1)
|
45
50
|
byebug (~> 11.0)
|
46
51
|
pry (>= 0.13, < 0.15)
|
47
|
-
public_suffix (
|
52
|
+
public_suffix (6.0.2)
|
48
53
|
rainbow (3.1.1)
|
49
54
|
rake (13.0.6)
|
50
55
|
regexp_parser (2.5.0)
|
@@ -75,8 +80,8 @@ GEM
|
|
75
80
|
rubocop-ast (1.21.0)
|
76
81
|
parser (>= 3.1.1.0)
|
77
82
|
ruby-progressbar (1.11.0)
|
78
|
-
ruby2_keywords (0.0.5)
|
79
83
|
unicode-display_width (2.2.0)
|
84
|
+
uri (1.0.3)
|
80
85
|
|
81
86
|
PLATFORMS
|
82
87
|
ruby
|
@@ -91,4 +96,4 @@ DEPENDENCIES
|
|
91
96
|
rubocop
|
92
97
|
|
93
98
|
BUNDLED WITH
|
94
|
-
2.4
|
99
|
+
2.1.4
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.277
|
data/docs/site.md
CHANGED
@@ -284,7 +284,8 @@
|
|
284
284
|
"user_root": "example",
|
285
285
|
"user_home": "example",
|
286
286
|
"days_remaining_until_password_expire": 1,
|
287
|
-
"password_expire_at": "2000-01-01T01:00:00Z"
|
287
|
+
"password_expire_at": "2000-01-01T01:00:00Z",
|
288
|
+
"has_reassignable_associations": true
|
288
289
|
},
|
289
290
|
"user_lockout": true,
|
290
291
|
"user_lockout_lock_period": 1,
|
data/docs/user.md
CHANGED
@@ -71,7 +71,8 @@
|
|
71
71
|
"user_root": "example",
|
72
72
|
"user_home": "example",
|
73
73
|
"days_remaining_until_password_expire": 1,
|
74
|
-
"password_expire_at": "2000-01-01T01:00:00Z"
|
74
|
+
"password_expire_at": "2000-01-01T01:00:00Z",
|
75
|
+
"has_reassignable_associations": true
|
75
76
|
}
|
76
77
|
```
|
77
78
|
|
@@ -141,6 +142,7 @@
|
|
141
142
|
* `user_home` (string): Home folder for FTP/SFTP. Note that this is not used for API, Desktop, or Web interface.
|
142
143
|
* `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
|
143
144
|
* `password_expire_at` (date-time): Password expiration datetime
|
145
|
+
* `has_reassignable_associations` (boolean): Does this user have any associations that can be reassigned on delete?
|
144
146
|
* `avatar_file` (file): An image file for your user avatar.
|
145
147
|
* `avatar_delete` (boolean): If true, the avatar will be deleted.
|
146
148
|
* `change_password` (string): Used for changing a password on an existing user.
|
@@ -599,6 +599,15 @@ module Files
|
|
599
599
|
@attributes[:password_expire_at] = value
|
600
600
|
end
|
601
601
|
|
602
|
+
# boolean - Does this user have any associations that can be reassigned on delete?
|
603
|
+
def has_reassignable_associations
|
604
|
+
@attributes[:has_reassignable_associations]
|
605
|
+
end
|
606
|
+
|
607
|
+
def has_reassignable_associations=(value)
|
608
|
+
@attributes[:has_reassignable_associations] = value
|
609
|
+
end
|
610
|
+
|
602
611
|
# file - An image file for your user avatar.
|
603
612
|
def avatar_file
|
604
613
|
@attributes[:avatar_file]
|
data/lib/files.com/version.rb
CHANGED
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.
|
4
|
+
version: 1.1.277
|
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-
|
11
|
+
date: 2025-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|