twitter-bootstrap-rails 2.2.4 → 2.2.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of twitter-bootstrap-rails might be problematic. Click here for more details.

data/README.md CHANGED
@@ -308,6 +308,7 @@ for handling flash messages, even if those messages are blank. See https://githu
308
308
  <li>Released gem v.2.2.2 (Bootstrap 2.3.0)</li>
309
309
  <li>Released gem v.2.2.3 (Minor fixes)</li>
310
310
  <li>Released gem v.2.2.4 (Minor fixes)</li>
311
+ <li>Released gem v.2.2.5 (Bootstrap 2.3.1)</li>
311
312
 
312
313
  </ul>
313
314
 
@@ -14,7 +14,7 @@ module BootstrapFlashHelper
14
14
  Array(message).each do |msg|
15
15
  text = content_tag(:div,
16
16
  content_tag(:button, raw("&times;"), :class => "close", "data-dismiss" => "alert") +
17
- msg, :class => "alert fade in alert-#{type}")
17
+ msg.html_safe, :class => "alert fade in alert-#{type}")
18
18
  flash_messages << text if message
19
19
  end
20
20
  end
@@ -1,7 +1,7 @@
1
1
  module Twitter
2
2
  module Bootstrap
3
3
  module Rails
4
- VERSION = "2.2.4"
4
+ VERSION = "2.2.5"
5
5
  end
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-affix.js v2.3.0
2
+ * bootstrap-affix.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#affix
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-alert.js v2.3.0
2
+ * bootstrap-alert.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#alerts
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- * bootstrap-button.js v2.3.0
2
+ * bootstrap-button.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#buttons
4
4
  * ============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ==========================================================
2
- * bootstrap-carousel.js v2.3.0
2
+ * bootstrap-carousel.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#carousel
4
4
  * ==========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -75,7 +75,7 @@
75
75
  if (!e) this.paused = true
76
76
  if (this.$element.find('.next, .prev').length && $.support.transition.end) {
77
77
  this.$element.trigger($.support.transition.end)
78
- this.cycle()
78
+ this.cycle(true)
79
79
  }
80
80
  clearInterval(this.interval)
81
81
  this.interval = null
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-collapse.js v2.3.0
2
+ * bootstrap-collapse.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#collapse
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ============================================================
2
- * bootstrap-dropdown.js v2.3.0
2
+ * bootstrap-dropdown.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#dropdowns
4
4
  * ============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -158,7 +158,7 @@
158
158
  $(document)
159
159
  .on('click.dropdown.data-api', clearMenus)
160
160
  .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
161
- .on('.dropdown-menu', function (e) { e.stopPropagation() })
161
+ .on('click.dropdown-menu', function (e) { e.stopPropagation() })
162
162
  .on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
163
163
  .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
164
164
 
@@ -1,5 +1,5 @@
1
1
  /* =========================================================
2
- * bootstrap-modal.js v2.3.0
2
+ * bootstrap-modal.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#modals
4
4
  * =========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -148,7 +148,7 @@
148
148
  }
149
149
 
150
150
  , removeBackdrop: function () {
151
- this.$backdrop.remove()
151
+ this.$backdrop && this.$backdrop.remove()
152
152
  this.$backdrop = null
153
153
  }
154
154
 
@@ -1,5 +1,5 @@
1
1
  /* ===========================================================
2
- * bootstrap-popover.js v2.3.0
2
+ * bootstrap-popover.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#popovers
4
4
  * ===========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-scrollspy.js v2.3.0
2
+ * bootstrap-scrollspy.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#scrollspy
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ========================================================
2
- * bootstrap-tab.js v2.3.0
2
+ * bootstrap-tab.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#tabs
4
4
  * ========================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* ===========================================================
2
- * bootstrap-tooltip.js v2.3.0
2
+ * bootstrap-tooltip.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#tooltips
4
4
  * Inspired by the original jQuery.tipsy by Jason Frame
5
5
  * ===========================================================
@@ -80,7 +80,15 @@
80
80
  }
81
81
 
82
82
  , enter: function (e) {
83
- var self = $(e.currentTarget)[this.type](this._options).data(this.type)
83
+ var defaults = $.fn[this.type].defaults
84
+ , options = {}
85
+ , self
86
+
87
+ this._options && $.each(this._options, function (key, value) {
88
+ if (defaults[key] != value) options[key] = value
89
+ }, this)
90
+
91
+ self = $(e.currentTarget)[this.type](options).data(this.type)
84
92
 
85
93
  if (!self.options.delay || !self.options.delay.show) return self.show()
86
94
 
@@ -1,5 +1,5 @@
1
1
  /* ===================================================
2
- * bootstrap-transition.js v2.3.0
2
+ * bootstrap-transition.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#transitions
4
4
  * ===================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /* =============================================================
2
- * bootstrap-typeahead.js v2.3.0
2
+ * bootstrap-typeahead.js v2.3.1
3
3
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
4
4
  * =============================================================
5
5
  * Copyright 2012 Twitter, Inc.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap v2.3.0
2
+ * Bootstrap v2.3.1
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
@@ -27,6 +27,7 @@
27
27
  @import "tables.less";
28
28
 
29
29
  // Components: common
30
+ @import "sprites.less";
30
31
  @import "dropdowns.less";
31
32
  @import "wells.less";
32
33
  @import "component-animations.less";
@@ -575,13 +575,13 @@
575
575
  .core (@gridColumnWidth, @gridGutterWidth) {
576
576
 
577
577
  .spanX (@index) when (@index > 0) {
578
- (~".span@{index}") { .span(@index); }
578
+ .span@{index} { .span(@index); }
579
579
  .spanX(@index - 1);
580
580
  }
581
581
  .spanX (0) {}
582
582
 
583
583
  .offsetX (@index) when (@index > 0) {
584
- (~".offset@{index}") { .offset(@index); }
584
+ .offset@{index} { .offset(@index); }
585
585
  .offsetX(@index - 1);
586
586
  }
587
587
  .offsetX (0) {}
@@ -620,14 +620,14 @@
620
620
  .fluid (@fluidGridColumnWidth, @fluidGridGutterWidth) {
621
621
 
622
622
  .spanX (@index) when (@index > 0) {
623
- (~".span@{index}") { .span(@index); }
623
+ .span@{index} { .span(@index); }
624
624
  .spanX(@index - 1);
625
625
  }
626
626
  .spanX (0) {}
627
627
 
628
628
  .offsetX (@index) when (@index > 0) {
629
- (~".offset@{index}") { .offset(@index); }
630
- (~".offset@{index}:first-child") { .offsetFirstChild(@index); }
629
+ .offset@{index} { .offset(@index); }
630
+ .offset@{index}:first-child { .offsetFirstChild(@index); }
631
631
  .offsetX(@index - 1);
632
632
  }
633
633
  .offsetX (0) {}
@@ -675,7 +675,7 @@
675
675
  .input(@gridColumnWidth, @gridGutterWidth) {
676
676
 
677
677
  .spanX (@index) when (@index > 0) {
678
- (~"input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index}") { .span(@index); }
678
+ input.span@{index}, textarea.span@{index}, .uneditable-input.span@{index} { .span(@index); }
679
679
  .spanX(@index - 1);
680
680
  }
681
681
  .spanX (0) {}
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Responsive v2.3.0
2
+ * Bootstrap Responsive v2.3.1
3
3
  *
4
4
  * Copyright 2012 Twitter, Inc
5
5
  * Licensed under the Apache License v2.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootstrap-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-17 00:00:00.000000000 Z
12
+ date: 2013-03-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70247462427720 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70247462427720
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: actionpack
27
- requirement: &70247462319320 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '3.1'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70247462319320
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '3.1'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: execjs
38
- requirement: &70247462316540 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70247462316540
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: rails
49
- requirement: &70247462312840 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '3.1'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70247462312840
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '3.1'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: less
60
- requirement: &70247462306720 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,18 +85,28 @@ dependencies:
65
85
  version: '0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70247462306720
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: therubyracer
71
- requirement: &70247462302840 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
- - - =
99
+ - - '='
75
100
  - !ruby/object:Gem::Version
76
101
  version: 0.11.1
77
102
  type: :development
78
103
  prerelease: false
79
- version_requirements: *70247462302840
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - '='
108
+ - !ruby/object:Gem::Version
109
+ version: 0.11.1
80
110
  description: twitter-bootstrap-rails project integrates Bootstrap CSS toolkit for
81
111
  Rails 3.1 Asset Pipeline
82
112
  email:
@@ -228,11 +258,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
258
  version: '0'
229
259
  requirements: []
230
260
  rubyforge_project: twitter-bootstrap-rails
231
- rubygems_version: 1.8.17
261
+ rubygems_version: 1.8.23
232
262
  signing_key:
233
263
  specification_version: 3
234
264
  summary: Bootstrap CSS toolkit for Rails 3.1 Asset Pipeline
235
265
  test_files:
236
266
  - test/lib/breadcrumbs_test.rb
237
267
  - test/test_helper.rb
238
- has_rdoc: