kablam 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/kablam_forms/fields/_checkbox_boolean.html.erb +1 -1
- data/kablam.gemspec +1 -1
- data/lib/kablam/kablam_record.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0870b7d145b1cfc130362b9b81d8b75a792c1e64af27a4be8cbf523c2fbaa96
|
4
|
+
data.tar.gz: bf3628876f40c3c2b46c47a43c8b5d269e64a07343d453fb1a66f7cfc0694ca0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e01613faec8c519fdadf72ce6faef0e468f47bb06c0498105403518c3dab9dba7bc07866b131da8bf8cc0146d29e85d970180b44ea151b1a0dc8af9e53aa1306
|
7
|
+
data.tar.gz: 5bfddaf63d0e56a84472c1847db3fc6adc6917120470118f584a3af92f6a4ddf19e45f9db6ffc0eb230807d9ab81d4d443d442240399743f9515c6be84bbb795
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<small id="<%= input[:id] %>-desc" class="<%= classes[:field_hint] %>"><%= raw input[:hint] %></small>
|
5
5
|
<div class="<%= classes[:checkbox_wrapper] %>">
|
6
6
|
<input id="<%= input[:id] %>" name="<%= input[:name] %>" class="<%= classes[:checkbox] %>" <%= "checked" if input[:value].present? %> type="checkbox">
|
7
|
-
<label for="<%= input[:id] %>" class="<%= classes[:checkbox_label] %>"><%=
|
7
|
+
<label for="<%= input[:id] %>" class="<%= classes[:checkbox_label] %>"><%= input[:true_statement] %></label>
|
8
8
|
</div>
|
9
9
|
</fieldset>
|
10
10
|
</div>
|
data/kablam.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'kablam'
|
3
|
-
s.version = '0.3.
|
3
|
+
s.version = '0.3.5'
|
4
4
|
s.date = Time.now.strftime("%Y-%m-%d")
|
5
5
|
s.summary = "Kablam! All the things you hate. But Faster."
|
6
6
|
s.description = "Gem to make development of everything in rails faster. Form creation & styling, all the resource routes, even actioncable messaging!\n {NOTE: In Development. NOT READY FOR TESTING.}"
|
data/lib/kablam/kablam_record.rb
CHANGED
@@ -27,7 +27,8 @@ module Kablam
|
|
27
27
|
placeholder: I18n.translate(:placeholder, scope: kablam_scope, default: ""),
|
28
28
|
hint: I18n.translate(:hint, scope: kablam_scope, default: ""),
|
29
29
|
choices: self.class.choices(field, I18n.locale),
|
30
|
-
onchange: I18n.translate(:onchange, scope: kablam_scope, default: "")
|
30
|
+
onchange: I18n.translate(:onchange, scope: kablam_scope, default: ""),
|
31
|
+
true_statement: I18n.translate(:hint, scope: kablam_scope, default: "")
|
31
32
|
}
|
32
33
|
end
|
33
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kablam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergio Rivas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|