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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5549737880835111a37ba416eb3c38e85b51f299
4
- data.tar.gz: 4eda4d8fc1f9a2144f60b044f5509f65cca9d89d
3
+ metadata.gz: 4383af939a3a456f04f1d2f659d0bdfc16ce5cde
4
+ data.tar.gz: 5f9af58956f96c75937565cbdf2ae26f0515173a
5
5
  SHA512:
6
- metadata.gz: 7492e7492765ae20dd6614e994bb9c0e36470cc70bcc50bbcde2ddee6dbfa6ada23e8d57f215ce9583c51de6d5a5c808264ff3a5726f5b680ac8d9f68e185032
7
- data.tar.gz: 8c56e6f5adcafaf646face0a4268b3c7bff3001319e6d2536f508c6f79f81b833411a7697b363b4c77c05aa8ffad2b510be9dcdcc9ad840e775f948f68be6bd0
6
+ metadata.gz: 6315edb6cd53d8e099b6f5d2e0e5d0bb35a7a7e62c6def902be28c82026ea8017e2e7d71d2f142aec986e5fce2044c4fc97c9f3383fc18a107cb7c4b6cd99367
7
+ data.tar.gz: b22bd6ba8d89f302152068d9718e1fca439c462f1ee15ba56e130f3c2eab56a96564a27bca25b6524cecb34b5776628299c546f17ba4f55fcfdd598ef8c03751
@@ -1,5 +1,8 @@
1
1
  # Filestack-Ruby Changelog
2
2
 
3
+ ## 2.6.7 (August 4, 2020)
4
+ - Add content disposition task
5
+
3
6
  ## 2.6.6 (June 19, 2020)
4
7
  - Add compress task to transformations
5
8
 
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(handle: 'DEFAULT_HANDLE')
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(handle: 'DEFAULT_HANDLE?policy=HANDLE_APIKEY_POLICY&signature=HANDLE_APIKEY_SIGNATURE', cache: 10)
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.6
1
+ 2.6.7
@@ -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>
@@ -38,6 +38,6 @@ class TransformConfig
38
38
  redeye ascii filetype_conversion quality urlscreenshot
39
39
  no_metadata fallback pdfinfo pdfconvert cache auto_image
40
40
  minify_js minify_css animate video_convert video_playlist
41
- compress
41
+ compress content
42
42
  ].freeze
43
43
  end
@@ -1,5 +1,5 @@
1
1
  module Filestack
2
2
  module Ruby
3
- VERSION = '2.6.6'.freeze
3
+ VERSION = '2.6.7'.freeze
4
4
  end
5
5
  end
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.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-06-19 00:00:00.000000000 Z
11
+ date: 2020-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus