bootstrap 5.2.2 → 5.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +55 -0
- data/README.md +1 -1
- data/assets/javascripts/bootstrap/alert.js +2 -2
- data/assets/javascripts/bootstrap/base-component.js +3 -3
- data/assets/javascripts/bootstrap/button.js +2 -2
- data/assets/javascripts/bootstrap/carousel.js +2 -2
- data/assets/javascripts/bootstrap/collapse.js +2 -2
- data/assets/javascripts/bootstrap/dom/data.js +2 -2
- data/assets/javascripts/bootstrap/dom/event-handler.js +2 -2
- data/assets/javascripts/bootstrap/dom/manipulator.js +2 -2
- data/assets/javascripts/bootstrap/dom/selector-engine.js +2 -2
- data/assets/javascripts/bootstrap/dropdown.js +2 -2
- data/assets/javascripts/bootstrap/modal.js +2 -2
- data/assets/javascripts/bootstrap/offcanvas.js +2 -2
- data/assets/javascripts/bootstrap/popover.js +2 -2
- data/assets/javascripts/bootstrap/scrollspy.js +2 -2
- data/assets/javascripts/bootstrap/tab.js +2 -2
- data/assets/javascripts/bootstrap/toast.js +2 -2
- data/assets/javascripts/bootstrap/tooltip.js +10 -19
- data/assets/javascripts/bootstrap/util/backdrop.js +2 -2
- data/assets/javascripts/bootstrap/util/component-functions.js +2 -2
- data/assets/javascripts/bootstrap/util/config.js +2 -2
- data/assets/javascripts/bootstrap/util/focustrap.js +2 -2
- data/assets/javascripts/bootstrap/util/index.js +2 -2
- data/assets/javascripts/bootstrap/util/sanitizer.js +2 -2
- data/assets/javascripts/bootstrap/util/scrollbar.js +2 -2
- data/assets/javascripts/bootstrap/util/swipe.js +2 -2
- data/assets/javascripts/bootstrap/util/template-factory.js +2 -2
- data/assets/javascripts/bootstrap-sprockets.js +10 -10
- data/assets/javascripts/bootstrap.js +37 -46
- data/assets/javascripts/bootstrap.min.js +2 -2
- data/assets/stylesheets/bootstrap/_carousel.scss +0 -3
- data/assets/stylesheets/bootstrap/_functions.scss +1 -1
- data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +3 -0
- data/assets/stylesheets/bootstrap/mixins/_banner.scss +1 -1
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/network.rb +2 -2
- data/test/gemfiles/rails_5_2.gemfile +8 -0
- data/test/gemfiles/rails_7_0.gemfile +7 -0
- data/test/test_helper.rb +3 -2
- metadata +7 -3
- 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
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@mixin bsBanner($file) {
|
2
2
|
/*!
|
3
|
-
* Bootstrap #{$file} v5.2.
|
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)
|
data/lib/bootstrap/version.rb
CHANGED
data/tasks/updater/network.rb
CHANGED
@@ -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.
|
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.
|
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
|
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.
|
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-
|
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
|