files.com 1.1.100 → 1.1.102

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: 65cd49d3f2cd4ffc3ced8ae8d0b433a7637f241c7d828a045b105bb4acbdf8f5
4
- data.tar.gz: 8166b6cbcded16d687309cc4c2b6231f77c8880a748cef44c286543a497e94a6
3
+ metadata.gz: 236d82a7483161cc5e6a939f5917b2052e16419c8e5fefdbb4d9f573541cf5ae
4
+ data.tar.gz: f00f742d97fd40717543e7eb8bc0bb30380d80a3f037d08cb75b286f2dbba3c7
5
5
  SHA512:
6
- metadata.gz: c97780e899aff6d83ac371fcac4984c9918dcca159c3ea415f131e6b9c2505855be9d3c85d49672ff34d8749b715fd3334c7de036d23305d23da3637828dcd59
7
- data.tar.gz: 55ae843492ee69badbdae587db58e554920a97771e67fbd1a7ccf3134de0f6f3070d6e30eeef253b11a74f58ca0e45d8d4dafa6729a1de1214052cd41d1c37f9
6
+ metadata.gz: 0ee08e83fd78fbdadb235c420d12f1d100df229bfbeb88e780bc8e248070269c42778ef6803f40cb7bba12b0abec53ec109d40f69066df7297fa439763a16d00
7
+ data.tar.gz: a16861952216ed034056254c266854577095384e48803e62e3021b7ead023d5323dffa4802cb8f8a1436b2e5367edf75efddbde97a45bf149917877ad535e30d
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.100
1
+ 1.1.102
@@ -58,7 +58,8 @@
58
58
  "dropbox_teams": true,
59
59
  "linode_bucket": "my-bucket",
60
60
  "linode_access_key": "example",
61
- "linode_region": "us-east-1"
61
+ "linode_region": "us-east-1",
62
+ "supports_versioning": true
62
63
  }
63
64
  ```
64
65
 
@@ -117,6 +118,7 @@
117
118
  * `linode_bucket` (string): Linode Bucket name
118
119
  * `linode_access_key` (string): Linode Access Key.
119
120
  * `linode_region` (string): Linode region
121
+ * `supports_versioning` (boolean): If true, this remote server supports file versioning. This value is determined automatically by Files.com.
120
122
  * `aws_secret_key` (string): AWS secret key.
121
123
  * `password` (string): Password if needed.
122
124
  * `private_key` (string): Private key if needed.
@@ -8,6 +8,7 @@ module Files
8
8
  @current_response = current_response
9
9
  @current_options = current_options
10
10
  @request_page = request_page
11
+ params[:per_page] ||= 1_000
11
12
  end
12
13
 
13
14
  # Iterates through each resource in all pages, making additional fetches to
@@ -504,6 +504,15 @@ module Files
504
504
  @attributes[:linode_region] = value
505
505
  end
506
506
 
507
+ # boolean - If true, this remote server supports file versioning. This value is determined automatically by Files.com.
508
+ def supports_versioning
509
+ @attributes[:supports_versioning]
510
+ end
511
+
512
+ def supports_versioning=(value)
513
+ @attributes[:supports_versioning] = value
514
+ end
515
+
507
516
  # string - AWS secret key.
508
517
  def aws_secret_key
509
518
  @attributes[:aws_secret_key]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.100"
4
+ VERSION = "1.1.102"
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.100
4
+ version: 1.1.102
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-07-18 00:00:00.000000000 Z
11
+ date: 2024-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable