ui_bibz 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +8 -8
  2. data/.yardoc/checksums +49 -46
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/Gemfile.lock +69 -56
  6. data/README.md +156 -61
  7. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +6 -6
  8. data/doc/UiBibz/Concerns/Models/Searchable.html +2 -2
  9. data/doc/UiBibz/Concerns/Models.html +115 -0
  10. data/doc/UiBibz/Concerns.html +115 -0
  11. data/doc/UiBibz/Helpers/MetaHelper.html +75 -9
  12. data/doc/UiBibz/Helpers/UiCoreHelper.html +120 -68
  13. data/doc/UiBibz/Helpers/UiUxHelper.html +2 -2
  14. data/doc/UiBibz/Helpers/UtilsHelper.html +2 -2
  15. data/doc/UiBibz/Helpers.html +115 -0
  16. data/doc/UiBibz/Rails/Engine.html +1 -1
  17. data/doc/UiBibz/Rails.html +1 -1
  18. data/doc/UiBibz/Ui/Base.html +2 -2
  19. data/doc/UiBibz/Ui/Core/Alert.html +26 -13
  20. data/doc/UiBibz/Ui/Core/Bar.html +26 -13
  21. data/doc/UiBibz/Ui/Core/Breadcrumb.html +32 -19
  22. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +26 -13
  23. data/doc/UiBibz/Ui/Core/Button.html +26 -13
  24. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +31 -18
  25. data/doc/UiBibz/Ui/Core/ButtonGroup.html +26 -13
  26. data/doc/UiBibz/Ui/Core/ButtonLink.html +26 -13
  27. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +27 -14
  28. data/doc/UiBibz/Ui/Core/Col.html +26 -13
  29. data/doc/UiBibz/Ui/Core/Component.html +166 -225
  30. data/doc/UiBibz/Ui/Core/Dropdown.html +61 -410
  31. data/doc/UiBibz/Ui/Core/DropdownLink.html +373 -0
  32. data/doc/UiBibz/Ui/Core/DropdownList.html +26 -13
  33. data/doc/UiBibz/Ui/Core/Glyph.html +26 -386
  34. data/doc/UiBibz/Ui/Core/Jumbotron.html +26 -13
  35. data/doc/UiBibz/Ui/Core/Label.html +29 -15
  36. data/doc/UiBibz/Ui/Core/List.html +64 -25
  37. data/doc/UiBibz/Ui/Core/ListGroup.html +47 -21
  38. data/doc/UiBibz/Ui/Core/Nav.html +64 -25
  39. data/doc/UiBibz/Ui/Core/NavDropdown.html +29 -16
  40. data/doc/UiBibz/Ui/Core/NavLink.html +30 -15
  41. data/doc/UiBibz/Ui/Core/Navbar.html +154 -45
  42. data/doc/UiBibz/Ui/Core/NavbarForm.html +58 -38
  43. data/doc/UiBibz/Ui/Core/NavbarNav.html +7 -7
  44. data/doc/UiBibz/Ui/Core/NavbarText.html +26 -13
  45. data/doc/UiBibz/Ui/Core/Panel.html +38 -237
  46. data/doc/UiBibz/Ui/Core/ProgressBar.html +45 -19
  47. data/doc/UiBibz/Ui/Core/Row.html +26 -13
  48. data/doc/UiBibz/Ui/Core/Stars.html +367 -0
  49. data/doc/UiBibz/Ui/Core.html +16 -5
  50. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  51. data/doc/UiBibz/Ui/Ux/Actions.html +198 -14
  52. data/doc/UiBibz/Ui/Ux/Column.html +4 -4
  53. data/doc/UiBibz/Ui/Ux/Columns.html +42 -16
  54. data/doc/UiBibz/Ui/Ux/Grid.html +31 -371
  55. data/doc/UiBibz/Ui/Ux/Paginable.html +22 -9
  56. data/doc/UiBibz/Ui/Ux/Searchable.html +22 -9
  57. data/doc/UiBibz/Ui/Ux/Sortable.html +18 -7
  58. data/doc/UiBibz/Ui/Ux/Store.html +160 -56
  59. data/doc/UiBibz/Ui/Ux/Table.html +109 -374
  60. data/doc/UiBibz/Ui/Ux/TableAction.html +2 -2
  61. data/doc/UiBibz/Ui/Ux/TablePagination.html +33 -14
  62. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +30 -15
  63. data/doc/UiBibz/Ui/Ux/TablePanel.html +139 -43
  64. data/doc/UiBibz/Ui/Ux/TableSearchField.html +26 -13
  65. data/doc/UiBibz/Ui/Ux.html +15 -4
  66. data/doc/UiBibz/Ui.html +4 -2
  67. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  68. data/doc/UiBibz/Utils.html +1 -1
  69. data/doc/UiBibz.html +5 -5
  70. data/doc/_index.html +50 -7
  71. data/doc/class_list.html +1 -1
  72. data/doc/file.README.html +155 -63
  73. data/doc/images/stars.png +0 -0
  74. data/doc/index.html +155 -63
  75. data/doc/method_list.html +278 -398
  76. data/doc/top-level-namespace.html +1 -1
  77. data/lib/ui_bibz/concerns/models/searchable.rb +36 -13
  78. data/lib/ui_bibz/helpers/meta_helper.rb +22 -3
  79. data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
  80. data/lib/ui_bibz/ui/core/alert.rb +2 -0
  81. data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +3 -0
  82. data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -0
  83. data/lib/ui_bibz/ui/core/button/button.rb +2 -0
  84. data/lib/ui_bibz/ui/core/button/button_dropdown.rb +6 -4
  85. data/lib/ui_bibz/ui/core/button/button_group.rb +2 -0
  86. data/lib/ui_bibz/ui/core/button/button_link.rb +2 -0
  87. data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +2 -0
  88. data/lib/ui_bibz/ui/core/col.rb +2 -0
  89. data/lib/ui_bibz/ui/core/component.rb +23 -25
  90. data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +57 -0
  91. data/lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb +2 -0
  92. data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +22 -9
  93. data/lib/ui_bibz/ui/core/glyph.rb +10 -0
  94. data/lib/ui_bibz/ui/core/jumbotron.rb +2 -0
  95. data/lib/ui_bibz/ui/core/label.rb +3 -0
  96. data/lib/ui_bibz/ui/core/list/components/list.rb +4 -0
  97. data/lib/ui_bibz/ui/core/list/list_group.rb +4 -0
  98. data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +4 -2
  99. data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +4 -1
  100. data/lib/ui_bibz/ui/core/nav/components/navbar_form.rb +39 -3
  101. data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -0
  102. data/lib/ui_bibz/ui/core/nav/components/navbar_text.rb +8 -0
  103. data/lib/ui_bibz/ui/core/nav/nav.rb +6 -0
  104. data/lib/ui_bibz/ui/core/nav/navbar.rb +31 -4
  105. data/lib/ui_bibz/ui/core/panel.rb +7 -5
  106. data/lib/ui_bibz/ui/core/progress_bar/components/bar.rb +2 -0
  107. data/lib/ui_bibz/ui/core/progress_bar/progress_bar.rb +4 -0
  108. data/lib/ui_bibz/ui/core/row.rb +2 -0
  109. data/lib/ui_bibz/ui/core/stars.rb +88 -0
  110. data/lib/ui_bibz/ui/ux/grid.rb +4 -0
  111. data/lib/ui_bibz/ui/ux/table/components/actions.rb +17 -2
  112. data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -2
  113. data/lib/ui_bibz/ui/ux/table/components/columns.rb +4 -2
  114. data/lib/ui_bibz/ui/ux/table/components/store.rb +10 -1
  115. data/lib/ui_bibz/ui/ux/table/extensions/actionable.rb +3 -1
  116. data/lib/ui_bibz/ui/ux/table/extensions/paginable.rb +1 -0
  117. data/lib/ui_bibz/ui/ux/table/extensions/searchable.rb +1 -0
  118. data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +8 -2
  119. data/lib/ui_bibz/ui/ux/table/table.rb +19 -8
  120. data/lib/ui_bibz/ui/ux/table/table_pagination.rb +8 -1
  121. data/lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb +10 -2
  122. data/lib/ui_bibz/ui/ux/table/table_panel.rb +28 -13
  123. data/lib/ui_bibz/ui/ux/table/table_search_field.rb +9 -1
  124. data/lib/ui_bibz/version.rb +1 -1
  125. data/lib/ui_bibz.rb +1 -0
  126. data/test/test_helper.rb +5 -0
  127. data/test/ui/dropdown_test.rb +4 -4
  128. data/test/ui/stars_test.rb +42 -0
  129. data/test/ui/table_test.rb +25 -6
  130. data/ui_bibz.gemspec +4 -1
  131. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  132. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  133. data/vendor/assets/fonts/fontawesome-webfont.svg +640 -0
  134. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  135. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  136. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  137. data/vendor/assets/javascripts/bootstrap-datepicker.min.js +8 -0
  138. data/vendor/assets/javascripts/bootstrap-select.min.js +8 -0
  139. data/vendor/assets/javascripts/bootstrap-switch.min.js +22 -0
  140. data/vendor/assets/javascripts/bootstrap.min.js +7 -0
  141. data/vendor/assets/javascripts/jquery-2.1.4.min.js +4 -0
  142. data/vendor/assets/javascripts/ui_bibz.js.coffee +8 -0
  143. data/vendor/assets/stylesheets/bootstrap-datepicker3.min.css +8 -0
  144. data/vendor/assets/stylesheets/bootstrap-select.min.css +6 -0
  145. data/vendor/assets/stylesheets/bootstrap-switch.min.css +22 -0
  146. data/vendor/assets/stylesheets/bootstrap-theme.min.css +5 -0
  147. data/vendor/assets/stylesheets/bootstrap.min.css +5 -0
  148. data/vendor/assets/stylesheets/font-awesome.min.css +4 -0
  149. data/vendor/assets/stylesheets/ui_bibz.sass +23 -0
  150. metadata +71 -2
@@ -0,0 +1,115 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Module: UiBibz::Concerns
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!UiBibz/Concerns.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../_index.html">Index (C)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span>
36
+ &raquo;
37
+ <span class="title">Concerns</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Module: UiBibz::Concerns
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dt class="r1 last">Defined in:</dt>
82
+ <dd class="r1 last">lib/ui_bibz.rb</dd>
83
+
84
+ </dl>
85
+ <div class="clear"></div>
86
+
87
+ <h2>Defined Under Namespace</h2>
88
+ <p class="children">
89
+
90
+
91
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Concerns/Models.html" title="UiBibz::Concerns::Models (module)">Models</a></span>
92
+
93
+
94
+
95
+
96
+ </p>
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+ </div>
107
+
108
+ <div id="footer">
109
+ Generated on Mon Aug 31 14:08:52 2015 by
110
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
111
+ 0.8.7.6 (ruby-1.9.3).
112
+ </div>
113
+
114
+ </body>
115
+ </html>
@@ -32,7 +32,7 @@
32
32
  <div id="menu">
33
33
 
34
34
  <a href="../../_index.html">Index (M)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> &raquo; <span class='title'>Helpers</span>
35
+ <span class='title'><span class='object_link'><a href="../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Helpers.html" title="UiBibz::Helpers (module)">Helpers</a></span></span>
36
36
  &raquo;
37
37
  <span class="title">MetaHelper</span>
38
38
 
@@ -102,6 +102,28 @@
102
102
  <li class="public ">
103
103
  <span class="summary_signature">
104
104
 
105
+ <a href="#ui_bibz_local_meta_links-instance_method" title="#ui_bibz_local_meta_links (instance method)">- (Object) <strong>ui_bibz_local_meta_links</strong> </a>
106
+
107
+
108
+
109
+ </span>
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+ <span class="summary_desc"><div class='inline'></div></span>
120
+
121
+ </li>
122
+
123
+
124
+ <li class="public ">
125
+ <span class="summary_signature">
126
+
105
127
  <a href="#ui_bibz_meta_links-instance_method" title="#ui_bibz_meta_links (instance method)">- (Object) <strong>ui_bibz_meta_links</strong> </a>
106
128
 
107
129
 
@@ -134,7 +156,55 @@
134
156
 
135
157
 
136
158
  <div class="method_details first">
137
- <h3 class="signature first" id="ui_bibz_meta_links-instance_method">
159
+ <h3 class="signature first" id="ui_bibz_local_meta_links-instance_method">
160
+
161
+ - (<tt>Object</tt>) <strong>ui_bibz_local_meta_links</strong>
162
+
163
+
164
+
165
+
166
+
167
+ </h3><table class="source_code">
168
+ <tr>
169
+ <td>
170
+ <pre class="lines">
171
+
172
+
173
+ 25
174
+ 26
175
+ 27
176
+ 28
177
+ 29
178
+ 30
179
+ 31
180
+ 32
181
+ 33
182
+ 34
183
+ 35
184
+ 36</pre>
185
+ </td>
186
+ <td>
187
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/helpers/meta_helper.rb', line 25</span>
188
+
189
+ <span class='kw'>def</span> <span class='id identifier rubyid_ui_bibz_local_meta_links'>ui_bibz_local_meta_links</span>
190
+ <span class='id identifier rubyid_capture'>capture</span> <span class='kw'>do</span>
191
+ <span class='comment'># Latest compiled and minified CSS
192
+ </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_stylesheet_link_tag'>stylesheet_link_tag</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bootstrap.min</span><span class='tstring_end'>&quot;</span></span>
193
+ <span class='comment'># font awesome icons
194
+ </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_stylesheet_link_tag'>stylesheet_link_tag</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>font-awesome.min</span><span class='tstring_end'>&quot;</span></span>
195
+ <span class='comment'># Jquery is required for boostrap
196
+ </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_javascript_include_tag'>javascript_include_tag</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>jquery-2.1.4.min</span><span class='tstring_end'>'</span></span>
197
+ <span class='comment'># Latest compiled and minified JavaScript
198
+ </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_javascript_include_tag'>javascript_include_tag</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bootstrap.min</span><span class='tstring_end'>&quot;</span></span>
199
+ <span class='kw'>end</span>
200
+ <span class='kw'>end</span></pre>
201
+ </td>
202
+ </tr>
203
+ </table>
204
+ </div>
205
+
206
+ <div class="method_details ">
207
+ <h3 class="signature " id="ui_bibz_meta_links-instance_method">
138
208
 
139
209
  - (<tt>Object</tt>) <strong>ui_bibz_meta_links</strong>
140
210
 
@@ -178,9 +248,7 @@
178
248
  20
179
249
  21
180
250
  22
181
- 23
182
- 24
183
- 25</pre>
251
+ 23</pre>
184
252
  </td>
185
253
  <td>
186
254
  <pre class="code"><span class="info file"># File 'lib/ui_bibz/helpers/meta_helper.rb', line 12</span>
@@ -188,11 +256,9 @@
188
256
  <span class='kw'>def</span> <span class='id identifier rubyid_ui_bibz_meta_links'>ui_bibz_meta_links</span>
189
257
  <span class='id identifier rubyid_capture'>capture</span> <span class='kw'>do</span>
190
258
  <span class='comment'># Latest compiled and minified CSS
191
- </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_stylesheet_link_tag'>stylesheet_link_tag</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css</span><span class='tstring_end'>&quot;</span></span>
259
+ </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_stylesheet_link_tag'>stylesheet_link_tag</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>title:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Default</span><span class='tstring_end'>'</span></span>
192
260
  <span class='comment'># font awesome icons
193
261
  </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_stylesheet_link_tag'>stylesheet_link_tag</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css</span><span class='tstring_end'>&quot;</span></span>
194
- <span class='comment'># Optional theme
195
- </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_stylesheet_link_tag'>stylesheet_link_tag</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css</span><span class='tstring_end'>&quot;</span></span>
196
262
  <span class='comment'># Jquery is required for boostrap
197
263
  </span> <span class='id identifier rubyid_concat'>concat</span> <span class='id identifier rubyid_javascript_include_tag'>javascript_include_tag</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>https://code.jquery.com/jquery-2.1.1.min.js</span><span class='tstring_end'>'</span></span>
198
264
  <span class='comment'># Latest compiled and minified JavaScript
@@ -209,7 +275,7 @@
209
275
  </div>
210
276
 
211
277
  <div id="footer">
212
- Generated on Wed Jul 8 15:00:15 2015 by
278
+ Generated on Mon Aug 31 14:08:52 2015 by
213
279
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
214
280
  0.8.7.6 (ruby-1.9.3).
215
281
  </div>