refile 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +6 -0
- data/lib/refile.rb +1 -0
- data/lib/refile/version.rb +1 -1
- data/spec/refile/spec_helper.rb +1 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3a2b57d57c5951f0c24c51726efb70cce7d81ff
|
4
|
+
data.tar.gz: 39063e4b10ac86030aa75ab30463b1798b02b91a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 091a57dc29f9fc7cef0f9aa240446f48076a6a321d60cfdb9491104a91ec196a105ed3476a74f8f05f3fee7fdc1c796807710dd9b7eb3b642d961493ee505bbe
|
7
|
+
data.tar.gz: 9fb6d682ea8fc32b0a5a3321912e5315f5ac836b88d14636731fd2e068917f32a4621a02f2759acf4fc9d52ddebfe90235b7b46abda11bc502c62b23591f315f
|
data/History.md
CHANGED
data/lib/refile.rb
CHANGED
data/lib/refile/version.rb
CHANGED
data/spec/refile/spec_helper.rb
CHANGED
@@ -12,11 +12,9 @@ Refile.store = Refile::Backend::FileSystem.new(File.expand_path("default_store",
|
|
12
12
|
Refile.cache = Refile::Backend::FileSystem.new(File.expand_path("default_cache", tmp_path))
|
13
13
|
|
14
14
|
class FakePresignBackend < Refile::Backend::FileSystem
|
15
|
-
Signature = Struct.new(:as, :id, :url, :fields)
|
16
|
-
|
17
15
|
def presign
|
18
16
|
id = Refile::RandomHasher.new.hash
|
19
|
-
Signature.new("file", id, "/presigned/posts/upload", token: "xyz123"
|
17
|
+
Refile::Signature.new(as: "file", id: id, url: "/presigned/posts/upload", fields: { id: id, token: "xyz123" })
|
20
18
|
end
|
21
19
|
end
|
22
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Nicklas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -351,7 +351,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
351
351
|
version: '0'
|
352
352
|
requirements: []
|
353
353
|
rubyforge_project:
|
354
|
-
rubygems_version: 2.4.
|
354
|
+
rubygems_version: 2.4.3
|
355
355
|
signing_key:
|
356
356
|
specification_version: 4
|
357
357
|
summary: Simple and powerful file upload library
|