bootstrap 5.2.2 → 5.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +55 -0
  3. data/README.md +1 -1
  4. data/assets/javascripts/bootstrap/alert.js +2 -2
  5. data/assets/javascripts/bootstrap/base-component.js +3 -3
  6. data/assets/javascripts/bootstrap/button.js +2 -2
  7. data/assets/javascripts/bootstrap/carousel.js +2 -2
  8. data/assets/javascripts/bootstrap/collapse.js +2 -2
  9. data/assets/javascripts/bootstrap/dom/data.js +2 -2
  10. data/assets/javascripts/bootstrap/dom/event-handler.js +2 -2
  11. data/assets/javascripts/bootstrap/dom/manipulator.js +2 -2
  12. data/assets/javascripts/bootstrap/dom/selector-engine.js +2 -2
  13. data/assets/javascripts/bootstrap/dropdown.js +2 -2
  14. data/assets/javascripts/bootstrap/modal.js +2 -2
  15. data/assets/javascripts/bootstrap/offcanvas.js +2 -2
  16. data/assets/javascripts/bootstrap/popover.js +2 -2
  17. data/assets/javascripts/bootstrap/scrollspy.js +2 -2
  18. data/assets/javascripts/bootstrap/tab.js +2 -2
  19. data/assets/javascripts/bootstrap/toast.js +2 -2
  20. data/assets/javascripts/bootstrap/tooltip.js +10 -19
  21. data/assets/javascripts/bootstrap/util/backdrop.js +2 -2
  22. data/assets/javascripts/bootstrap/util/component-functions.js +2 -2
  23. data/assets/javascripts/bootstrap/util/config.js +2 -2
  24. data/assets/javascripts/bootstrap/util/focustrap.js +2 -2
  25. data/assets/javascripts/bootstrap/util/index.js +2 -2
  26. data/assets/javascripts/bootstrap/util/sanitizer.js +2 -2
  27. data/assets/javascripts/bootstrap/util/scrollbar.js +2 -2
  28. data/assets/javascripts/bootstrap/util/swipe.js +2 -2
  29. data/assets/javascripts/bootstrap/util/template-factory.js +2 -2
  30. data/assets/javascripts/bootstrap-sprockets.js +10 -10
  31. data/assets/javascripts/bootstrap.js +37 -46
  32. data/assets/javascripts/bootstrap.min.js +2 -2
  33. data/assets/stylesheets/bootstrap/_carousel.scss +0 -3
  34. data/assets/stylesheets/bootstrap/_functions.scss +1 -1
  35. data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +3 -0
  36. data/assets/stylesheets/bootstrap/mixins/_banner.scss +1 -1
  37. data/lib/bootstrap/version.rb +2 -2
  38. data/tasks/updater/network.rb +2 -2
  39. data/test/gemfiles/rails_5_2.gemfile +8 -0
  40. data/test/gemfiles/rails_7_0.gemfile +7 -0
  41. data/test/test_helper.rb +3 -2
  42. metadata +7 -3
  43. data/.travis.yml +0 -32
@@ -42,7 +42,6 @@
42
42
  display: block;
43
43
  }
44
44
 
45
- /* rtl:begin:ignore */
46
45
  .carousel-item-next:not(.carousel-item-start),
47
46
  .active.carousel-item-end {
48
47
  transform: translateX(100%);
@@ -53,8 +52,6 @@
53
52
  transform: translateX(-100%);
54
53
  }
55
54
 
56
- /* rtl:end:ignore */
57
-
58
55
 
59
56
  //
60
57
  // Alternate transitions
@@ -198,7 +198,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
198
198
  // Return opaque color
199
199
  // opaque(#fff, rgba(0, 0, 0, .5)) => #808080
200
200
  @function opaque($background, $foreground) {
201
- @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100);
201
+ @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100%);
202
202
  }
203
203
 
204
204
  // scss-docs-start color-functions
@@ -8,6 +8,9 @@
8
8
  @import "mixins";
9
9
  @import "utilities";
10
10
 
11
+ // Layout & components
12
+ @import "root";
13
+
11
14
  // Helpers
12
15
  @import "helpers";
13
16
 
@@ -1,6 +1,6 @@
1
1
  @mixin bsBanner($file) {
2
2
  /*!
3
- * Bootstrap #{$file} v5.2.2 (https://getbootstrap.com/)
3
+ * Bootstrap #{$file} v5.2.3 (https://getbootstrap.com/)
4
4
  * Copyright 2011-2022 The Bootstrap Authors
5
5
  * Copyright 2011-2022 Twitter, Inc.
6
6
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bootstrap
4
- VERSION = '5.2.2'
5
- BOOTSTRAP_SHA = '961d5ff9844372a4e294980c667bbe7e0651cdeb'
4
+ VERSION = '5.2.3'
5
+ BOOTSTRAP_SHA = 'cb021439c683d9805e2864c58095b92d405e9b11'
6
6
  end
@@ -44,7 +44,7 @@ class Updater
44
44
  if File.directory?(full_path)
45
45
  files.each do |name|
46
46
  path = "#{full_path}/#{name}"
47
- contents[name] = File.read(path, mode: 'rb') if File.exists?(path)
47
+ contents[name] = File.read(path, mode: 'rb') if File.exist?(path)
48
48
  end
49
49
  end
50
50
  contents
@@ -63,7 +63,7 @@ class Updater
63
63
  uri = URI(url)
64
64
  cache_path = "./#@cache_path#{uri.path}#{uri.query.tr('?&=', '-') if uri.query}"
65
65
  FileUtils.mkdir_p File.dirname(cache_path)
66
- if File.exists?(cache_path)
66
+ if File.exist?(cache_path)
67
67
  log_http_get_file url, true
68
68
  File.read(cache_path, mode: 'rb')
69
69
  else
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'actionpack', '~> 5.2.8'
4
+ gem 'activesupport', '~> 5.2.8'
5
+ gem 'autoprefixer-rails', '>= 7.1.1'
6
+
7
+ gemspec path: '../../'
8
+
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'actionpack', '~> 7.0.4'
4
+ gem 'activesupport', '~> 7.0.4'
5
+ gem 'autoprefixer-rails', '>= 9.7.6'
6
+
7
+ gemspec path: '../../'
data/test/test_helper.rb CHANGED
@@ -24,7 +24,9 @@ browser_path = ENV['CHROMIUM_BIN'] || %w[
24
24
 
25
25
  Capybara.register_driver :cuprite do |app|
26
26
  options = {
27
- window_size: [1280, 1024]
27
+ window_size: [1280, 1024],
28
+ timeout: 15,
29
+ process_timeout: 15
28
30
  }
29
31
  options[:browser_path] = browser_path if browser_path
30
32
  Capybara::Cuprite::Driver.new(app, options)
@@ -38,4 +40,3 @@ Capybara.configure do |config|
38
40
  config.server_port = 7000
39
41
  config.default_max_wait_time = 10
40
42
  end
41
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.2
4
+ version: 5.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twitter, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-15 00:00:00.000000000 Z
11
+ date: 2022-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: popper_js
@@ -205,8 +205,8 @@ extensions: []
205
205
  extra_rdoc_files: []
206
206
  files:
207
207
  - ".gitattributes"
208
+ - ".github/workflows/ci.yml"
208
209
  - ".gitignore"
209
- - ".travis.yml"
210
210
  - CHANGELOG.md
211
211
  - Gemfile
212
212
  - LICENSE
@@ -373,8 +373,10 @@ files:
373
373
  - test/gemfiles/rails_4_2.gemfile
374
374
  - test/gemfiles/rails_5_0.gemfile
375
375
  - test/gemfiles/rails_5_1.gemfile
376
+ - test/gemfiles/rails_5_2.gemfile
376
377
  - test/gemfiles/rails_6_0.gemfile
377
378
  - test/gemfiles/rails_6_1.gemfile
379
+ - test/gemfiles/rails_7_0.gemfile
378
380
  - test/rails_test.rb
379
381
  - test/support/dummy_rails_integration.rb
380
382
  - test/support/reporting.rb
@@ -438,8 +440,10 @@ test_files:
438
440
  - test/gemfiles/rails_4_2.gemfile
439
441
  - test/gemfiles/rails_5_0.gemfile
440
442
  - test/gemfiles/rails_5_1.gemfile
443
+ - test/gemfiles/rails_5_2.gemfile
441
444
  - test/gemfiles/rails_6_0.gemfile
442
445
  - test/gemfiles/rails_6_1.gemfile
446
+ - test/gemfiles/rails_7_0.gemfile
443
447
  - test/rails_test.rb
444
448
  - test/support/dummy_rails_integration.rb
445
449
  - test/support/reporting.rb
data/.travis.yml DELETED
@@ -1,32 +0,0 @@
1
- language: ruby
2
- dist: focal
3
- addons:
4
- apt:
5
- packages:
6
- - chromium-browser
7
- rvm:
8
- - 2.5
9
- - 2.6
10
- - 2.7
11
-
12
- gemfile:
13
- - test/gemfiles/rails_4_2.gemfile
14
- - test/gemfiles/rails_5_0.gemfile
15
- - test/gemfiles/rails_5_1.gemfile
16
- - test/gemfiles/rails_6_0.gemfile
17
- - test/gemfiles/rails_6_1.gemfile
18
-
19
- jobs:
20
- exclude:
21
- rvm: 2.7
22
- gemfile: test/gemfiles/rails_4_2.gemfile
23
-
24
- cache: bundler
25
- bundler_args: --path ../../vendor/bundle --without debug
26
- notifications:
27
- slack: heybb:3n88HHilXn76ji9vV4gL819Y
28
- env:
29
- global:
30
- - VERBOSE=1
31
- script:
32
- bundle exec rake --trace