files.com 1.1.87 → 1.1.88

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6dc3e94924eb34b17627e92de66d82e39d4cb67a65021e489ac5b3ba372684f
4
- data.tar.gz: ed0a736ebf3651925c5507403d550cccf304a415eded6a47b7eb95aa4e1d9d26
3
+ metadata.gz: 1f39a895760cfd9381f1ca56d32881f21c9572483fbe332086d96248fa314ce4
4
+ data.tar.gz: 1f24301356ea3b6e6247162793de7eca5af9dc19955d7278851dbb6741d3ebf0
5
5
  SHA512:
6
- metadata.gz: cf2797375f08bfdb908c9e3561ed3909b35580401ad019a935c7b4879b53dce00dc1ea271bda5efb8fa12dfb3a07ebc418f6b8c86d64f27ba1c2f69019278c3c
7
- data.tar.gz: c59dacd31c2b53f56fa0f30641d56e59d0abbc7b95cbba3c66303667fa099bc4ee8fac14d37f97ca8fc3ea067eb9b40e9d8a6cbea05fb5cec8c42b3c0a9f3944
6
+ metadata.gz: 3ecf22d2dbd2d29f90d5e874ab52c4b8043baec8c3fa049642f88db413095ed8c04d9f5a206eb6b17b5e84bdceb215c5c30d15641cf19fba7e2d10f1050ae253
7
+ data.tar.gz: 88229888fa4d5a5638c7bc27bf3bdc5ee648c36d053d5c0a2298bc25da7da11e5b15c3eb77b11f718492cd23dc2056bf48091b5dcbbd9196b94b0d37e4805a78
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.87
1
+ 1.1.88
data/docs/lock.md CHANGED
@@ -68,10 +68,10 @@ Files::Lock.create(path,
68
68
  ### Parameters
69
69
 
70
70
  * `path` (string): Required - Path
71
- * `allow_access_by_any_user` (boolean): Allow lock to be updated by any user?
71
+ * `allow_access_by_any_user` (boolean): Can lock be modified by users other than its creator?
72
72
  * `exclusive` (boolean): Is lock exclusive?
73
- * `recursive` (string): Does lock apply to subfolders?
74
- * `timeout` (int64): Lock timeout length
73
+ * `recursive` (boolean): Does lock apply to subfolders?
74
+ * `timeout` (int64): Lock timeout in seconds
75
75
 
76
76
 
77
77
  ---
@@ -162,15 +162,14 @@ module Files
162
162
 
163
163
  # Parameters:
164
164
  # path (required) - string - Path
165
- # allow_access_by_any_user - boolean - Allow lock to be updated by any user?
165
+ # allow_access_by_any_user - boolean - Can lock be modified by users other than its creator?
166
166
  # exclusive - boolean - Is lock exclusive?
167
- # recursive - string - Does lock apply to subfolders?
168
- # timeout - int64 - Lock timeout length
167
+ # recursive - boolean - Does lock apply to subfolders?
168
+ # timeout - int64 - Lock timeout in seconds
169
169
  def self.create(path, params = {}, options = {})
170
170
  params ||= {}
171
171
  params[:path] = path
172
172
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
173
- raise InvalidParameterError.new("Bad parameter: recursive must be an String") if params[:recursive] and !params[:recursive].is_a?(String)
174
173
  raise InvalidParameterError.new("Bad parameter: timeout must be an Integer") if params[:timeout] and !params[:timeout].is_a?(Integer)
175
174
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
176
175
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.87"
4
+ VERSION = "1.1.88"
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.87
4
+ version: 1.1.88
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-05-30 00:00:00.000000000 Z
11
+ date: 2024-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable