pagedown-bootstrap-rails 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbd8cd2c42377cb7e352b5ed733dd3faf32892e8
|
|
4
|
+
data.tar.gz: a0833a6fda876e37107ada9232da0a75d9da576a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c247457c278a69df522ea0c1af117f3cc807fe7cd758a533a2cbdeb7aa4b9c9ba808a334d570dc4bc37f880fa933cab8d5086303cf82c67ea0d1c8fa03ab676
|
|
7
|
+
data.tar.gz: acd1053db2531197b6af60e28669c729c624b42e3302780e5190e926500eb134bcdf4feb136df0a38f295e58c1bf1eb2d3bc99f7fb0a2fc70271ddd39d1444f6
|
data/{Readme.md → README.md}
RENAMED
|
@@ -87,10 +87,12 @@ class PagedownInput < SimpleForm::Inputs::TextInput
|
|
|
87
87
|
private
|
|
88
88
|
|
|
89
89
|
def wmd_input
|
|
90
|
+
classes = input_html_options[:class] || []
|
|
91
|
+
classes << 'wmd-input form-control'
|
|
90
92
|
@builder.text_area(
|
|
91
93
|
attribute_name,
|
|
92
94
|
input_html_options.merge(
|
|
93
|
-
class:
|
|
95
|
+
class: classes, id: "wmd-input-#{attribute_name}"
|
|
94
96
|
)
|
|
95
97
|
)
|
|
96
98
|
end
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*****************************************************************/
|
|
17
17
|
|
|
18
18
|
// patch for ie7
|
|
19
|
-
if (!Array.indexOf) {
|
|
19
|
+
if (!Array.prototype.indexOf) {
|
|
20
20
|
Array.prototype.indexOf = function(obj) {
|
|
21
21
|
for (var i = 0; i < this.length; i++) {
|
|
22
22
|
if (this[i] == obj) {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pagedown-bootstrap-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hugh Evans
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -31,7 +31,7 @@ executables: []
|
|
|
31
31
|
extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
|
33
33
|
files:
|
|
34
|
-
-
|
|
34
|
+
- README.md
|
|
35
35
|
- lib/pagedown-bootstrap-rails.rb
|
|
36
36
|
- lib/pagedown_bootstrap/rails.rb
|
|
37
37
|
- lib/pagedown_bootstrap/rails/engine.rb
|
|
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
63
63
|
version: '0'
|
|
64
64
|
requirements: []
|
|
65
65
|
rubyforge_project:
|
|
66
|
-
rubygems_version: 2.
|
|
66
|
+
rubygems_version: 2.6.10
|
|
67
67
|
signing_key:
|
|
68
68
|
specification_version: 4
|
|
69
69
|
summary: This gem makes PageDown Bootstrap available in the Rails asset pipeline.
|