simple_form_fancy_uploads 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/README.md +3 -3
- data/lib/simple_form_fancy_uploads/version.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1b75cdcaf00dad60ac963223c4143085c9e97b9
|
4
|
+
data.tar.gz: f53775548ca15b3884b0ece5441cd316085964f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec40667d3511f4c1b9c2ec8c2b7a430aa43354317f406cd430a090debd8539905837fe89516d888e5eda2ec3fa8c9a81da0368f5d8b3f0bdd48863628368e403
|
7
|
+
data.tar.gz: 124aa9f5404a5f32e541f308166c45e4881dde012b22d742567084f0a22c7a0e1e165c7dd3b5c961161103694d220278c7c88942f9303a3d01462a620159969d
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# SimpleForm fancy uploads
|
2
2
|
|
3
|
-
A set of [simple_form](https://github.com/plataformatec/simple_form) (
|
3
|
+
A set of [simple_form](https://github.com/plataformatec/simple_form) (~> 3.0) custom inputs to get image previews or a link to
|
4
4
|
uploaded file.
|
5
5
|
|
6
|
-
This gem uses the new simple_form
|
6
|
+
This gem uses the new simple_form 3.0 ability to write your own form tags (check the [simple_form-bootstrap](https://github.com/rafaelfranca/simple_form-bootstrap) example). In 90% of cases, you need some kind of preview when it comes to uploaded files (avatar, images, docs, etc..), why should I write the same markup each time?
|
7
7
|
|
8
8
|
## What you get
|
9
9
|
|
@@ -40,7 +40,7 @@ If you need to fallback on Carrierwave's `#default_url` method to show a default
|
|
40
40
|
|
41
41
|
To get it work, you need:
|
42
42
|
|
43
|
-
* [simple_form](https://github.com/plataformatec/simple_form)
|
43
|
+
* [simple_form](https://github.com/plataformatec/simple_form) ~> 3.0 (*repetita iuvant*)
|
44
44
|
* [carrierwave](https://github.com/jnicklas/carrierwave) actually it's the most opinionated gem for uploads (thank you paperclip for the good times, but you know... life goes on)
|
45
45
|
* ruby 1.9+ (it uses some 1.9's syntax)
|
46
46
|
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form_fancy_uploads
|
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
|
- Andrea Pavoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: simple_form
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.0
|
33
|
+
version: '3.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.0
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: carrierwave
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: Use simple_form (>= v2.0) custom inputs to get image previews or a link
|
@@ -60,14 +60,14 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
+
- MIT-LICENSE
|
64
|
+
- README.md
|
65
|
+
- Rakefile
|
66
|
+
- lib/simple_form_fancy_uploads.rb
|
63
67
|
- lib/simple_form_fancy_uploads/attachment_preview_input.rb
|
64
68
|
- lib/simple_form_fancy_uploads/image_preview_input.rb
|
65
69
|
- lib/simple_form_fancy_uploads/version.rb
|
66
|
-
- lib/simple_form_fancy_uploads.rb
|
67
70
|
- lib/tasks/simple_form_fancy_uploads_tasks.rake
|
68
|
-
- MIT-LICENSE
|
69
|
-
- Rakefile
|
70
|
-
- README.md
|
71
71
|
homepage: http://github.com/apeacox/simple_form_fancy_uploads
|
72
72
|
licenses: []
|
73
73
|
metadata: {}
|
@@ -77,17 +77,17 @@ require_paths:
|
|
77
77
|
- lib
|
78
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- -
|
85
|
+
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
89
|
rubyforge_project:
|
90
|
-
rubygems_version: 2.
|
90
|
+
rubygems_version: 2.2.2
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: simple_form custom inputs to get image/link previews with file uploads.
|