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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b45396dadc577b1925f04594ce46dc4ceb68519b
4
- data.tar.gz: 60b510c900392fa4eef41cdb56caefa94f8b27ec
3
+ metadata.gz: 8234de5aefd56b79098a8a169d480630f225e280
4
+ data.tar.gz: 9b737e9282765e17251242eed4d48ebcc7ed3746
5
5
  SHA512:
6
- metadata.gz: d4bbcb652c6e56e0e62e903dccef99ed0a7510f4093b062a976dc800824c04062a4266c532cd14b00d1ffd71c8182bf1f2987ef055bad39120ec5e4efd1da44b
7
- data.tar.gz: 43597a142f9a65c0a8a81964e9686a7c254c0cc07db6fd96f1ac2e56e2d459380812fc12a04b0caca0a3689f325ad1ed4ee2082fff3e47ae56163be1dd1db554
6
+ metadata.gz: 2ab9a10a5ba8e91e57a9689f9368b979977ada2c787f906b8acbb9d39056bbc4758c0d3d25e86d0c0144f75c7ce49b6f7f6d94cba4d4149d091c6a92c7a7daa4
7
+ data.tar.gz: 123707d54c09d6406924ae1b9c2b791c9b70eeae26f7a3737990d1fd367007bb017a4c22cf5c166faa54fc17c1456626f5c716053a7e8f53569ff77dbc50c0bf
@@ -1,3 +1,3 @@
1
1
  module AttacheRails
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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') { "600" }.to_i # signed upload form expires in 10 minutes
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attache_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - choonkeat