ui_bibz 2.0.0.alpha5 → 2.0.0.alpha6

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: 5ff30e7a3ae7b882ce01d7174d0c991a58857aa3
4
- data.tar.gz: b6a07c56ba2ed1991070278df5d912be5a108613
3
+ metadata.gz: 48834e340f99c3833605fac9c56239478bb7fd7d
4
+ data.tar.gz: a07e1f0f7e530f3e38d03482610a0c5b88a7d909
5
5
  SHA512:
6
- metadata.gz: ad85ba752db467d3073da19f0e58edd8c011643874603b264dc79203546d294ea3c0077e5ad96a92bd8034d7d62b8b2033733a9211bbfa27719e7a973907ef2a
7
- data.tar.gz: 7edbca924d9146065985e8b4f8f18627beca0fa1b45e7910fbff34f29fb6ea6e0f8a5cdf28fc3db887d2fce665d686d7c5297686d1d6164a142ddaeb17453db6
6
+ metadata.gz: 41e634c09f2eae61ea7bd6b48f6d4a890ba64a82ed603fa827feb0a9231658ae037858f021d65728ae2cd741975129be98d1e0b435b4f6078c84b85bcd195e0e
7
+ data.tar.gz: 5406607b5d8a25948ce186f8854780fdb1b8f023cf25040e82dffef4f075bb73e29dfdc6c0f47642d05b3c850719fe9d38f234f816875c2505c76ac506de475f
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ui_bibz (2.0.0.alpha5)
4
+ ui_bibz (2.0.0.alpha6)
5
5
  bootstrap (< 4.0.0.alpha3)
6
6
  bundler (>= 1.8.4)
7
7
  font-awesome-sass
@@ -3,9 +3,8 @@ module CustomInputs
3
3
  include UiBibz::Ui::Core
4
4
 
5
5
  def input(wrapper_options)
6
- options = options || {}
7
- options = options.merge({ builder: @builder })
8
- UiBibz::Ui::Core::DatePickerField.new(attribute_name, input_options, input_html_options).render
6
+ options = @options.merge({ builder: @builder })
7
+ UiBibz::Ui::Core::DatePickerField.new(attribute_name, options, input_html_options).render
9
8
  end
10
9
 
11
10
  end
@@ -3,8 +3,7 @@ module CustomInputs
3
3
  include UiBibz::Ui::Core
4
4
 
5
5
  def input(wrapper_options)
6
- options = options || {}
7
- options = options.merge({ builder: @builder })
6
+ options = @options.merge({ builder: @builder })
8
7
  UiBibz::Ui::Core::SurroundField.new(attribute_name, options, input_html_options).render
9
8
  end
10
9
 
@@ -54,7 +54,7 @@ module UiBibz::Ui::Core
54
54
  if options[:builder].nil?
55
55
  check_box_tag content, value, html_options[:checked], html_options
56
56
  else
57
- options[:builder].check_box(content, html_options, true, false)
57
+ options[:builder].check_box(content, html_options)
58
58
  end
59
59
  end
60
60
 
@@ -1,3 +1,3 @@
1
1
  module UiBibz
2
- VERSION = "2.0.0.alpha5"
2
+ VERSION = "2.0.0.alpha6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha5
4
+ version: 2.0.0.alpha6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-14 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler