semantic-ui-sass 2.1.3.0 → 2.1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +5 -5
  4. data/app/assets/javascripts/semantic-ui/api.js +1 -1
  5. data/app/assets/javascripts/semantic-ui/dropdown.js +9 -4
  6. data/app/assets/javascripts/semantic-ui/form.js +184 -90
  7. data/app/assets/javascripts/semantic-ui/search.js +1 -1
  8. data/app/assets/javascripts/semantic-ui/site.js +2 -2
  9. data/app/assets/javascripts/semantic-ui/tab.js +2 -2
  10. data/app/assets/stylesheets/semantic-ui.scss +2 -3
  11. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +1 -1
  12. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +2 -2
  13. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +14 -15
  14. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +1 -1
  15. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +7 -7
  16. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +1 -1
  17. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +3 -2
  18. data/app/assets/stylesheets/semantic-ui/elements/_container.scss +1 -1
  19. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +1 -1
  20. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1 -1
  21. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +1 -1
  22. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +1 -1
  23. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +1 -1
  24. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +1 -1
  25. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +1 -2
  26. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +1 -1
  27. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +1 -1
  28. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +1 -1
  29. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +1 -1
  30. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +3 -2
  31. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +1 -1
  32. data/app/assets/stylesheets/semantic-ui/globals/_all.scss +2 -2
  33. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +1 -1
  34. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +1 -1
  35. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +1 -1
  36. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +1 -1
  37. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +1 -1
  38. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +1 -1
  39. data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +1 -1
  40. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +1 -1
  41. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +1 -1
  42. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +1 -1
  43. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +1 -1
  44. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +1 -1
  45. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +1 -1
  46. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +1 -1
  47. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +1 -1
  48. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +1 -1
  49. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +1 -1
  50. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1 -1
  51. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +1 -1
  52. data/app/assets/stylesheets/semantic-ui/views/_card.scss +1 -1
  53. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +1 -1
  54. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +1 -1
  55. data/app/assets/stylesheets/semantic-ui/views/_item.scss +1 -1
  56. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +1 -1
  57. data/app/helpers/semantic_breadcrumbs_helper.rb +2 -2
  58. data/lib/semantic/ui/sass/breadcrumbs.rb +7 -7
  59. data/lib/semantic/ui/sass/version.rb +2 -2
  60. data/spec/helpers/semantic_breadcrumbs_helper_spec.rb +4 -4
  61. metadata +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Popup
2
+ * # Semantic UI 2.1.4 - Popup
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Progress Bar
2
+ * # Semantic UI 2.1.4 - Progress Bar
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Rating
2
+ * # Semantic UI 2.1.4 - Rating
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Search
2
+ * # Semantic UI 2.1.4 - Search
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Shape
2
+ * # Semantic UI 2.1.4 - Shape
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Sidebar
2
+ * # Semantic UI 2.1.4 - Sidebar
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Sticky
2
+ * # Semantic UI 2.1.4 - Sticky
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Tab
2
+ * # Semantic UI 2.1.4 - Tab
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Transition
2
+ * # Semantic UI 2.1.4 - Transition
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Ad
2
+ * # Semantic UI 2.1.4 - Ad
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Item
2
+ * # Semantic UI 2.1.4 - Item
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Comment
2
+ * # Semantic UI 2.1.4 - Comment
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Feed
2
+ * # Semantic UI 2.1.4 - Feed
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Item
2
+ * # Semantic UI 2.1.4 - Item
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Semantic UI 2.1.3 - Statistic
2
+ * # Semantic UI 2.1.4 - Statistic
3
3
  * http://github.com/semantic-org/semantic-ui/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  module SemanticBreadcrumbsHelper
2
- def render_breadcrumbs(divider = '/', &block)
2
+ def semantic_breadcrumbs(divider = '/', &block)
3
3
  content = render :partial => 'semantic/breadcrumbs', :layout => false, :locals => { :divider => divider }
4
4
  if block_given?
5
5
  capture(content, &block)
@@ -7,4 +7,4 @@ module SemanticBreadcrumbsHelper
7
7
  content
8
8
  end
9
9
  end
10
- end
10
+ end
@@ -8,25 +8,25 @@ module Semantic
8
8
  end
9
9
 
10
10
  module ClassMethods
11
- def add_breadcrumb(name, url, options = {})
11
+ def semantic_breadcrumb(name, url, options = {})
12
12
  class_name = self.name
13
13
  before_filter options do |controller|
14
- name = controller.send :translate_breadcrumb, name, class_name if name.is_a?(Symbol)
15
- controller.send :add_breadcrumb, name, url
14
+ name = controller.send :translate_semantic_breadcrumb, name, class_name if name.is_a?(Symbol)
15
+ controller.send :semantic_breadcrumb, name, url
16
16
  end
17
17
  end
18
18
  end
19
19
 
20
20
  protected
21
21
 
22
- def add_breadcrumb(name, url = '', options = {})
22
+ def semantic_breadcrumb(name, url = '', options = {})
23
23
  @breadcrumbs ||= []
24
- name = translate_breadcrumb(name, self.class.name) if name.is_a?(Symbol)
24
+ name = translate_semantic_breadcrumb(name, self.class.name) if name.is_a?(Symbol)
25
25
  url = eval(url.to_s) if url =~ /_path|_url|@/
26
26
  @breadcrumbs << {:name => name, :url => url, :options => options}
27
27
  end
28
28
 
29
- def translate_breadcrumb(name, class_name)
29
+ def translate_semantic_breadcrumb(name, class_name)
30
30
  scope = [:breadcrumbs]
31
31
  namespace = class_name.underscore.split('/')
32
32
  namespace.last.sub!('_controller', '')
@@ -38,4 +38,4 @@ module Semantic
38
38
 
39
39
  end
40
40
  end
41
- end
41
+ end
@@ -1,8 +1,8 @@
1
1
  module Semantic
2
2
  module Ui
3
3
  module Sass
4
- VERSION = "2.1.3.0"
5
- SEMANTIC_UI_SHA = '18e30b7cffebf7ffaae942d9bb764c3a25e6928d'
4
+ VERSION = "2.1.4.0"
5
+ SEMANTIC_UI_SHA = '1ff137d57c2c2d2711dfcdcb3564f5f61c5cf01e'
6
6
  end
7
7
  end
8
8
  end
@@ -5,7 +5,7 @@ describe SemanticBreadcrumbsHelper do
5
5
 
6
6
  it "should return breadcrumbs" do
7
7
  controller.instance_variable_set("@breadcrumbs", [{name: 'Home', url:'/'}])
8
- expect(render_breadcrumbs).to like_of %Q{
8
+ expect(semantic_breadcrumbs).to like_of %Q{
9
9
  <div class="ui breadcrumb">
10
10
  <div class="active section">Home</div>
11
11
  </div>
@@ -14,7 +14,7 @@ describe SemanticBreadcrumbsHelper do
14
14
 
15
15
  it "should return breadcrumbs with multi params" do
16
16
  controller.instance_variable_set("@breadcrumbs", [{name: 'Home', url:'/'}, {name: 'Posts', url: '/posts'}])
17
- expect(render_breadcrumbs).to like_of %Q{
17
+ expect(semantic_breadcrumbs).to like_of %Q{
18
18
  <div class="ui breadcrumb">
19
19
  <a href="/">Home</a>
20
20
  <div class="divider">/</div>
@@ -25,7 +25,7 @@ describe SemanticBreadcrumbsHelper do
25
25
 
26
26
  it "should return breadcrumbs with divider" do
27
27
  controller.instance_variable_set("@breadcrumbs", [{name: 'Home', url:'/'}, {name: 'Posts', url: '/posts'}])
28
- expect(render_breadcrumbs('>')).to like_of %Q{
28
+ expect(semantic_breadcrumbs('>')).to like_of %Q{
29
29
  <div class="ui breadcrumb">
30
30
  <a href="/">Home</a>
31
31
  <div class="divider">&gt;</div>
@@ -35,4 +35,4 @@ describe SemanticBreadcrumbsHelper do
35
35
  end
36
36
 
37
37
  end
38
- end
38
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic-ui-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3.0
4
+ version: 2.1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - doabit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-08 00:00:00.000000000 Z
11
+ date: 2015-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler