files.com 1.1.14 → 1.1.16

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: c1c0c0d884e1fa18cc06280511e7ebe0c31be52be2df1e287ac0dff5f9be3971
4
- data.tar.gz: 03d89cf8625543632365cf4ec13d5fee60cbeed863dddf635bf204fd3ee61c12
3
+ metadata.gz: 2c27af83dde141511c39b3f9f9b6d80d9faf50e281d5cdffd42c5654685bfb59
4
+ data.tar.gz: 8259812e53e88d9d11c44e4032ed7160dba888536c65e7533d50b526eb0ae50e
5
5
  SHA512:
6
- metadata.gz: 2ef50b97181b08d4e29ba64bc29e984c2426685251477983d0940d8d862644036917c148989d82075f08121daf264a564faebe89e09b2bb86b1a70105291e5cc
7
- data.tar.gz: 719f3122d9bbbad66907e00852fd547a4b5b95fb8002cb8ba9733db912ed4cd13d2235c8f2364879859ea731bc964cd428e560f10cd4542bcede7e9a04f4465f
6
+ metadata.gz: 5aa07f9005e36c7c004e57993168a14716a5d98777b2a81e4226ab27fabcc0496ccf16aa0595a266639bdc3057e2626bd820e0c818a0f24e09a965ecc20260f9
7
+ data.tar.gz: b56015064e34e4b22236c32e22224bab5171b3dc29d211fff7743f7a46e36672ba28543bff11ee4aee41f9fcff96f9cbf1a991a39ea7737ec934a93a006694e6
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.14
1
+ 1.1.16
data/docs/file.md CHANGED
@@ -45,7 +45,7 @@ may places where a Ruby File object can be used.
45
45
  * `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
46
46
  * `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
47
47
  * `region` (string): Region location
48
- * `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
48
+ * `permissions` (string): A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
49
49
  * `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
50
50
  * `is_locked` (boolean): Is this folder locked and unable to be modified?
51
51
  * `download_uri` (string): Link to download file. Provided only in response to a download request.
data/docs/folder.md CHANGED
@@ -47,7 +47,7 @@ Files::Dir is an alias of Files::Folder
47
47
  * `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
48
48
  * `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
49
49
  * `region` (string): Region location
50
- * `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
50
+ * `permissions` (string): A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
51
51
  * `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
52
52
  * `is_locked` (boolean): Is this folder locked and unable to be modified?
53
53
  * `download_uri` (string): Link to download file. Provided only in response to a download request.
@@ -660,7 +660,7 @@ module Files
660
660
  @attributes[:region] = value
661
661
  end
662
662
 
663
- # string - A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
663
+ # string - A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
664
664
  def permissions
665
665
  @attributes[:permissions]
666
666
  end
@@ -245,7 +245,7 @@ module Files
245
245
  @attributes[:region] = value
246
246
  end
247
247
 
248
- # string - A short string representing the current user's permissions. Can be `r`,`w`,`d`, `l` or any combination
248
+ # string - A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
249
249
  def permissions
250
250
  @attributes[:permissions]
251
251
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.14"
4
+ VERSION = "1.1.16"
5
5
  end
@@ -0,0 +1,18 @@
1
+ {
2
+ "substitute_urls": [
3
+ "https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Date=%s&X-Goog-Expires=%s&X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-SignedHeaders=host",
4
+ "https://s3.amazonaws.com/test.example.com/metadata/1234/00000000-0000-0000-0001-00000000?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=%s&X-Amz-Expires=%s",
5
+ "https://filescomtests.blob.core.windows.net/testazureremote/ntie3buw/file-to-download.txt?sp=se=%s"
6
+ ],
7
+ "error_urls": [
8
+ "https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Date=20220101T120000Z",
9
+ "https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Date=20220101T120000Z&X-Goog-Date=20220202T120000Z",
10
+ "https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Expires=900&X-Goog-Expires=600",
11
+ "https://filescomtests.blob.core.windows.net/testazureremote/ntie3buw/file-to-download.txt?sp=se=20220101T120000Z&sp=se=20220202T120000Z",
12
+ "https://filescomtests.blob.core.windows.net/testazureremote/ntie3buw/file-to-download.txt?sp=20220101T120000Z",
13
+ "https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Date=20220101&X-Goog-Expires=900",
14
+ "https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Date=asdf&X-Goog-Expires=900",
15
+ "https://storage.googleapis.com/example-bucket/cat.jpeg?X-Goog-Date=20220101T120000Z&&X-Goog-Expires=900",
16
+ "https://s3.amazonaws.com/test.example.com/metadata/1234/00000000-0000-0000-0001-00000000?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=asdf&X-Amz-Expires=900"
17
+ ]
18
+ }
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.14
4
+ version: 1.1.16
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-01-10 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -296,6 +296,7 @@ files:
296
296
  - lib/files.com/version.rb
297
297
  - setup.sh
298
298
  - shared/normalization_for_comparison_test_data.json
299
+ - shared/url_test_data.json
299
300
  - spec/lib/api_client_spec.rb
300
301
  - spec/list_spec.rb
301
302
  - spec/models/file_spec.rb