refile-input 0.0.3 → 0.0.4
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 +2 -2
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f3da1bf5e69b9e23d78bd6ad0e2ec31ea293b85
|
4
|
+
data.tar.gz: 75a682c49afb9a195149d474c6c17202212e21da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feb4b5ef30a05a55a5df828a62cc59dbbb5a781c27e81b2bca5bf675a1e81143e417ca056508b4adf63d8e1853c889970b6a36113dd77856d27aba765712a614
|
7
|
+
data.tar.gz: 916452928f9c354d36efb69e463ad043d99aab4aa4cd78d12ecca4d4e08bf0fe592ae4aa6a53929b20dedfd5515388566702de5fd0cb60d238c98743894536aa
|
data/lib/inputs/refile_input.rb
CHANGED
@@ -3,7 +3,7 @@ class RefileInput < Formtastic::Inputs::FileInput
|
|
3
3
|
options[:data] ||= {}
|
4
4
|
|
5
5
|
attacher = object.send(:"#{method}_attacher")
|
6
|
-
options[:accept] = attacher.accept
|
6
|
+
options[:accept] = attacher.definition.accept
|
7
7
|
|
8
8
|
if options[:direct]
|
9
9
|
host = options[:host] || Refile.host
|
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.0.
|
4
|
+
s.version = '0.0.4'
|
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"
|
@@ -12,5 +12,5 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
|
13
13
|
|
14
14
|
s.add_dependency 'formtastic', '~> 3.1'
|
15
|
-
s.add_dependency 'refile', '~> 0.
|
15
|
+
s.add_dependency 'refile', '~> 0.6'
|
16
16
|
end
|
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.0.
|
4
|
+
version: 0.0.4
|
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:
|
12
|
+
date: 2016-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: formtastic
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '0.
|
34
|
+
version: '0.6'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '0.
|
41
|
+
version: '0.6'
|
42
42
|
description: This adds custom input to support refile file uploader to formtastic
|
43
43
|
form builder
|
44
44
|
email:
|
@@ -75,8 +75,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
78
|
+
rubygems_version: 2.2.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Refile input type for formtastic
|
82
82
|
test_files: []
|
83
|
+
has_rdoc:
|