refile-input 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inputs/refile_input.rb +1 -1
- data/refile-input.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41e92f1f1d253e7ae891a1cd6e92caee9e86239f
|
4
|
+
data.tar.gz: 6399b814fa6a13d75768d7310a3263a72ef9b4c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 480d3fed16e9c5b0b24a37722511bef84ac0094ab353297d39c7e6f84c6ae1c8c8625aaebe364d20b02abd42c119078f1c6c4af3208cc9893a059686bc26217a
|
7
|
+
data.tar.gz: 1b6980fd98568f662c9b3f4c7b89896f917c4d6a0f4998608ac9ee474a4231b1dc8fccf8f09c4bbb7fef97981ffa05d4afc61947b5d4a101c1b16c9c7659a5ad
|
data/lib/inputs/refile_input.rb
CHANGED
@@ -11,7 +11,7 @@ class RefileInput < Formtastic::Inputs::FileInput
|
|
11
11
|
|
12
12
|
attacher = object.send(:"#{method}_attacher")
|
13
13
|
options[:accept] = attacher.definition.accept
|
14
|
-
host = options[:host] || Refile.
|
14
|
+
host = options[:host] || Refile.cdn_host
|
15
15
|
|
16
16
|
if options[:direct]
|
17
17
|
backend_name = Refile.backends.key(attacher.cache)
|
data/refile-input.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'refile-input'
|
3
3
|
s.license = 'MIT'
|
4
|
-
s.version = '0.1.
|
4
|
+
s.version = '0.1.1'
|
5
5
|
s.authors = ["Petr Sergeev", "Sindre Moen"]
|
6
6
|
s.email = ["peter@hyper.no", "sindre@hyper.no"]
|
7
7
|
s.description = "This adds custom input to support refile file uploader to formtastic form builder"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refile-input
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petr Sergeev
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: formtastic
|