ui_bibz 2.3.0 → 2.3.1

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: 1bb30ee2a67229de4844d20f26278dd14780ea2b6d385cf2694a40410120cccf
4
- data.tar.gz: 258345dcfd10af021551eedbdddd844b93a6f8854bd82cfdacb18c4b4e341b79
3
+ metadata.gz: a1b45b64db461e47a4b01d4c984f35665de025e4929fe50897c90ebf3bba029e
4
+ data.tar.gz: 2980666aabde0630ef505237b2f312e8f110de80f31e462826b7087c78a05c4f
5
5
  SHA512:
6
- metadata.gz: 0cbddb81ee89849fafbc96197d7a769e711592ed506e6332701138d129bb9c742c959acb78391ffa93c4c4be67acc642bbf709da40c1de4b3322a1d3174a6088
7
- data.tar.gz: a42596aa4b47ed030cfec591164dbddd0a8f8e53b754b69cc66b49ac04eb085b7c4d80661305c673225c4f7a28fdb01878ba6258267d1b62d396f058d3d08a2d
6
+ metadata.gz: 23ceb3373e560586bbd7cbcf10e6ca1d3c70a34c3f89240b884559136dae9f99eb46a9d2396930e4dbe9a2ba7f5134f3e0579337c493a4617e451f8074f78ddf
7
+ data.tar.gz: b54fbd5d7421c57eac7a59923ce74fe119a2877498854fb77bbdbd8246ad699ca8ce8106d9133e916a56a307c33be2d5fdacad1d6bf70cd81f94731548933c1a
data/.travis.yml CHANGED
@@ -13,7 +13,7 @@ script:
13
13
  after_script:
14
14
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
15
15
  rvm:
16
- - 2.2.3
16
+ - 2.5.1
17
17
  branches:
18
18
  only:
19
19
  - master
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ui_bibz (2.3.0)
4
+ ui_bibz (2.3.1)
5
5
  bootstrap (= 4.3.1)
6
6
  haml
7
7
  haml-rails
@@ -73,6 +73,8 @@
73
73
 
74
74
  // fix button bug
75
75
  .bootstrap-select .dropdown-toggle:after
76
- margin-top: 0.5rem
77
- margin-bottom: 0.5rem
76
+ margin-top: 0.44rem
77
+ margin-bottom: 0.44rem
78
78
 
79
+ .bootstrap-select .dropdown-menu li a
80
+ min-height: 32px
data/lib/ui_bibz/infos.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module UiBibz
2
2
  NAME = "Ui Bibz"
3
- VERSION = "2.3.0"
3
+ VERSION = "2.3.1"
4
4
  DESCRIPTION = "A Rails Interface Framework using Bootstrap."
5
5
  SUMMARY = "Create your project with Ui Bibz. Over a thirty reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more."
6
6
  LICENSE = "MIT"
@@ -79,8 +79,7 @@ module UiBibz::Ui::Core::Forms::Selects
79
79
  h[:multiple] = true if options[:multiple]
80
80
  h[:disabled] = options[:state] == :disabled
81
81
  h[:include_blank] = options[:include_blank]
82
- h[:prompt] = options[:prompt]
83
- h[:title] = options[:placeholder] unless options[:placeholder].nil?
82
+ h[:title] = h.delete(:prompt) unless options[:prompt].nil?
84
83
  end)
85
84
  end
86
85
 
@@ -47,7 +47,7 @@ class SimpleFormTest < ActionView::TestCase
47
47
  f.input :name_fr, as: :ui_dropdown_select_field, collection: @users, label_method: :name_fr
48
48
  end
49
49
 
50
- expected = "<form class=\"simple_form edit_user\" id=\"edit_user_1\" action=\"/users/1\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><input type=\"hidden\" name=\"_method\" value=\"patch\" /><div class=\"form-group ui_dropdown_select_field optional user_name_fr\"><label class=\"control-label ui_dropdown_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"dropdown-select-field\" data-style=\"btn-secondary\" title=\"false\"><option value=\"1\">test1</option>
50
+ expected = "<form class=\"simple_form edit_user\" id=\"edit_user_1\" action=\"/users/1\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><input type=\"hidden\" name=\"_method\" value=\"patch\" /><div class=\"form-group ui_dropdown_select_field optional user_name_fr\"><label class=\"control-label ui_dropdown_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"dropdown-select-field\" data-style=\"btn-secondary\"><option value=\"1\">test1</option>
51
51
  <option value=\"2\">test2</option></select></div></form>"
52
52
 
53
53
  assert_equal expected, actual
@@ -59,7 +59,7 @@ class SimpleFormTest < ActionView::TestCase
59
59
  f.input :name_fr, as: :ui_dropdown_select_field, collection: @continents, toto: 'lala', grouped: true, group_method: :countries
60
60
  end
61
61
 
62
- expected = "<form class=\"simple_form edit_user\" id=\"edit_user_1\" action=\"/users/1\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><input type=\"hidden\" name=\"_method\" value=\"patch\" /><div class=\"form-group ui_dropdown_select_field optional user_name_fr\"><label class=\"control-label ui_dropdown_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"dropdown-select-field\" data-style=\"btn-secondary\" title=\"false\"><optgroup label=\"Europe\"><option value=\"1\">France</option>
62
+ expected = "<form class=\"simple_form edit_user\" id=\"edit_user_1\" action=\"/users/1\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"&#x2713;\" /><input type=\"hidden\" name=\"_method\" value=\"patch\" /><div class=\"form-group ui_dropdown_select_field optional user_name_fr\"><label class=\"control-label ui_dropdown_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"dropdown-select-field\" data-style=\"btn-secondary\"><optgroup label=\"Europe\"><option value=\"1\">France</option>
63
63
  <option value=\"2\">Deutchland</option></optgroup></select></div></form>"
64
64
 
65
65
  assert_equal expected, actual
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams