pure-bootstrap-rails 2.3.0 → 2.3.1

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.
data/README.md CHANGED
@@ -8,7 +8,7 @@ Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and
8
8
 
9
9
  Add this line to your Rails application's Gemfile:
10
10
 
11
- gem 'pure-bootstrap-rails'
11
+ gem 'pure-bootstrap-rails', '~> 2.3.0'
12
12
 
13
13
  And then execute:
14
14
 
@@ -28,6 +28,10 @@ and this to your `app/assets/stylesheets/application.css`:
28
28
 
29
29
  *= require bootstrap/bootstrap
30
30
 
31
+ to use responsive features you also need to add this line:
32
+
33
+ *= require bootstrap/bootstrap-responsive
34
+
31
35
  ## Contributing
32
36
 
33
37
  1. Fork it
@@ -1,5 +1,5 @@
1
1
  module PureBootstrap
2
2
  module Rails
3
- VERSION = "2.3.0"
3
+ VERSION = "2.3.1"
4
4
  end
5
5
  end
@@ -16,6 +16,6 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
- gem.add_dependency "railties", "~> 3.2"
20
- gem.add_dependency "sass-rails", "~> 3.2"
19
+ gem.add_dependency "railties", ">= 3.1"
20
+ gem.add_dependency "sass-rails", ">= 3.1"
21
21
  end
@@ -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.
@@ -58,7 +58,7 @@
58
58
  })
59
59
 
60
60
  }(window.jQuery);/* ==========================================================
61
- * bootstrap-alert.js v2.3.0
61
+ * bootstrap-alert.js v2.3.1
62
62
  * http://twitter.github.com/bootstrap/javascript.html#alerts
63
63
  * ==========================================================
64
64
  * Copyright 2012 Twitter, Inc.
@@ -156,7 +156,7 @@
156
156
  $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)
157
157
 
158
158
  }(window.jQuery);/* ============================================================
159
- * bootstrap-button.js v2.3.0
159
+ * bootstrap-button.js v2.3.1
160
160
  * http://twitter.github.com/bootstrap/javascript.html#buttons
161
161
  * ============================================================
162
162
  * Copyright 2012 Twitter, Inc.
@@ -260,7 +260,7 @@
260
260
  })
261
261
 
262
262
  }(window.jQuery);/* ==========================================================
263
- * bootstrap-carousel.js v2.3.0
263
+ * bootstrap-carousel.js v2.3.1
264
264
  * http://twitter.github.com/bootstrap/javascript.html#carousel
265
265
  * ==========================================================
266
266
  * Copyright 2012 Twitter, Inc.
@@ -336,7 +336,7 @@
336
336
  if (!e) this.paused = true
337
337
  if (this.$element.find('.next, .prev').length && $.support.transition.end) {
338
338
  this.$element.trigger($.support.transition.end)
339
- this.cycle()
339
+ this.cycle(true)
340
340
  }
341
341
  clearInterval(this.interval)
342
342
  this.interval = null
@@ -466,7 +466,7 @@
466
466
  })
467
467
 
468
468
  }(window.jQuery);/* =============================================================
469
- * bootstrap-collapse.js v2.3.0
469
+ * bootstrap-collapse.js v2.3.1
470
470
  * http://twitter.github.com/bootstrap/javascript.html#collapse
471
471
  * =============================================================
472
472
  * Copyright 2012 Twitter, Inc.
@@ -632,7 +632,7 @@
632
632
  })
633
633
 
634
634
  }(window.jQuery);/* ============================================================
635
- * bootstrap-dropdown.js v2.3.0
635
+ * bootstrap-dropdown.js v2.3.1
636
636
  * http://twitter.github.com/bootstrap/javascript.html#dropdowns
637
637
  * ============================================================
638
638
  * Copyright 2012 Twitter, Inc.
@@ -791,13 +791,13 @@
791
791
  $(document)
792
792
  .on('click.dropdown.data-api', clearMenus)
793
793
  .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
794
- .on('.dropdown-menu', function (e) { e.stopPropagation() })
794
+ .on('click.dropdown-menu', function (e) { e.stopPropagation() })
795
795
  .on('click.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
796
796
  .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
797
797
 
798
798
  }(window.jQuery);
799
799
  /* =========================================================
800
- * bootstrap-modal.js v2.3.0
800
+ * bootstrap-modal.js v2.3.1
801
801
  * http://twitter.github.com/bootstrap/javascript.html#modals
802
802
  * =========================================================
803
803
  * Copyright 2012 Twitter, Inc.
@@ -946,7 +946,7 @@
946
946
  }
947
947
 
948
948
  , removeBackdrop: function () {
949
- this.$backdrop.remove()
949
+ this.$backdrop && this.$backdrop.remove()
950
950
  this.$backdrop = null
951
951
  }
952
952
 
@@ -1044,7 +1044,7 @@
1044
1044
 
1045
1045
  }(window.jQuery);
1046
1046
  /* ===========================================================
1047
- * bootstrap-tooltip.js v2.3.0
1047
+ * bootstrap-tooltip.js v2.3.1
1048
1048
  * http://twitter.github.com/bootstrap/javascript.html#tooltips
1049
1049
  * Inspired by the original jQuery.tipsy by Jason Frame
1050
1050
  * ===========================================================
@@ -1125,7 +1125,15 @@
1125
1125
  }
1126
1126
 
1127
1127
  , enter: function (e) {
1128
- var self = $(e.currentTarget)[this.type](this._options).data(this.type)
1128
+ var defaults = $.fn[this.type].defaults
1129
+ , options = {}
1130
+ , self
1131
+
1132
+ this._options && $.each(this._options, function (key, value) {
1133
+ if (defaults[key] != value) options[key] = value
1134
+ }, this)
1135
+
1136
+ self = $(e.currentTarget)[this.type](options).data(this.type)
1129
1137
 
1130
1138
  if (!self.options.delay || !self.options.delay.show) return self.show()
1131
1139
 
@@ -1397,7 +1405,7 @@
1397
1405
 
1398
1406
  }(window.jQuery);
1399
1407
  /* ===========================================================
1400
- * bootstrap-popover.js v2.3.0
1408
+ * bootstrap-popover.js v2.3.1
1401
1409
  * http://twitter.github.com/bootstrap/javascript.html#popovers
1402
1410
  * ===========================================================
1403
1411
  * Copyright 2012 Twitter, Inc.
@@ -1511,7 +1519,7 @@
1511
1519
 
1512
1520
  }(window.jQuery);
1513
1521
  /* =============================================================
1514
- * bootstrap-scrollspy.js v2.3.0
1522
+ * bootstrap-scrollspy.js v2.3.1
1515
1523
  * http://twitter.github.com/bootstrap/javascript.html#scrollspy
1516
1524
  * =============================================================
1517
1525
  * Copyright 2012 Twitter, Inc.
@@ -1672,7 +1680,7 @@
1672
1680
  })
1673
1681
 
1674
1682
  }(window.jQuery);/* ========================================================
1675
- * bootstrap-tab.js v2.3.0
1683
+ * bootstrap-tab.js v2.3.1
1676
1684
  * http://twitter.github.com/bootstrap/javascript.html#tabs
1677
1685
  * ========================================================
1678
1686
  * Copyright 2012 Twitter, Inc.
@@ -1815,7 +1823,7 @@
1815
1823
  })
1816
1824
 
1817
1825
  }(window.jQuery);/* =============================================================
1818
- * bootstrap-typeahead.js v2.3.0
1826
+ * bootstrap-typeahead.js v2.3.1
1819
1827
  * http://twitter.github.com/bootstrap/javascript.html#typeahead
1820
1828
  * =============================================================
1821
1829
  * Copyright 2012 Twitter, Inc.
@@ -2150,7 +2158,7 @@
2150
2158
 
2151
2159
  }(window.jQuery);
2152
2160
  /* ==========================================================
2153
- * bootstrap-affix.js v2.3.0
2161
+ * bootstrap-affix.js v2.3.1
2154
2162
  * http://twitter.github.com/bootstrap/javascript.html#affix
2155
2163
  * ==========================================================
2156
2164
  * Copyright 2012 Twitter, Inc.
@@ -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
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pure-bootstrap-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,40 +9,40 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-08 00:00:00.000000000 Z
12
+ date: 2013-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '3.2'
21
+ version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: '3.2'
29
+ version: '3.1'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: sass-rails
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
- - - ~>
35
+ - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: '3.2'
37
+ version: '3.1'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ~>
43
+ - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: '3.2'
45
+ version: '3.1'
46
46
  description: Pure Bootstrap Rails is Ruby gem that makes easy using Bootstrap framework
47
47
  in your rails app
48
48
  email:
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  version: '0'
81
81
  segments:
82
82
  - 0
83
- hash: -3737942825252408071
83
+ hash: -1021273592954544000
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  segments:
91
91
  - 0
92
- hash: -3737942825252408071
92
+ hash: -1021273592954544000
93
93
  requirements: []
94
94
  rubyforge_project:
95
95
  rubygems_version: 1.8.23