ui_bibz 2.0.0.beta2.4 → 2.0.0.beta2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +1 -1
- data/lib/ui_bibz/version.rb +1 -1
- data/test/simple_form_test.rb +2 -2
- data/test/ui/core/forms/buttons/button_group_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f285587ac504028080ecc47c064ed341931e7ce2
|
4
|
+
data.tar.gz: 32a27f4728cc6af4589822003d9427a51fac331c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1749c0c0708ba76ad15da4da2451f2c45834780d0fc3c757880fce2d877d0ff658d58cd99e13a0075a647e7e2fcf00658ad238f4cd1c7f352da3c17e516cd44d
|
7
|
+
data.tar.gz: f02583945a643fa0550eded0b7207b7a2bfbe1bbfb97e7c7a2e8b26d3552b79adbd98eb32fb8f935f2ff4b25e98e280d35fdcf37d1ea32a50ac35435f534516a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ui_bibz (2.0.0.beta2.
|
4
|
+
ui_bibz (2.0.0.beta2.5)
|
5
5
|
bootstrap (= 4.0.0.beta2)
|
6
6
|
font-awesome-sass
|
7
7
|
haml
|
@@ -66,7 +66,7 @@ GEM
|
|
66
66
|
codeclimate-test-reporter (1.0.8)
|
67
67
|
simplecov (<= 0.13)
|
68
68
|
concurrent-ruby (1.0.5)
|
69
|
-
crass (1.0.
|
69
|
+
crass (1.0.3)
|
70
70
|
docile (1.1.5)
|
71
71
|
erubi (1.7.0)
|
72
72
|
erubis (2.7.0)
|
@@ -183,7 +183,7 @@ GEM
|
|
183
183
|
thread_safe (~> 0.1)
|
184
184
|
websocket-driver (0.6.5)
|
185
185
|
websocket-extensions (>= 0.1.0)
|
186
|
-
websocket-extensions (0.1.
|
186
|
+
websocket-extensions (0.1.3)
|
187
187
|
will-paginate-i18n (0.1.15)
|
188
188
|
will_paginate (3.1.6)
|
189
189
|
will_paginate-bootstrap4 (0.1.3)
|
data/README.md
CHANGED
@@ -62,6 +62,6 @@ Ps: You can use sass variables into Boostrap.
|
|
62
62
|
|
63
63
|
## And after
|
64
64
|
|
65
|
-
* See documentation [here](
|
65
|
+
* See documentation [here](https://ui-bibz-documentation.herokuapp.com/) for boostrap 4.
|
66
66
|
* See documentation [here](http://hummel.link/Ui-Bibz/1.2.5/) for boostrap 3.
|
67
67
|
|
data/lib/ui_bibz/version.rb
CHANGED
data/test/simple_form_test.rb
CHANGED
@@ -195,7 +195,7 @@ class SimpleFormTest < ActionView::TestCase
|
|
195
195
|
f.input :name_fr, as: :ui_select_field, collection: @countries
|
196
196
|
end
|
197
197
|
|
198
|
-
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=\"✓\" /><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\"><option value=\"1\">France</option>
|
198
|
+
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=\"✓\" /><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\"><option selected=\"selected\" value=\"1\">France</option>
|
199
199
|
<option value=\"2\">Deutchland</option></select></div></form>"
|
200
200
|
|
201
201
|
assert_equal expected, actual
|
@@ -208,7 +208,7 @@ class SimpleFormTest < ActionView::TestCase
|
|
208
208
|
f.input :name_fr, as: :ui_select_field, collection: @continents, toto: 'lala', grouped: true, group_method: :countries
|
209
209
|
end
|
210
210
|
|
211
|
-
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=\"✓\" /><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\"><optgroup label=\"Europe\"><option value=\"1\">France</option>
|
211
|
+
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=\"✓\" /><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\"><optgroup label=\"Europe\"><option selected=\"selected\" value=\"1\">France</option>
|
212
212
|
<option value=\"2\">Deutchland</option></optgroup></select></div></form>"
|
213
213
|
|
214
214
|
assert_equal expected, actual
|
@@ -45,7 +45,7 @@ class ButtonGroupTest < ActionView::TestCase
|
|
45
45
|
d.link 'Link 1', url: '#link1', glyph: 'eye'
|
46
46
|
end
|
47
47
|
end
|
48
|
-
expected = "<div class=\"btn-group\" role=\"group\"><div id=\"dropdown-test\" class=\"dropup\"><button class=\"btn btn-success dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" id=\"dropdown-test\">Dropdown <span class=\"caret\"></span></button><div class=\"dropdown-menu\" arial-labelledby=\"dropdown-test\"><a class=\"dropdown-item\" href=\"#link1\"><i class=\"glyph fa fa-eye\"></i> Link 1</a></div></div></div>"
|
48
|
+
expected = "<div class=\"btn-group\" role=\"group\"><div id=\"dropdown-test\" class=\"dropup btn-group\"><button class=\"btn btn-success dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" id=\"dropdown-test\">Dropdown <span class=\"caret\"></span></button><div class=\"dropdown-menu\" arial-labelledby=\"dropdown-test\"><a class=\"dropdown-item\" href=\"#link1\"><i class=\"glyph fa fa-eye\"></i> Link 1</a></div></div></div>"
|
49
49
|
|
50
50
|
assert_equal expected, actual
|
51
51
|
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.beta2.
|
4
|
+
version: 2.0.0.beta2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thooams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|