simple_form_extension 1.3.0 → 1.3.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 +40 -21
- data/lib/simple_form_extension/version.rb +1 -1
- data/simple_form_extension.gemspec +6 -4
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd0d4d65350359f148434359f72d6814ef77a806
|
4
|
+
data.tar.gz: c7ae53787ed0e0b4764f16454dfc0f4eb7f6f102
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4f4f7b41ed0af1856d5d6cc237926c507db3c94586d4f945f469a29a4f8a5a84771a9c3da858ab5ccad9dc9aa2d35a4de848bace1059d3cb4eb171bff17b86d
|
7
|
+
data.tar.gz: 351a83908b3cb0a7bcf972993d8349d000dd1a25bc6467d68bbcf6c2396e86c922454b62773967781c02740cd270e0787d363f01386b9a5f915376755e2af38b
|
data/README.md
CHANGED
@@ -1,20 +1,55 @@
|
|
1
|
-
#
|
1
|
+
# Simple Form Extension
|
2
2
|
|
3
|
-
|
3
|
+
This gems adds custom common input types to simple form.
|
4
|
+
|
5
|
+
## Available inputs
|
6
|
+
|
7
|
+
The following custom Simple Form inputs are available :
|
8
|
+
|
9
|
+
* boolean
|
10
|
+
* collection_check_boxes
|
11
|
+
* collection_radio_buttons
|
12
|
+
* color
|
13
|
+
* date_time
|
14
|
+
* file
|
15
|
+
* image
|
16
|
+
* numeric
|
17
|
+
* redactor
|
18
|
+
* selectize
|
19
|
+
* slider
|
20
|
+
|
21
|
+
Most of those inputs come with built-in javascript plugins, sometimes depending
|
22
|
+
on external gems, others with the javascript plugin bundled in the gem's vendor
|
23
|
+
directory.
|
24
|
+
|
25
|
+
For more informations on javascript plugins usage, see the
|
26
|
+
[Javascript plugins section](#javascript-plugins)
|
4
27
|
|
5
28
|
## Installation
|
6
29
|
|
7
30
|
Add this line to your application's Gemfile:
|
8
31
|
|
9
|
-
|
32
|
+
```ruby
|
33
|
+
gem 'simple_form_extension'
|
34
|
+
```
|
10
35
|
|
11
36
|
And then execute:
|
12
37
|
|
13
|
-
|
38
|
+
```bash
|
39
|
+
bundle
|
40
|
+
```
|
14
41
|
|
15
42
|
Or install it yourself as:
|
16
43
|
|
17
|
-
|
44
|
+
```bash
|
45
|
+
gem install simple_form_extension
|
46
|
+
```
|
47
|
+
|
48
|
+
Use the install generator :
|
49
|
+
|
50
|
+
```bash
|
51
|
+
rails generate simple_form_extension:install
|
52
|
+
```
|
18
53
|
|
19
54
|
Add to your `application.css` :
|
20
55
|
|
@@ -36,22 +71,6 @@ To use the popover component, please include in a javascript file :
|
|
36
71
|
$('body').popover(selector: '[rel="popover"]')
|
37
72
|
```
|
38
73
|
|
39
|
-
### Available inputs
|
40
|
-
|
41
|
-
The following custom Simple Form inputs are available :
|
42
|
-
|
43
|
-
* boolean
|
44
|
-
* collection_check_boxes
|
45
|
-
* collection_radio_buttons
|
46
|
-
* color
|
47
|
-
* date_time
|
48
|
-
* file
|
49
|
-
* image
|
50
|
-
* numeric
|
51
|
-
* redactor
|
52
|
-
* selectize
|
53
|
-
* slider
|
54
|
-
|
55
74
|
### Javascript Plugins
|
56
75
|
|
57
76
|
Simple Form Extension comes with several javascript plugins built-in for the
|
@@ -7,10 +7,10 @@ require 'simple_form_extension/version'
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'simple_form_extension'
|
9
9
|
spec.version = SimpleFormExtension::VERSION
|
10
|
-
spec.authors = ['
|
11
|
-
spec.email = ['
|
12
|
-
spec.summary = %q{
|
13
|
-
spec.description = %q{
|
10
|
+
spec.authors = ['Glyph-fr']
|
11
|
+
spec.email = ['contact@glyph.fr']
|
12
|
+
spec.summary = %q{This gems adds custom common input types to simple form.}
|
13
|
+
spec.description = %q{The following custom Simple Form inputs are available : boolean, collection_check_boxes, collection_radio_buttons, color, date_time, file, image, numeric, redactor, selectize and slider}
|
14
14
|
spec.homepage = 'http://www.glyph.fr'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
@@ -28,3 +28,5 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
29
29
|
spec.add_development_dependency 'rake'
|
30
30
|
end
|
31
|
+
|
32
|
+
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form_extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Glyph-fr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
@@ -108,10 +108,11 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
description:
|
112
|
-
image
|
111
|
+
description: 'The following custom Simple Form inputs are available : boolean, collection_check_boxes,
|
112
|
+
collection_radio_buttons, color, date_time, file, image, numeric, redactor, selectize
|
113
|
+
and slider'
|
113
114
|
email:
|
114
|
-
-
|
115
|
+
- contact@glyph.fr
|
115
116
|
executables: []
|
116
117
|
extensions: []
|
117
118
|
extra_rdoc_files: []
|
@@ -194,9 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
195
|
version: '0'
|
195
196
|
requirements: []
|
196
197
|
rubyforge_project:
|
197
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.2.2
|
198
199
|
signing_key:
|
199
200
|
specification_version: 4
|
200
|
-
summary:
|
201
|
-
upload
|
201
|
+
summary: This gems adds custom common input types to simple form.
|
202
202
|
test_files: []
|