ui_bibz 2.5.2 → 2.5.3

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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +18 -1
  3. data/Gemfile.lock +68 -52
  4. data/app/assets/stylesheets/fix_addon.sass +0 -1
  5. data/lib/ui_bibz/infos.rb +2 -2
  6. data/lib/ui_bibz/inputs/ui_bibz_inputs/string_input.rb +1 -1
  7. data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_number_field_input.rb +3 -2
  8. data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_select_field_input.rb +3 -2
  9. data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_text_field_input.rb +8 -2
  10. data/test/simple_form_test.rb +7 -7
  11. data/ui_bibz.gemspec +1 -1
  12. data/vendor/assets/fonts/fa-brands-400.eot +0 -0
  13. data/vendor/assets/fonts/fa-brands-400.svg +2 -2
  14. data/vendor/assets/fonts/fa-brands-400.ttf +0 -0
  15. data/vendor/assets/fonts/fa-brands-400.woff +0 -0
  16. data/vendor/assets/fonts/fa-brands-400.woff2 +0 -0
  17. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  18. data/vendor/assets/fonts/fa-regular-400.svg +2 -2
  19. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  20. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  21. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  22. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  23. data/vendor/assets/fonts/fa-solid-900.svg +241 -3
  24. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  25. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  26. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  27. data/vendor/assets/javascripts/all.js +57 -7
  28. data/vendor/assets/javascripts/all.min.js +2 -2
  29. data/vendor/assets/stylesheets/all.min.css +2 -2
  30. data/vendor/assets/stylesheets/fontawesome/_icons.scss +31 -0
  31. data/vendor/assets/stylesheets/fontawesome/_variables.scss +34 -3
  32. data/vendor/assets/stylesheets/fontawesome/brands.scss +1 -1
  33. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +1 -1
  34. data/vendor/assets/stylesheets/fontawesome/regular.scss +1 -1
  35. data/vendor/assets/stylesheets/fontawesome/solid.scss +1 -1
  36. data/vendor/assets/stylesheets/fontawesome/v4-shims.scss +1 -1
  37. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c22245316da5ae5e05b2b949307e9fa4227f3831f9697fe8643867c5d7a3ea14
4
- data.tar.gz: 03bb8b708c560c989ede192cb6ce0ae2e653d1c4ab373882e20ae5ab8270114c
3
+ metadata.gz: 5e895154fbd604fc6f25154790157133a9c316afb8fd76ee1c09b074d7f0ed57
4
+ data.tar.gz: c0592cd4fc2a0db7a46bd6e9580143a9fac868ea4c476b00a06df7c77c7468b9
5
5
  SHA512:
6
- metadata.gz: 59fba72626bcd2e30615131ac8fb58bdff5ded08c5e65619155cc6643d0b5f76bf95a46d1c098203c920ebe6677cadf08181cde0f6954c92ede847b8ee903fc1
7
- data.tar.gz: b02d97a74c6324e75cd2f9f68e0ca57006d9b5d53b7bf29fc265d8eb8a45908749da08cd901c40e9e463796c3b8cad9f51ee2ebcffdd58df4338e7b4e4ffe4f5
6
+ metadata.gz: b7aa54fc27527c78546268c85c2684c3abe59d7cc3a5d6ddc76aeeac61de00f9f5ad64ac77b7265734d230c826c9fbc4dff4cccb3bf192485a4bc57a08d67f4e
7
+ data.tar.gz: 833b5e6abd6bf3866b578526aa14438662668955372596e436d4ab4b4960d8cd91357e6a7f1afa0b970b473e5052a17d4c8adb53d85f71d3616e884b317b9f76
@@ -4,7 +4,7 @@ Layout/LineLength:
4
4
  Enabled: false
5
5
 
6
6
  AllCops:
7
- TargetRubyVersion: 2.3
7
+ TargetRubyVersion: 2.7
8
8
 
9
9
  Lint/UselessAssignment:
10
10
  Enabled: true
@@ -23,6 +23,11 @@ Style/FormatString:
23
23
  Exclude:
24
24
  - 'config/initializers/will_paginate.rb'
25
25
 
26
+ Style/StringLiterals:
27
+ Enabled: true
28
+ Exclude:
29
+ - 'test/**/**/**/**/*'
30
+
26
31
  Style/ClassAndModuleChildren:
27
32
  Enabled: false
28
33
 
@@ -50,3 +55,15 @@ Metrics/ModuleLength:
50
55
  # SupportedStyles: annotated, template, unannotated
51
56
  Style/FormatStringToken:
52
57
  EnforcedStyle: unannotated
58
+
59
+ Layout/SpaceAroundMethodCallOperator:
60
+ Enabled: true
61
+
62
+ Lint/RaiseException:
63
+ Enabled: true
64
+
65
+ Lint/StructNewOverride:
66
+ Enabled: true
67
+
68
+ Style/ExponentialNotation:
69
+ Enabled: true
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ui_bibz (2.5.2)
4
+ ui_bibz (2.5.3)
5
5
  bootstrap (= 4.4.1)
6
6
  haml
7
7
  haml-rails
@@ -16,50 +16,63 @@ PATH
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- actioncable (5.2.4.2)
20
- actionpack (= 5.2.4.2)
19
+ actioncable (6.0.2.2)
20
+ actionpack (= 6.0.2.2)
21
21
  nio4r (~> 2.0)
22
22
  websocket-driver (>= 0.6.1)
23
- actionmailer (5.2.4.2)
24
- actionpack (= 5.2.4.2)
25
- actionview (= 5.2.4.2)
26
- activejob (= 5.2.4.2)
23
+ actionmailbox (6.0.2.2)
24
+ actionpack (= 6.0.2.2)
25
+ activejob (= 6.0.2.2)
26
+ activerecord (= 6.0.2.2)
27
+ activestorage (= 6.0.2.2)
28
+ activesupport (= 6.0.2.2)
29
+ mail (>= 2.7.1)
30
+ actionmailer (6.0.2.2)
31
+ actionpack (= 6.0.2.2)
32
+ actionview (= 6.0.2.2)
33
+ activejob (= 6.0.2.2)
27
34
  mail (~> 2.5, >= 2.5.4)
28
35
  rails-dom-testing (~> 2.0)
29
- actionpack (5.2.4.2)
30
- actionview (= 5.2.4.2)
31
- activesupport (= 5.2.4.2)
36
+ actionpack (6.0.2.2)
37
+ actionview (= 6.0.2.2)
38
+ activesupport (= 6.0.2.2)
32
39
  rack (~> 2.0, >= 2.0.8)
33
40
  rack-test (>= 0.6.3)
34
41
  rails-dom-testing (~> 2.0)
35
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
36
- actionview (5.2.4.2)
37
- activesupport (= 5.2.4.2)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (6.0.2.2)
44
+ actionpack (= 6.0.2.2)
45
+ activerecord (= 6.0.2.2)
46
+ activestorage (= 6.0.2.2)
47
+ activesupport (= 6.0.2.2)
48
+ nokogiri (>= 1.8.5)
49
+ actionview (6.0.2.2)
50
+ activesupport (= 6.0.2.2)
38
51
  builder (~> 3.1)
39
52
  erubi (~> 1.4)
40
53
  rails-dom-testing (~> 2.0)
41
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
42
- activejob (5.2.4.2)
43
- activesupport (= 5.2.4.2)
54
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
55
+ activejob (6.0.2.2)
56
+ activesupport (= 6.0.2.2)
44
57
  globalid (>= 0.3.6)
45
- activemodel (5.2.4.2)
46
- activesupport (= 5.2.4.2)
47
- activerecord (5.2.4.2)
48
- activemodel (= 5.2.4.2)
49
- activesupport (= 5.2.4.2)
50
- arel (>= 9.0)
51
- activestorage (5.2.4.2)
52
- actionpack (= 5.2.4.2)
53
- activerecord (= 5.2.4.2)
58
+ activemodel (6.0.2.2)
59
+ activesupport (= 6.0.2.2)
60
+ activerecord (6.0.2.2)
61
+ activemodel (= 6.0.2.2)
62
+ activesupport (= 6.0.2.2)
63
+ activestorage (6.0.2.2)
64
+ actionpack (= 6.0.2.2)
65
+ activejob (= 6.0.2.2)
66
+ activerecord (= 6.0.2.2)
54
67
  marcel (~> 0.3.1)
55
- activesupport (5.2.4.2)
68
+ activesupport (6.0.2.2)
56
69
  concurrent-ruby (~> 1.0, >= 1.0.2)
57
70
  i18n (>= 0.7, < 2)
58
71
  minitest (~> 5.1)
59
72
  tzinfo (~> 1.1)
60
- arel (9.0.0)
73
+ zeitwerk (~> 2.2)
61
74
  ast (2.4.0)
62
- autoprefixer-rails (9.7.4)
75
+ autoprefixer-rails (9.7.6)
63
76
  execjs
64
77
  awesome_print (1.8.0)
65
78
  bootstrap (4.4.1)
@@ -67,7 +80,7 @@ GEM
67
80
  popper_js (>= 1.14.3, < 2)
68
81
  sassc-rails (>= 2.0.0)
69
82
  builder (3.2.4)
70
- byebug (11.1.1)
83
+ byebug (11.1.2)
71
84
  childprocess (3.0.0)
72
85
  codeclimate-test-reporter (1.0.7)
73
86
  simplecov
@@ -107,7 +120,7 @@ GEM
107
120
  rails-dom-testing (>= 1, < 3)
108
121
  railties (>= 4.2.0)
109
122
  thor (>= 0.14, < 2.0)
110
- loofah (2.4.0)
123
+ loofah (2.5.0)
111
124
  crass (~> 1.0.2)
112
125
  nokogiri (>= 1.5.9)
113
126
  mail (2.7.1)
@@ -126,53 +139,55 @@ GEM
126
139
  childprocess (>= 0.6.3, < 4)
127
140
  iniparse (~> 1.4)
128
141
  parallel (1.19.1)
129
- parser (2.7.0.5)
142
+ parser (2.7.1.1)
130
143
  ast (~> 2.4.0)
131
144
  popper_js (1.16.0)
132
145
  rack (2.2.2)
133
146
  rack-test (1.1.0)
134
147
  rack (>= 1.0, < 3)
135
- rails (5.2.4.2)
136
- actioncable (= 5.2.4.2)
137
- actionmailer (= 5.2.4.2)
138
- actionpack (= 5.2.4.2)
139
- actionview (= 5.2.4.2)
140
- activejob (= 5.2.4.2)
141
- activemodel (= 5.2.4.2)
142
- activerecord (= 5.2.4.2)
143
- activestorage (= 5.2.4.2)
144
- activesupport (= 5.2.4.2)
148
+ rails (6.0.2.2)
149
+ actioncable (= 6.0.2.2)
150
+ actionmailbox (= 6.0.2.2)
151
+ actionmailer (= 6.0.2.2)
152
+ actionpack (= 6.0.2.2)
153
+ actiontext (= 6.0.2.2)
154
+ actionview (= 6.0.2.2)
155
+ activejob (= 6.0.2.2)
156
+ activemodel (= 6.0.2.2)
157
+ activerecord (= 6.0.2.2)
158
+ activestorage (= 6.0.2.2)
159
+ activesupport (= 6.0.2.2)
145
160
  bundler (>= 1.3.0)
146
- railties (= 5.2.4.2)
161
+ railties (= 6.0.2.2)
147
162
  sprockets-rails (>= 2.0.0)
148
163
  rails-dom-testing (2.0.3)
149
164
  activesupport (>= 4.2.0)
150
165
  nokogiri (>= 1.6)
151
166
  rails-html-sanitizer (1.3.0)
152
167
  loofah (~> 2.3)
153
- railties (5.2.4.2)
154
- actionpack (= 5.2.4.2)
155
- activesupport (= 5.2.4.2)
168
+ railties (6.0.2.2)
169
+ actionpack (= 6.0.2.2)
170
+ activesupport (= 6.0.2.2)
156
171
  method_source
157
172
  rake (>= 0.8.7)
158
- thor (>= 0.19.0, < 2.0)
173
+ thor (>= 0.20.3, < 2.0)
159
174
  rainbow (3.0.0)
160
175
  rake (13.0.1)
161
176
  rexml (3.2.4)
162
- rubocop (0.80.1)
177
+ rubocop (0.82.0)
163
178
  jaro_winkler (~> 1.5.1)
164
179
  parallel (~> 1.10)
165
180
  parser (>= 2.7.0.1)
166
181
  rainbow (>= 2.2.2, < 4.0)
167
182
  rexml
168
183
  ruby-progressbar (~> 1.7)
169
- unicode-display_width (>= 1.4.0, < 1.7)
184
+ unicode-display_width (>= 1.4.0, < 2.0)
170
185
  ruby-progressbar (1.10.1)
171
186
  ruby_parser (3.14.2)
172
187
  sexp_processor (~> 4.9)
173
188
  sass-rails (6.0.0)
174
189
  sassc-rails (~> 2.1, >= 2.1.1)
175
- sassc (2.2.1)
190
+ sassc (2.3.0)
176
191
  ffi (~> 1.9)
177
192
  sassc-rails (2.1.2)
178
193
  railties (>= 4.0.0)
@@ -188,7 +203,7 @@ GEM
188
203
  docile (~> 1.1)
189
204
  simplecov-html (~> 0.11)
190
205
  simplecov-html (0.12.2)
191
- sprockets (3.7.2)
206
+ sprockets (4.0.0)
192
207
  concurrent-ruby (~> 1.0)
193
208
  rack (> 1, < 3)
194
209
  sprockets-rails (3.2.1)
@@ -200,9 +215,9 @@ GEM
200
215
  thor (1.0.1)
201
216
  thread_safe (0.3.6)
202
217
  tilt (2.0.10)
203
- tzinfo (1.2.6)
218
+ tzinfo (1.2.7)
204
219
  thread_safe (~> 0.1)
205
- unicode-display_width (1.6.1)
220
+ unicode-display_width (1.7.0)
206
221
  websocket-driver (0.7.1)
207
222
  websocket-extensions (>= 0.1.0)
208
223
  websocket-extensions (0.1.4)
@@ -210,6 +225,7 @@ GEM
210
225
  will_paginate (3.1.8)
211
226
  will_paginate-bootstrap4 (0.2.2)
212
227
  will_paginate (~> 3.0, >= 3.0.0)
228
+ zeitwerk (2.3.0)
213
229
 
214
230
  PLATFORMS
215
231
  ruby
@@ -127,7 +127,6 @@ $input-group-btn-border-color: $input-border-color
127
127
  margin-top: 0.1rem
128
128
 
129
129
  i.glyph
130
- margin-top: 0.4rem
131
130
  font-size: 1.3rem
132
131
 
133
132
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  module UiBibz
4
4
  NAME = 'Ui Bibz'
5
- VERSION = '2.5.2'
5
+ VERSION = '2.5.3'
6
6
  DESCRIPTION = 'A Rails Interface Framework using Bootstrap.'
7
7
  SUMMARY = 'Create your project with Ui Bibz. Over a thirty reusable components built to provide iconography, dropdowns, input groups, navigation, alerts, and much more.'
8
8
  LICENSE = 'MIT'
9
- FONTAWESOME_VERSION = '5.12.1'
9
+ FONTAWESOME_VERSION = '5.13.0'
10
10
  BOOTSTRAP_VERSION = '4.4.1'
11
11
  end
@@ -22,7 +22,7 @@ module UiBibzInputs
22
22
  private
23
23
 
24
24
  def string?
25
- input_type == :string
25
+ input_type == :string || input_type == :citext
26
26
  end
27
27
  end
28
28
  end
@@ -4,8 +4,9 @@ module UiBibzInputs
4
4
  class UiNumberFieldInput < UiTextFieldInput
5
5
  include UiBibz::Ui::Core::Forms::Numbers
6
6
 
7
- def input(_wrapper_options)
8
- UiBibz::Ui::Core::Forms::Numbers::NumberField.new(input_attribute_name, options, input_html_options).render
7
+ def input(wrapper_options)
8
+ merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
9
+ UiBibz::Ui::Core::Forms::Numbers::NumberField.new(input_attribute_name, options, merged_input_options).render
9
10
  end
10
11
  end
11
12
  end
@@ -2,8 +2,9 @@
2
2
 
3
3
  module UiBibzInputs
4
4
  class UiSelectFieldInput < CollectionInput
5
- def input(_wrapper_options)
6
- UiBibz::Ui::Core::Forms::Selects::SelectField.new(input_attribute_name, new_options, input_html_options).render
5
+ def input(wrapper_options)
6
+ merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
7
+ UiBibz::Ui::Core::Forms::Selects::SelectField.new(input_attribute_name, new_options, merged_input_options).render
7
8
  end
8
9
  end
9
10
  end
@@ -4,8 +4,14 @@ module UiBibzInputs
4
4
  class UiTextFieldInput < StringInput
5
5
  include UiBibz::Ui::Core::Forms::Texts
6
6
 
7
- def input(_wrapper_options)
8
- UiBibz::Ui::Core::Forms::Texts::TextField.new(input_attribute_name, options, input_html_options).render
7
+ def input(wrapper_options)
8
+ unless string?
9
+ input_html_classes.unshift('string')
10
+ input_html_options[:type] ||= input_type if html5?
11
+ end
12
+
13
+ merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
14
+ UiBibz::Ui::Core::Forms::Texts::TextField.new(input_attribute_name, options, merged_input_options).render
9
15
  end
10
16
  end
11
17
  end
@@ -126,7 +126,7 @@ test1</textarea></div></form>"
126
126
  f.input :name_fr, as: :ui_text_field
127
127
  end
128
128
 
129
- 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_text_field optional user_name_fr"><label class="control-label ui_text_field optional" for="user_name_fr">Name fr</label><input type="text" name="user[name_fr]" id="user_name_fr" value="test1" class="ui_text_field optional form-control" /></div></form>'
129
+ 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_text_field optional user_name_fr\"><label class=\"control-label ui_text_field optional\" for=\"user_name_fr\">Name fr</label><input type=\"ui_text_field\" name=\"user[name_fr]\" id=\"user_name_fr\" value=\"test1\" class=\"form-control string ui_text_field optional\" /></div></form>"
130
130
 
131
131
  assert_equal expected, actual
132
132
  end
@@ -157,7 +157,7 @@ test1</textarea></div></form>"
157
157
  f.input :name_fr, as: :ui_select_field, collection: @users, label_method: :name_fr
158
158
  end
159
159
 
160
- 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"select-field form-control custom-select\"><option value=\"1\">test1</option>
160
+ 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"form-control select-field custom-select\"><option value=\"1\">test1</option>
161
161
  <option value=\"2\">test2</option></select></div></form>"
162
162
 
163
163
  assert_equal expected, actual
@@ -168,7 +168,7 @@ test1</textarea></div></form>"
168
168
  f.input :name_fr, as: :ui_select_field, refresh: { target: { data: [] } }, collection: @users, label_method: :name_fr
169
169
  end
170
170
 
171
- 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><div class=\"field-refresh input-group ui_surround_field\"><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"select-field form-control custom-select\"><option value=\"1\">test1</option>
171
+ 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><div class=\"field-refresh input-group ui_surround_field\"><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"form-control select-field custom-select\"><option value=\"1\">test1</option>
172
172
  <option value=\"2\">test2</option></select><div class=\"input-group-btn\"><span data-connect=\"{&quot;events&quot;:&quot;click&quot;,&quot;mode&quot;:&quot;remote&quot;,&quot;target&quot;:{&quot;selector&quot;:&quot;#user_name_fr&quot;,&quot;url&quot;:&quot;&quot;,&quot;data&quot;:[]}}\" class=\"btn-secondary ui-bibz-connect btn input-refresh-button\"><i class=\"glyph fas fa-sync-alt\"></i> </span></div></div></div></form>"
173
173
 
174
174
  assert_equal expected, actual
@@ -179,7 +179,7 @@ test1</textarea></div></form>"
179
179
  f.input :name_fr, as: :ui_select_field, collection: @continents, toto: 'lala', grouped: true, group_method: :countries
180
180
  end
181
181
 
182
- 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"select-field form-control custom-select\"><optgroup label=\"Europe\"><option value=\"1\">France</option>
182
+ 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"form-control select-field custom-select\"><optgroup label=\"Europe\"><option value=\"1\">France</option>
183
183
  <option value=\"2\">Deutchland</option></optgroup></select></div></form>"
184
184
 
185
185
  assert_equal expected, actual
@@ -191,7 +191,7 @@ test1</textarea></div></form>"
191
191
  f.input :name_fr, as: :ui_select_field, collection: @countries
192
192
  end
193
193
 
194
- 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"select-field form-control custom-select\"><option selected=\"selected\" value=\"1\">France</option>
194
+ 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"form-control select-field custom-select\"><option selected=\"selected\" value=\"1\">France</option>
195
195
  <option value=\"2\">Deutchland</option></select></div></form>"
196
196
 
197
197
  assert_equal expected, actual
@@ -203,7 +203,7 @@ test1</textarea></div></form>"
203
203
  f.input :name_fr, as: :ui_select_field, collection: @continents, toto: 'lala', grouped: true, group_method: :countries
204
204
  end
205
205
 
206
- 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"select-field form-control custom-select\"><optgroup label=\"Europe\"><option selected=\"selected\" value=\"1\">France</option>
206
+ 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_select_field optional user_name_fr\"><label class=\"control-label ui_select_field optional\" for=\"user_name_fr\">Name fr</label><select name=\"user[name_fr]\" id=\"user_name_fr\" class=\"form-control select-field custom-select\"><optgroup label=\"Europe\"><option selected=\"selected\" value=\"1\">France</option>
207
207
  <option value=\"2\">Deutchland</option></optgroup></select></div></form>"
208
208
 
209
209
  assert_equal expected, actual
@@ -214,7 +214,7 @@ test1</textarea></div></form>"
214
214
  f.input :name_fr, as: :ui_number_field
215
215
  end
216
216
 
217
- 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_number_field optional user_name_fr"><label class="control-label ui_number_field optional" for="user_name_fr">Name fr</label><input type="number" name="user[name_fr]" id="user_name_fr" value="test1" class="ui_number_field optional form-control" /></div></form>'
217
+ 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_number_field optional user_name_fr"><label class="control-label ui_number_field optional" for="user_name_fr">Name fr</label><input type="number" name="user[name_fr]" id="user_name_fr" value="test1" class="form-control ui_number_field optional" /></div></form>'
218
218
 
219
219
  assert_equal expected, actual
220
220
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.description = 'A Rails Interface Framework using Bootstrap.'
20
20
  s.license = 'MIT'
21
21
 
22
- s.required_ruby_version = '>= 2.3'
22
+ s.required_ruby_version = '>= 2.7'
23
23
 
24
24
  s.files = `git ls-files`.split
25
25
  s.test_files = `git ls-files -- {test,spec,features}/*`.split
@@ -1,12 +1,12 @@
1
1
  <?xml version="1.0" standalone="no"?>
2
2
  <!--
3
- Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
3
+ Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com
4
4
  License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
5
5
  -->
6
6
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
7
7
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
8
8
  <metadata>
9
- Created by FontForge 20190801 at Tue Feb 4 18:05:39 2020
9
+ Created by FontForge 20190801 at Mon Mar 23 10:45:51 2020
10
10
  By Robert Madole
11
11
  Copyright (c) Font Awesome
12
12
  </metadata>
@@ -1,12 +1,12 @@
1
1
  <?xml version="1.0" standalone="no"?>
2
2
  <!--
3
- Font Awesome Free 5.12.1 by @fontawesome - https://fontawesome.com
3
+ Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com
4
4
  License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
5
5
  -->
6
6
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
7
7
  <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
8
8
  <metadata>
9
- Created by FontForge 20190801 at Tue Feb 4 18:05:39 2020
9
+ Created by FontForge 20190801 at Mon Mar 23 10:45:51 2020
10
10
  By Robert Madole
11
11
  Copyright (c) Font Awesome
12
12
  </metadata>