attache_rails 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/attache_rails/version.rb +1 -1
- data/lib/attache_rails.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8234de5aefd56b79098a8a169d480630f225e280
|
4
|
+
data.tar.gz: 9b737e9282765e17251242eed4d48ebcc7ed3746
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab9a10a5ba8e91e57a9689f9368b979977ada2c787f906b8acbb9d39056bbc4758c0d3d25e86d0c0144f75c7ce49b6f7f6d94cba4d4149d091c6a92c7a7daa4
|
7
|
+
data.tar.gz: 123707d54c09d6406924ae1b9c2b791c9b70eeae26f7a3737990d1fd367007bb017a4c22cf5c166faa54fc17c1456626f5c716053a7e8f53569ff77dbc50c0bf
|
data/lib/attache_rails.rb
CHANGED
@@ -3,7 +3,7 @@ module AttacheRails
|
|
3
3
|
ATTACHE_UPLOAD_URL = ENV.fetch('ATTACHE_UPLOAD_URL') { "#{ATTACHE_URL}/upload" }
|
4
4
|
ATTACHE_DOWNLOAD_URL = ENV.fetch('ATTACHE_DOWNLOAD_URL') { "#{ATTACHE_URL}/view" }
|
5
5
|
ATTACHE_DELETE_URL = ENV.fetch('ATTACHE_DELETE_URL') { "#{ATTACHE_URL}/delete" }
|
6
|
-
ATTACHE_UPLOAD_DURATION = ENV.fetch('ATTACHE_UPLOAD_DURATION') {
|
6
|
+
ATTACHE_UPLOAD_DURATION = ENV.fetch('ATTACHE_UPLOAD_DURATION') { 3.hours }.to_i # expires signed upload form
|
7
7
|
end
|
8
8
|
|
9
9
|
require "attache_rails/engine"
|