ui_bibz 1.1.7 → 1.2.0

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 (96) hide show
  1. checksums.yaml +8 -8
  2. data/.yardoc/checksums +23 -19
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/Gemfile.lock +3 -16
  6. data/README.md +65 -42
  7. data/doc/UiBibz.html +2 -2
  8. data/doc/UiBibz/Concerns.html +1 -1
  9. data/doc/UiBibz/Concerns/Models.html +1 -1
  10. data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
  11. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +4 -4
  12. data/doc/UiBibz/Helpers.html +1 -1
  13. data/doc/UiBibz/Helpers/MetaHelper.html +1 -1
  14. data/doc/UiBibz/Helpers/UiCoreHelper.html +127 -75
  15. data/doc/UiBibz/Helpers/UiUxHelper.html +1 -1
  16. data/doc/UiBibz/Helpers/UtilsHelper.html +1 -1
  17. data/doc/UiBibz/Rails.html +1 -1
  18. data/doc/UiBibz/Rails/Engine.html +1 -1
  19. data/doc/UiBibz/Ui.html +1 -1
  20. data/doc/UiBibz/Ui/Base.html +1 -1
  21. data/doc/UiBibz/Ui/Core.html +3 -3
  22. data/doc/UiBibz/Ui/Core/Alert.html +1 -1
  23. data/doc/UiBibz/Ui/Core/Bar.html +1 -1
  24. data/doc/UiBibz/Ui/Core/Breadcrumb.html +1 -1
  25. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +1 -1
  26. data/doc/UiBibz/Ui/Core/Button.html +1 -1
  27. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +1 -1
  28. data/doc/UiBibz/Ui/Core/ButtonGroup.html +1 -1
  29. data/doc/UiBibz/Ui/Core/ButtonLink.html +1 -1
  30. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +1 -1
  31. data/doc/UiBibz/Ui/Core/Col.html +1 -1
  32. data/doc/UiBibz/Ui/Core/Component.html +2 -2
  33. data/doc/UiBibz/Ui/Core/Dropdown.html +1 -1
  34. data/doc/UiBibz/Ui/Core/DropdownDivider.html +1 -1
  35. data/doc/UiBibz/Ui/Core/DropdownHeader.html +1 -1
  36. data/doc/UiBibz/Ui/Core/DropdownLink.html +1 -1
  37. data/doc/UiBibz/Ui/Core/Glyph.html +1 -1
  38. data/doc/UiBibz/Ui/Core/Jumbotron.html +1 -1
  39. data/doc/UiBibz/Ui/Core/Label.html +1 -1
  40. data/doc/UiBibz/Ui/Core/List.html +1 -1
  41. data/doc/UiBibz/Ui/Core/ListGroup.html +1 -1
  42. data/doc/UiBibz/Ui/Core/Modal.html +541 -0
  43. data/doc/UiBibz/Ui/Core/ModalBody.html +351 -0
  44. data/doc/UiBibz/Ui/Core/ModalFooter.html +351 -0
  45. data/doc/UiBibz/Ui/Core/ModalHeader.html +357 -0
  46. data/doc/UiBibz/Ui/Core/Nav.html +1 -1
  47. data/doc/UiBibz/Ui/Core/NavDropdown.html +1 -1
  48. data/doc/UiBibz/Ui/Core/NavLink.html +1 -1
  49. data/doc/UiBibz/Ui/Core/Navbar.html +1 -1
  50. data/doc/UiBibz/Ui/Core/NavbarForm.html +1 -1
  51. data/doc/UiBibz/Ui/Core/NavbarNav.html +1 -1
  52. data/doc/UiBibz/Ui/Core/NavbarText.html +1 -1
  53. data/doc/UiBibz/Ui/Core/Panel.html +1 -1
  54. data/doc/UiBibz/Ui/Core/ProgressBar.html +1 -1
  55. data/doc/UiBibz/Ui/Core/Row.html +1 -1
  56. data/doc/UiBibz/Ui/Core/Stars.html +1 -1
  57. data/doc/UiBibz/Ui/Ux.html +2 -2
  58. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  59. data/doc/UiBibz/Ui/Ux/Actions.html +1 -1
  60. data/doc/UiBibz/Ui/Ux/Column.html +83 -11
  61. data/doc/UiBibz/Ui/Ux/Columns.html +1 -1
  62. data/doc/UiBibz/Ui/Ux/Grid.html +1 -1
  63. data/doc/UiBibz/Ui/Ux/Paginable.html +1 -1
  64. data/doc/UiBibz/Ui/Ux/Searchable.html +1 -1
  65. data/doc/UiBibz/Ui/Ux/Sortable.html +1 -1
  66. data/doc/UiBibz/Ui/Ux/Store.html +93 -41
  67. data/doc/UiBibz/Ui/Ux/Table.html +1 -1
  68. data/doc/UiBibz/Ui/Ux/TablePagination.html +1 -1
  69. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +1 -1
  70. data/doc/UiBibz/Ui/Ux/TablePanel.html +1 -1
  71. data/doc/UiBibz/Ui/Ux/TableSearchField.html +1 -1
  72. data/doc/UiBibz/Utils.html +1 -1
  73. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  74. data/doc/_index.html +29 -1
  75. data/doc/class_list.html +1 -1
  76. data/doc/file.README.html +65 -43
  77. data/doc/images/modal.png +0 -0
  78. data/doc/index.html +65 -43
  79. data/doc/method_list.html +309 -225
  80. data/doc/top-level-namespace.html +1 -1
  81. data/lib/ui_bibz.rb +1 -0
  82. data/lib/ui_bibz/concerns/models/searchable.rb +2 -1
  83. data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
  84. data/lib/ui_bibz/ui/core/modal/components/modal_body.rb +45 -0
  85. data/lib/ui_bibz/ui/core/modal/components/modal_footer.rb +45 -0
  86. data/lib/ui_bibz/ui/core/modal/components/modal_header.rb +58 -0
  87. data/lib/ui_bibz/ui/core/modal/modal.rb +92 -0
  88. data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -1
  89. data/lib/ui_bibz/ui/ux/table/components/store.rb +4 -0
  90. data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +13 -8
  91. data/lib/ui_bibz/version.rb +1 -1
  92. data/test/test_helper.rb +0 -5
  93. data/test/ui/table_test.rb +1 -1
  94. data/test/ui_helper_test.rb +15 -0
  95. data/ui_bibz.gemspec +2 -5
  96. metadata +19 -52
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Mon Sep 14 10:07:34 2015 by
106
+ Generated on Mon Sep 21 15:46:14 2015 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.6 (ruby-1.9.3).
109
109
  </div>
data/lib/ui_bibz.rb CHANGED
@@ -26,6 +26,7 @@ module UiBibz
26
26
  autoload :Jumbotron, "ui_bibz/ui/core/jumbotron"
27
27
  autoload :Label, "ui_bibz/ui/core/label"
28
28
  autoload :ListGroup, "ui_bibz/ui/core/list/list_group"
29
+ autoload :Modal, "ui_bibz/ui/core/modal/modal"
29
30
  autoload :Nav, "ui_bibz/ui/core/nav/nav"
30
31
  autoload :Navbar, "ui_bibz/ui/core/nav/navbar"
31
32
  autoload :Panel, "ui_bibz/ui/core/panel"
@@ -22,6 +22,7 @@ module UiBibz::Concerns::Models::Searchable
22
22
  search: @params[:search],
23
23
  sort: @params[:sort],
24
24
  action: @params[:action],
25
+ column_id: @params[:column_id],
25
26
  id: @arguments[:store_id],
26
27
  records: search_sort_paginate,
27
28
  searchable_attributes: @searchable_attributes,
@@ -105,7 +106,7 @@ module UiBibz::Concerns::Models::Searchable
105
106
  sql_query << "lower(#{ attribute.keys.first.to_s.pluralize }.#{ attribute.values.first }) LIKE :#{ attribute.values.first }"
106
107
  sql_attributes = sql_attributes.merge(Hash[attribute.values.first, "%#{ @params[:search].downcase }%"])
107
108
  else
108
- sql_query << "lower(#{ self.to_s.downcase.pluralize }.#{ attribute }) LIKE :#{ attribute }"
109
+ sql_query << "lower(#{ self.to_s.underscore.pluralize }.#{ attribute }) LIKE :#{ attribute }"
109
110
  sql_attributes = sql_attributes.merge(Hash[attribute, "%#{ @params[:search].downcase }%"])
110
111
  end
111
112
  end
@@ -8,6 +8,10 @@ module UiBibz::Helpers::UiCoreHelper
8
8
  end
9
9
  end
10
10
 
11
+ def modal content = nil, options = nil, html_options = nil, &block
12
+ UiBibz::Ui::Core::Modal.new(content, options, html_options).tap(&block).render
13
+ end
14
+
11
15
  # Use "notify" instead of "alert" : due to "actionview (4.2.0) lib/action_view/helpers/form_helper.rb" conflict
12
16
  def notify content = nil, options = nil, html_options = nil, &block
13
17
  UiBibz::Ui::Core::Alert.new(content, options, html_options, &block).render
@@ -0,0 +1,45 @@
1
+ module UiBibz::Ui::Core
2
+
3
+ # Create a modal body
4
+ #
5
+ # ==== Attributes
6
+ #
7
+ # * +content+ - Content of element
8
+ # * +options+ - Options of element
9
+ # * +html_options+ - Html Options of element
10
+ #
11
+ # ==== Options
12
+ #
13
+ # You can add HTML attributes using the +html_options+.
14
+ # You can pass arguments in options attribute:
15
+ #
16
+ # ==== Signatures
17
+ #
18
+ # UiBibz::Ui::Core::ModalBody.new(content, options = nil, html_options = nil)
19
+ #
20
+ # UiBibz::Ui::Core::ModalBody.new(options = nil, html_options = nil) do
21
+ # content
22
+ # end
23
+ #
24
+ # ==== Examples
25
+ #
26
+ # UiBibz::Ui::Core::ModalBody.new.render
27
+ #
28
+ # UiBibz::Ui::Core::ModalBody.new do
29
+ # 'Exemple'
30
+ # end.render
31
+ #
32
+ class ModalBody < Component
33
+
34
+ # See UiBibz::Ui::Core::Component.initialize
35
+ def initialize content = nil, options = nil, html_options = nil, &block
36
+ super
37
+ end
38
+
39
+ # Render html tag
40
+ def render
41
+ content_tag :div, @content, class_and_html_options("modal-body")
42
+ end
43
+
44
+ end
45
+ end
@@ -0,0 +1,45 @@
1
+ module UiBibz::Ui::Core
2
+
3
+ # Create a modal footer
4
+ #
5
+ # ==== Attributes
6
+ #
7
+ # * +content+ - Content of element
8
+ # * +options+ - Options of element
9
+ # * +html_options+ - Html Options of element
10
+ #
11
+ # ==== Options
12
+ #
13
+ # You can add HTML attributes using the +html_options+.
14
+ # You can pass arguments in options attribute:
15
+ #
16
+ # ==== Signatures
17
+ #
18
+ # UiBibz::Ui::Core::ModalFooter.new(content, options = nil, html_options = nil)
19
+ #
20
+ # UiBibz::Ui::Core::ModalFooter.new(options = nil, html_options = nil) do
21
+ # content
22
+ # end
23
+ #
24
+ # ==== Examples
25
+ #
26
+ # UiBibz::Ui::Core::ModalFooter.new.render
27
+ #
28
+ # UiBibz::Ui::Core::ModalFooter.new do
29
+ # 'Exemple'
30
+ # end.render
31
+ #
32
+ class ModalFooter < Component
33
+
34
+ # See UiBibz::Ui::Core::Component.initialize
35
+ def initialize content = nil, options = nil, html_options = nil, &block
36
+ super
37
+ end
38
+
39
+ # Render html tag
40
+ def render
41
+ content_tag :div, @content, class_and_html_options("modal-footer")
42
+ end
43
+
44
+ end
45
+ end
@@ -0,0 +1,58 @@
1
+ # encoding: UTF-8
2
+ module UiBibz::Ui::Core
3
+
4
+ # Create a modal header
5
+ #
6
+ # ==== Attributes
7
+ #
8
+ # * +content+ - Content of element
9
+ # * +options+ - Options of element
10
+ # * +html_options+ - Html Options of element
11
+ #
12
+ # ==== Options
13
+ #
14
+ # You can add HTML attributes using the +html_options+.
15
+ # You can pass arguments in options attribute:
16
+ #
17
+ # ==== Signatures
18
+ #
19
+ # UiBibz::Ui::Core::ModalHeader.new(content, options = nil, html_options = nil)
20
+ #
21
+ # UiBibz::Ui::Core::CarHeader.new(options = nil, html_options = nil) do
22
+ # content
23
+ # end
24
+ #
25
+ # ==== Examples
26
+ #
27
+ # UiBibz::Ui::Core::ModalHeader.new.render
28
+ #
29
+ # UiBibz::Ui::Core::ModalHeader.new do
30
+ # 'Exemple'
31
+ # end.render
32
+ #
33
+ class ModalHeader < Component
34
+
35
+ # See UiBibz::Ui::Core::Component.initialize
36
+ def initialize content = nil, options = nil, html_options = nil, &block
37
+ super
38
+ end
39
+
40
+ # Render html tag
41
+ def render
42
+ content_tag :div, class_and_html_options("modal-header") do
43
+ concat close_button_html
44
+ concat content_tag :h4, glyph_and_content_html, class: 'modal-title'
45
+ end
46
+ end
47
+
48
+ private
49
+
50
+ def close_button_html
51
+ content_tag :button, class: 'close', "data-dismiss" => 'modal', "aria-label" => "Close" do
52
+ concat content_tag :span, "×", "aria-hidden" => true
53
+ concat content_tag :span, "Close", class: 'sr-only'
54
+ end
55
+ end
56
+
57
+ end
58
+ end
@@ -0,0 +1,92 @@
1
+ require 'ui_bibz/ui/core/modal/components/modal_header'
2
+ require 'ui_bibz/ui/core/modal/components/modal_body'
3
+ require 'ui_bibz/ui/core/modal/components/modal_footer'
4
+ module UiBibz::Ui::Core
5
+
6
+ # Create an modal
7
+ #
8
+ # This element is an extend of UiBibz::Ui::Core::Component.
9
+ #
10
+ # ==== Attributes
11
+ #
12
+ # * +content+ - Content of element
13
+ # * +options+ - Options of element
14
+ # * +html_options+ - Html Options of element
15
+ #
16
+ # ==== Options
17
+ #
18
+ # You can add HTML attributes using the +html_options+.
19
+ # You can pass arguments in options attribute:
20
+ #
21
+ # ==== Signatures
22
+ #
23
+ # UiBibz::Ui::Core::Modal.new(options = nil, html_options = nil) do |m|
24
+ # m.header content, options, html_options, &block
25
+ # m.body content, options, html_options, &block
26
+ # m.footer content, options, html_options, &block
27
+ # end
28
+ #
29
+ # ==== Examples
30
+ #
31
+ # UiBibz::Ui::Core::Modal.new({glyph: { name: 'eye', size: 3}, { class: 'test' }) do |m|
32
+ # m.header 'Title'
33
+ # m.body 'Content'
34
+ # m.footer do
35
+ # button_link 'Ok', '#', class: :success
36
+ # end
37
+ # end.render
38
+ #
39
+ # ==== Helper
40
+ #
41
+ # modal(options = {}, html_options = {}) do |m|
42
+ # m.header do
43
+ # 'Title'
44
+ # end
45
+ # m.body do
46
+ # 'Content'
47
+ # end
48
+ # m.footer do
49
+ # 'Footer'
50
+ # end
51
+ # end
52
+ #
53
+ class Modal < Component
54
+
55
+ # See UiBibz::Ui::Core::Component.initialize
56
+ def initialize content = nil, options = nil, html_options = nil, &block
57
+ super
58
+ end
59
+
60
+ # Render html tag
61
+ def render
62
+ content_tag :div, class_and_html_options(['modal', effect]) do
63
+ content_tag :div, class: 'modal-dialog', role: 'document' do
64
+ content_tag :div, class: 'modal-content' do
65
+ concat @header
66
+ concat @body
67
+ concat @footer
68
+ end
69
+ end
70
+ end
71
+ end
72
+
73
+ def header content = nil, options = nil, html_options = nil, &block
74
+ @header = ModalHeader.new(content, options, html_options, &block).render
75
+ end
76
+
77
+ def footer content = nil, options = nil, html_options = nil, &block
78
+ @footer = ModalFooter.new(content, options, html_options, &block).render
79
+ end
80
+
81
+ def body content = nil, options = nil, html_options = nil, &block
82
+ @body = ModalBody.new(content, options, html_options, &block).render
83
+ end
84
+
85
+ private
86
+
87
+ def effect
88
+ @options[:effect] unless @options[:effect].nil?
89
+ end
90
+
91
+ end
92
+ end
@@ -1,11 +1,12 @@
1
1
  module UiBibz::Ui::Ux
2
2
  class Column < UiBibz::Ui::Core::Component
3
3
 
4
- attr_accessor :hidden, :link, :name, :data_index, :date_format, :sort, :format, :date_format, :count, :custom_sort, :parent
4
+ attr_accessor :hidden, :link, :name, :data_index, :date_format, :sort, :format, :date_format, :count, :custom_sort, :parent, :id
5
5
 
6
6
  def initialize content = nil, options = nil, html_options = nil, &block
7
7
  super
8
8
  @data_index = @content
9
+ @id = @options[:column_id] || @data_index
9
10
  @name = @options[:name]
10
11
  @link = @options[:link] # for show or edit action
11
12
  @order = @options[:order]
@@ -32,6 +32,10 @@ module UiBibz::Ui::Ux
32
32
  @store.sort
33
33
  end
34
34
 
35
+ def column_id
36
+ @store.column_id
37
+ end
38
+
35
39
  def direction
36
40
  @store.direction
37
41
  end
@@ -43,12 +43,13 @@ module UiBibz::Ui::Ux
43
43
 
44
44
  def url_options
45
45
  args = {
46
- controller: @store.controller,
47
- id: @store.param_id,
48
- action: @store.action,
49
- search: @store.search,
50
- sort: sort_name,
51
- direction: direction
46
+ controller: @store.controller,
47
+ id: @store.param_id,
48
+ action: @store.action,
49
+ search: @store.search,
50
+ sort: sort_name,
51
+ column_id: @column.id,
52
+ direction: direction
52
53
  }
53
54
  args = args.merge({ custom_sort: true, column_name: @column.data_index }) if @column.custom_sort
54
55
  args = args.merge({ parent: true }) if @column.parent
@@ -65,7 +66,7 @@ module UiBibz::Ui::Ux
65
66
  end
66
67
 
67
68
  def name_with_caret
68
- sort_name == sort_column ? @name + caret : @name
69
+ sort_name == sort_column && @column.id.to_s == @store.column_id.to_s ? @name + caret : @name
69
70
  end
70
71
 
71
72
  def caret
@@ -80,8 +81,12 @@ module UiBibz::Ui::Ux
80
81
  sort_name == sort_column && sort_direction == "asc" ? "desc" : "asc"
81
82
  end
82
83
 
84
+ def column_name
85
+ @column.data_index || @column
86
+ end
87
+
83
88
  def sort_column_name
84
- @column.sort.nil? ? "#{ @store.model.to_s.downcase.pluralize }.#{ @column.data_index}" : @column.sort
89
+ @column.sort.nil? ? "#{ @store.model.to_s.underscore.pluralize }.#{ @column.data_index}" : @column.sort
85
90
  end
86
91
 
87
92
  def sort_name
@@ -1,3 +1,3 @@
1
1
  module UiBibz
2
- VERSION = "1.1.7"
2
+ VERSION = "1.2.0"
3
3
  end
data/test/test_helper.rb CHANGED
@@ -2,11 +2,6 @@
2
2
  require "codeclimate-test-reporter"
3
3
  CodeClimate::TestReporter.start
4
4
 
5
- #require 'color_pound_spec_reporter'
6
-
7
- #Minitest::Reporters.use! [ColorPoundSpecReporter.new]
8
- require 'minitest/line/describe_track'
9
-
10
5
  # Configure Rails Environment
11
6
  ENV["RAILS_ENV"] = "test"
12
7
 
@@ -47,7 +47,7 @@ class TableTest < ActionView::TestCase
47
47
  test 'table sortable' do
48
48
  options = { sortable: true }
49
49
  actual = UiBibz::Ui::Ux::Sortable.new(@store, options).header(@store.columns.list.first)
50
- expected = "<a class=\"dropup\" href=\"/users?direction=asc&amp;search=Name+fr&amp;sort=users.id\">Id</a>"
50
+ expected = "<a class=\"dropup\" href=\"/users?column_id=id&amp;direction=asc&amp;search=Name+fr&amp;sort=users.id\">Id</a>"
51
51
 
52
52
  assert_equal expected, actual
53
53
  end
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  require 'test_helper'
2
3
 
3
4
  include UiBibz::Helpers::UiCoreHelper
@@ -75,4 +76,18 @@ class UiHelperTest < ActionView::TestCase
75
76
  assert_equal expected, actual
76
77
  end
77
78
 
79
+ test 'modal' do
80
+ actual = modal do |m|
81
+ m.header 'My title'
82
+ m.body 'My body'
83
+ m.footer do
84
+ concat button_link 'Close', url: '#', state: :link
85
+ concat button_link 'Save', url: '#', state: :primary
86
+ end
87
+ end
88
+ expected = "<div class=\"modal\"><div class=\"modal-dialog\" role=\"document\"><div class=\"modal-content\"><div class=\"modal-header\"><button class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span><span class=\"sr-only\">Close</span></button><h4 class=\"modal-title\">My title</h4></div><div class=\"modal-body\">My body</div><div class=\"modal-footer\"><a class=\"btn- btn\" href=\"#\">Close</a><a class=\"btn-primary btn\" href=\"#\">Save</a></div></div></div></div>"
89
+
90
+ assert_equal expected, actual
91
+ end
92
+
78
93
  end
data/ui_bibz.gemspec CHANGED
@@ -20,20 +20,17 @@ Gem::Specification.new do |s|
20
20
  s.require_paths = ["lib", "vendor"]
21
21
 
22
22
  # rails
23
- s.add_dependency 'rails', '~> 4.2.4'
23
+ s.add_dependency 'rails', '>= 4.2.0'
24
24
  s.add_dependency 'will_paginate', '~> 3.0.6'
25
25
  s.add_dependency 'will_paginate-bootstrap'
26
26
  s.add_dependency 'will-paginate-i18n'
27
27
  s.add_dependency 'haml'
28
28
  s.add_dependency 'haml-rails'
29
- s.add_dependency 'sass-rails', '~> 5.0.4'
29
+ s.add_dependency 'sass-rails', '>= 5.0.0'
30
30
  s.add_dependency 'font-awesome-sass'
31
31
  s.add_dependency 'bootstrap-sass', '~> 3.3.5'
32
32
 
33
33
  s.add_development_dependency "minitest"
34
- s.add_development_dependency "minitest-line"
35
- s.add_development_dependency "minitest-reporters"
36
- s.add_development_dependency "color_pound_spec_reporter"
37
34
  s.add_development_dependency "rdoc"
38
35
  s.add_development_dependency "sqlite3"
39
36
  s.add_development_dependency "factory_girl_rails", "~> 4.0"
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-14 00:00:00.000000000 Z
11
+ date: 2015-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.4
19
+ version: 4.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.4
26
+ version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: will_paginate
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: sass-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
- version: 5.0.4
103
+ version: 5.0.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
- version: 5.0.4
110
+ version: 5.0.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: font-awesome-sass
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -150,48 +150,6 @@ dependencies:
150
150
  - - ! '>='
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: minitest-line
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ! '>='
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ! '>='
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: minitest-reporters
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ! '>='
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
- - !ruby/object:Gem::Dependency
182
- name: color_pound_spec_reporter
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - ! '>='
186
- - !ruby/object:Gem::Version
187
- version: '0'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - ! '>='
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
153
  - !ruby/object:Gem::Dependency
196
154
  name: rdoc
197
155
  requirement: !ruby/object:Gem::Requirement
@@ -306,6 +264,10 @@ files:
306
264
  - doc/UiBibz/Ui/Core/Label.html
307
265
  - doc/UiBibz/Ui/Core/List.html
308
266
  - doc/UiBibz/Ui/Core/ListGroup.html
267
+ - doc/UiBibz/Ui/Core/Modal.html
268
+ - doc/UiBibz/Ui/Core/ModalBody.html
269
+ - doc/UiBibz/Ui/Core/ModalFooter.html
270
+ - doc/UiBibz/Ui/Core/ModalHeader.html
309
271
  - doc/UiBibz/Ui/Core/Nav.html
310
272
  - doc/UiBibz/Ui/Core/NavDropdown.html
311
273
  - doc/UiBibz/Ui/Core/NavLink.html
@@ -353,6 +315,7 @@ files:
353
315
  - doc/images/etiquette.png
354
316
  - doc/images/glyph.png
355
317
  - doc/images/list.png
318
+ - doc/images/modal.png
356
319
  - doc/images/nav.png
357
320
  - doc/images/navbar.png
358
321
  - doc/images/panel.png
@@ -398,6 +361,10 @@ files:
398
361
  - lib/ui_bibz/ui/core/label.rb
399
362
  - lib/ui_bibz/ui/core/list/components/list.rb
400
363
  - lib/ui_bibz/ui/core/list/list_group.rb
364
+ - lib/ui_bibz/ui/core/modal/components/modal_body.rb
365
+ - lib/ui_bibz/ui/core/modal/components/modal_footer.rb
366
+ - lib/ui_bibz/ui/core/modal/components/modal_header.rb
367
+ - lib/ui_bibz/ui/core/modal/modal.rb
401
368
  - lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb
402
369
  - lib/ui_bibz/ui/core/nav/components/nav_link.rb
403
370
  - lib/ui_bibz/ui/core/nav/components/navbar_form.rb