files.com 1.0.317 → 1.0.318

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: fa38bc0b15e4218c96a88786c9de43fe01af76e522cbf4abc9e58515d7233fda
4
- data.tar.gz: de78190a364287936ccf52e419a0b8b05f657b8df4991d6685c53b0de9e8fa9e
3
+ metadata.gz: 385ed6a3ae32dcc114475e66bcf7ec98888b6311bef2790843e029a9315aac6f
4
+ data.tar.gz: 499d2d9661ff3067c02b87d7c522d8d0fc42ad35487123980b81cfcd1db8380b
5
5
  SHA512:
6
- metadata.gz: 332b614b306e8edc12a280c7964ca6fab1285a9a28852e9e61283d1061a0286cc1ce9b921a7eaa9ef620971e20e6f46ec73d33b3f51475850e4db2bf107cd614
7
- data.tar.gz: 8ef88fd22701ded7c8ed441433d5c960c91bc00095a55b31354fd013422ff5d78bb81886c795f1d8a9ed43dd2f967841013fd740ecf1bfbb1d1c51dc03cd232a
6
+ metadata.gz: 87c3191465e6206bc5ef67e3d39af6a593f51e3b00bbbf19f14c812f4a59bff03a784b89bf57361cf9d8603c82c9761818d1560b8b8fbf89dec4ca655bc5859c
7
+ data.tar.gz: 15d128e97240126b3e330b0edd9d0069db811d6cde2400a12d525da910afcee6f9cce9115099ffab2b9544515c5ca6e7681d64cd561ba81dd835ef3ffdec1b13
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.317
1
+ 1.0.318
data/docs/folder.md CHANGED
@@ -83,7 +83,8 @@ Files::Folder.list_for(path,
83
83
 
84
84
  ```
85
85
  Files::Folder.create(path,
86
- mkdir_parents: true
86
+ mkdir_parents: true,
87
+ provided_mtime: "2000-01-01T01:00:00Z"
87
88
  )
88
89
  ```
89
90
 
@@ -91,3 +92,4 @@ Files::Folder.create(path,
91
92
 
92
93
  * `path` (string): Required - Path to operate on.
93
94
  * `mkdir_parents` (boolean): Create parent directories if they do not exist?
95
+ * `provided_mtime` (string): User provided modification time.
@@ -351,10 +351,12 @@ module Files
351
351
  # Parameters:
352
352
  # path (required) - string - Path to operate on.
353
353
  # mkdir_parents - boolean - Create parent directories if they do not exist?
354
+ # provided_mtime - string - User provided modification time.
354
355
  def self.create(path, params = {}, options = {})
355
356
  params ||= {}
356
357
  params[:path] = path
357
358
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
359
+ raise InvalidParameterError.new("Bad parameter: provided_mtime must be an String") if params[:provided_mtime] and !params[:provided_mtime].is_a?(String)
358
360
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
359
361
 
360
362
  response, options = Api.send_request("/folders/#{params[:path]}", :post, params, options)
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.0.317
4
+ version: 1.0.318
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-31 00:00:00.000000000 Z
11
+ date: 2023-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable