incline 0.3.6 → 0.3.7
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/incline/extensions/form_builder.rb +3 -3
- data/lib/incline/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 842e7eff9a44004c8cb445ff80b538f2c08726c7
|
|
4
|
+
data.tar.gz: cb560523652fc10d1c0621bca9e8bacc18e0417e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f4f49b159ef9ce55da131be8cc0fd7974ff7aa4466a4396ef38a5db82cdb16a3e7cbd9ebcccdfd4e608f553df4aae1c1d567857f92ab5bb73e3eff65d9d2214
|
|
7
|
+
data.tar.gz: 816525fa0e434fcff3d045b3d3ce66c3ae7bb5f5c36b0ba5c9c3446000f0b68895e860da43064eb561eb8c436da3f631490dc65042bc293ddbdcac7740d82bee
|
data/Gemfile.lock
CHANGED
|
@@ -156,8 +156,8 @@ module Incline::Extensions
|
|
|
156
156
|
|
|
157
157
|
# Extract field attributes.
|
|
158
158
|
fields = { }
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
methods.each_with_index do |(meth,label), index|
|
|
160
|
+
index += 1
|
|
161
161
|
fields[meth] = options[:attrib].merge(options.delete(:"field_#{index}") || {})
|
|
162
162
|
fields[meth][:readonly] = 'readonly' if options[:read_only]
|
|
163
163
|
fields[meth][:class] ||= options[:class]
|
|
@@ -333,7 +333,7 @@ module Incline::Extensions
|
|
|
333
333
|
form_group lbl, fld, gopt
|
|
334
334
|
end
|
|
335
335
|
|
|
336
|
-
|
|
336
|
+
|
|
337
337
|
##
|
|
338
338
|
# Creates a form group including a label and a text area.
|
|
339
339
|
#
|
data/lib/incline/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: incline
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Beau Barker
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02
|
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|