effective_bootstrap 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6cb78eaa9331f2a6a100761fce34ede5596862f
|
4
|
+
data.tar.gz: 3380f75ee4aeff5184fec1e7d186b8542b5e52e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a3612ee43886d88fd890ac452bca68bf11be8320b9fe0e79ca2d32ca3a520f0fc24fb199ad1d41df80d4b2847553d8ee36328d5e8d88c7b55393f63411322fd
|
7
|
+
data.tar.gz: 37c22934d419c7bd2629aaf2442e7d3430d41d354f31e617fad6d1c87f6348a36dbf4e254175fb5f942db415628f3377281cab3884486f719b91866793e0f6c6
|
@@ -22,7 +22,11 @@ module Effective
|
|
22
22
|
alias_method :super_text_area, :text_area
|
23
23
|
|
24
24
|
def check_box(name, options = {})
|
25
|
-
Effective::FormInputs::CheckBox.new(name, options, builder: self).to_html {
|
25
|
+
Effective::FormInputs::CheckBox.new(name, options, builder: self).to_html {
|
26
|
+
checked_value = options.delete(:checked_value)
|
27
|
+
unchecked_value = options.delete(:unchecked_value)
|
28
|
+
super(name, options, checked_value, unchecked_value)
|
29
|
+
}
|
26
30
|
end
|
27
31
|
|
28
32
|
def checks(name, choices = nil, *args)
|
@@ -30,8 +30,8 @@ module Effective
|
|
30
30
|
# [{'header': [1, 2, 3, 4, false] }],
|
31
31
|
['bold', 'italic', 'underline'],
|
32
32
|
['link', 'image', 'video'], # also 'code-block'
|
33
|
-
[{'list': 'ordered'}, {
|
34
|
-
[{'align': [] }, 'clean']
|
33
|
+
[{'list': 'ordered'}, {'list': 'bullet'}, 'blockquote'],
|
34
|
+
[{'align': [] }, 'clean']
|
35
35
|
]
|
36
36
|
end
|
37
37
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|