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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b03799ec8c4c7ce89462adabe32cae88a678bfcb829e418b05f72fc0443ae94
4
- data.tar.gz: 5073dabf1d96f5f72a92d9aad2c51d1749367bf663db2ae3259c80e1e22e3868
3
+ metadata.gz: d0870b7d145b1cfc130362b9b81d8b75a792c1e64af27a4be8cbf523c2fbaa96
4
+ data.tar.gz: bf3628876f40c3c2b46c47a43c8b5d269e64a07343d453fb1a66f7cfc0694ca0
5
5
  SHA512:
6
- metadata.gz: c0bc5de2d920f1333bbb0ca0a7f89cb5eaeecba647c3f33a779d6351b0b5216a14e2b57be9282d25fcc4b6cfa349849d7162c4be22106947aa1abecacdb1c1ee
7
- data.tar.gz: e2cf77fdfde55dbaeecc43a5ee2f5b7798fc2fd5e63a1066bccd706fd33973c138224bbedbff0ecd05afe6515006d8849af78e68138ccb242a3d690da3602459
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] %>"><%= raw input[:choices].first[:label] %></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.4'
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.}"
@@ -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
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-28 00:00:00.000000000 Z
11
+ date: 2018-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails