neofiles 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd6bd67b5f8e69f12e4b4f5302180449877bf5c2
4
- data.tar.gz: 1e80129c603885ae84c8654c0d43d361e025c239
3
+ metadata.gz: 8a4b7d590e143a25e9eddd62c3270e9d3c681983
4
+ data.tar.gz: 94e6870230c940801d91acff9d3f6e6b2447a018
5
5
  SHA512:
6
- metadata.gz: 4d659abcdbcd5659e858fbe346138f04fdd33c6d4bfd6bdfdc3223e2086ba1f625583245dad8be62c7606ba5a01d91f6dfa3d6c22a8a8c4289b319a721c6f4d4
7
- data.tar.gz: 897cbe909484416ff6ef6bdff3ca33ddf8feeb86f548bd3e2ef39a6cc76f522943c1cc3e8e2222393d70d77ae098631c46b90ae35b979a46ac002404d9f716e4
6
+ metadata.gz: 8a75dcbc6d032ca8955779c66de0f973bd2ac9b97a9ff04a05678dde09dd0cb6cf6fb3d2a7eea11b83df1ecc576056b2cbaf3c6b8ea009cd28ef7dda413269b1
7
+ data.tar.gz: ec5be21a1b53ff6b435a8a1e5b51b4ea0115eb8fb053304e3264491f2a05f7324769ae957e0488bedd91b6ea9a9614ea572ce1b638fa62b60daea439d9bbf7e2
@@ -20,7 +20,7 @@ module Neofiles
20
20
 
21
21
  # web frontend for serving images and other files
22
22
  get '/serve/:id', to: 'files#show', as: :neofiles_file
23
- get '/serve-image/:id(/:format(/c:crop)(/q:quality))', to: 'images#show', as: :neofiles_image, constraints: {format: /[1-9]\d*x[1-9]\d*/, crop: /[10]/, quality: /[1-9]\d*/}
23
+ get '/serve-image/:id(/:format(/c:crop)(/q:quality))', to: 'images#show', as: :neofiles_image, format: false, constraints: {format: /[1-9]\d*x[1-9]\d*/, crop: /[10]/, quality: /[1-9]\d*/}
24
24
 
25
25
  # serve images w/o watermark - path has prefix nowm_ to let Nginx ot other web server not cache these queries,
26
26
  # unlike usual /serve-image/:id
@@ -1,3 +1,3 @@
1
1
  module Neofiles
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neofiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konanykhin Ilya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-10 00:00:00.000000000 Z
11
+ date: 2020-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails