filestack 2.6.6 → 2.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +9 -2
- data/VERSION +1 -1
- data/docs/TransformConfig.html +1 -1
- data/lib/filestack/config.rb +1 -1
- data/lib/filestack/ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4383af939a3a456f04f1d2f659d0bdfc16ce5cde
|
4
|
+
data.tar.gz: 5f9af58956f96c75937565cbdf2ae26f0515173a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6315edb6cd53d8e099b6f5d2e0e5d0bb35a7a7e62c6def902be28c82026ea8017e2e7d71d2f142aec986e5fce2044c4fc97c9f3383fc18a107cb7c4b6cd99367
|
7
|
+
data.tar.gz: b22bd6ba8d89f302152068d9718e1fca439c462f1ee15ba56e130f3c2eab56a96564a27bca25b6524cecb34b5776628299c546f17ba4f55fcfdd598ef8c03751
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -123,13 +123,20 @@ Return `default` file if the source of the transformation does not work or the t
|
|
123
123
|
To use fallback, you should provide `handle` of the file that should be returned. Optionally, you can add `cache`, which means number of seconds fallback response should be cached in CDN.
|
124
124
|
|
125
125
|
```ruby
|
126
|
-
transform = client.transform_external('https://someurl.com').fallback(
|
126
|
+
transform = client.transform_external('https://someurl.com/file.png').fallback(file: 'DEFAULT_HANDLE_OR_FILEPATH')
|
127
127
|
```
|
128
128
|
|
129
129
|
If you are using fallback handle that belongs to different application than the one which runs transformation (APIKEY) and it is secured with security policy, appropriate signature and policy with read call should be used:
|
130
130
|
|
131
131
|
```ruby
|
132
|
-
transform = client.transform_external('https://someurl.com').fallback(
|
132
|
+
transform = client.transform_external('https://someurl.com/file.png').fallback(file: 'DEFAULT_HANDLE_OR_FILEPATH?policy=HANDLE_APIKEY_POLICY&signature=HANDLE_APIKEY_SIGNATURE', cache: 10)
|
133
|
+
```
|
134
|
+
|
135
|
+
### Content
|
136
|
+
Sets `Content-Disposition` header for given file.
|
137
|
+
|
138
|
+
```ruby
|
139
|
+
transform = filelink.transform.content(filename: 'DEFAULT_FILENAME', type: 'TYPE')
|
133
140
|
```
|
134
141
|
|
135
142
|
### Tagging
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.7
|
data/docs/TransformConfig.html
CHANGED
@@ -115,7 +115,7 @@
|
|
115
115
|
</span><span class='tstring_content'> redeye</span><span class='words_sep'> </span><span class='tstring_content'>ascii</span><span class='words_sep'> </span><span class='tstring_content'>filetype_conversion</span><span class='words_sep'> </span><span class='tstring_content'>quality</span><span class='words_sep'> </span><span class='tstring_content'>urlscreenshot</span><span class='words_sep'>
|
116
116
|
</span><span class='tstring_content'> no_metadata</span><span class='words_sep'></span><span class='tstring_content'> fallback</span><span class='words_sep'></span><span class='tstring_content'> pdfinfo</span><span class='words_sep'></span><span class='tstring_content'> pdfconvert</span><span class='words_sep'></span><span class='tstring_content'> cache</span><span class='words_sep'></span><span class='tstring_content'> auto_image</span><span class='words_sep'>
|
117
117
|
</span><span class='tstring_content'> minify_js</span><span class='words_sep'></span><span class='tstring_content'> minify_css</span><span class='words_sep'></span><span class='tstring_content'> animate</span><span class='words_sep'></span><span class='tstring_content'> video_convert</span><span class='words_sep'></span><span class='tstring_content'> video_playlist</span><span class='words_sep'>
|
118
|
-
</span><span class='tstring_content'> compress</span><span class='words_sep'></span>
|
118
|
+
</span><span class='tstring_content'> compress</span><span class='words_sep'></span><span class='tstring_content'> content</span><span class='words_sep'></span>
|
119
119
|
<span class='tstring_end'>]</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
120
120
|
|
121
121
|
</dl>
|
data/lib/filestack/config.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filestack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Filestack
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|