bs5 0.0.14 → 0.0.15
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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/components/bs5/accordion_component.html.erb +1 -1
- data/app/components/bs5/alert_component.html.erb +1 -1
- data/app/service/bs5/collapse_service.rb +2 -2
- data/app/views/layouts/bs5/application.html.erb +1 -0
- data/app/views/layouts/bs5/pages.html.erb +1 -0
- data/lib/bs5/version.rb +1 -1
- data/lib/generators/bs5/install/install_generator.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f868555ef8de05ff2a59b42efd77e1e43a4322d896ba468075131178f0dc1a7
|
4
|
+
data.tar.gz: adbcd1e63ac16714e3b4ee5c5d72266fe687685449b08dbf87aa3b0ea359a8a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46c4e2e6bcb0d65824c993daea510e230c891e3bf7808ed98bbbf9d57997c36b5d01b83864cda9e4bcfa26b6aaff2460ab7d3c153510f852e8c526b58855481b
|
7
|
+
data.tar.gz: 43a3f21f7527666fd7499a1e05d14f442976e9a1465f8a4f91d1e3b967f5eb3cff1a0bb8a42c9e4efd8486710039e723c03369df33a28236b83d36bdb26a6a00
|
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Bs5</title>
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
6
|
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
|
6
7
|
<%= stylesheet_pack_tag 'styles', media: 'all', 'data-turbolinks-track': 'reload' %>
|
7
8
|
<style><%= Rouge::Themes::Github.render(scope: '.highlight') %></style>
|
@@ -2,6 +2,7 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Bs5</title>
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
6
|
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
|
6
7
|
<%= stylesheet_pack_tag 'styles', media: 'all', 'data-turbolinks-track': 'reload' %>
|
7
8
|
<style><%= Rouge::Themes::Github.render(scope: '.highlight') %></style>
|
data/lib/bs5/version.rb
CHANGED
@@ -5,7 +5,7 @@ module Bs5
|
|
5
5
|
source_root File.expand_path('templates', __dir__)
|
6
6
|
|
7
7
|
def add_bootstrap # rubocop:disable Metrics/MethodLength
|
8
|
-
run 'yarn add bootstrap@next
|
8
|
+
run 'yarn add bootstrap@next @popperjs/core'
|
9
9
|
|
10
10
|
create_file 'app/javascript/packs/styles.scss', <<~HEREDOC
|
11
11
|
@import "~bootstrap/scss/bootstrap";
|
@@ -24,6 +24,7 @@ module Bs5
|
|
24
24
|
inject_into_file 'app/views/layouts/application.html.erb', before: '</head>' do
|
25
25
|
<<~HEREDOC
|
26
26
|
<%= stylesheet_pack_tag 'styles', media: 'all', 'data-turbolinks-track': 'reload' %>
|
27
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
27
28
|
HEREDOC
|
28
29
|
end
|
29
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bs5
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Baselier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|