bootstrap4jekyll 1.0.1.pre → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +2 -0
- data/README.md +14 -8
- data/bootstrap4jekyll.gemspec +7 -7
- data/lib/bootstrap4jekyll/version.rb +1 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b11bd1a3c550020b165dd7a1d4ada205cd50d22a25116555ddcce9d8e3be6b67
|
4
|
+
data.tar.gz: b7013e5a7225d01ac08c42fb3ec6ab8d0f98c6557af200cfd38fd0f4b459278b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f6241c388191d038df96fa9f3ba7a1f6def78197bea53cd02fa101e4aa89480919570c0f0d723b252a764389f0496950370f51ad14b04013b1da25b636be15c
|
7
|
+
data.tar.gz: f8395bc3e881b0893487ce0e1c5a62bb875c88ea2ea5f131328102e6bf7c068557553339c94a0276060d9710e29781e372c0cb5ac7f96ea609944f3c50a4a80a
|
data/History.md
CHANGED
data/README.md
CHANGED
@@ -4,8 +4,8 @@ Adds the
|
|
4
4
|
framework to your _Jekyll_ site.
|
5
5
|
|
6
6
|
Although the
|
7
|
-
[Twitter Bootstrap]
|
8
|
-
|
7
|
+
[Twitter Bootstrap][TBstrp] - framework
|
8
|
+
exists as a GEM, called [Bootstrap Ruby Gem][BRG],
|
9
9
|
it cannot be used directly in a _Jekyll_ site, because it is specifically made for the
|
10
10
|
_Rails_ asset pipeline.
|
11
11
|
|
@@ -24,7 +24,7 @@ Add the following to your site's `Gemfile`:
|
|
24
24
|
|
25
25
|
```ruby
|
26
26
|
group :jekyll_plugins do
|
27
|
-
gem "bootstrap4jekyll"
|
27
|
+
gem "bootstrap4jekyll", "~> 1.0"
|
28
28
|
end
|
29
29
|
```
|
30
30
|
Now run Bundler:
|
@@ -32,8 +32,9 @@ Now run Bundler:
|
|
32
32
|
```console
|
33
33
|
$ bundle install
|
34
34
|
```
|
35
|
-
This will add the `bootstrap4jekyll` plugin to your site. Together with the plugin also the
|
36
|
-
Bootstrap
|
35
|
+
This will add the `bootstrap4jekyll` plugin to your site. Together with the plugin also the
|
36
|
+
[Twitter Bootstrap][TBstrp] - framework
|
37
|
+
will added to your site.
|
37
38
|
|
38
39
|
## Installation in a Jekyll theme
|
39
40
|
|
@@ -51,11 +52,14 @@ plugins:
|
|
51
52
|
```
|
52
53
|
|
53
54
|
When you use this theme in a Jekyll site the `bootstrap4jekyll` plugin
|
54
|
-
and the
|
55
|
+
and the [Twitter Bootstrap][TBstrp] - framework
|
56
|
+
will be automatically loaded
|
55
57
|
together with your theme.
|
56
58
|
|
57
59
|
## Usage
|
58
|
-
|
60
|
+
To customize the [Twitter Bootstrap][TBstrp] - framework,
|
61
|
+
you can proceed as explained in the [Jekyll Docs](https://jekyllrb.com/docs/assets/)
|
62
|
+
about _Sass_ assets.
|
59
63
|
Create a `.scss` file (e.g., `assets/myStyle.scss`), with the following:
|
60
64
|
|
61
65
|
```scss
|
@@ -66,7 +70,8 @@ Create a `.scss` file (e.g., `assets/myStyle.scss`), with the following:
|
|
66
70
|
|
67
71
|
// (Your custom SCSS Here)
|
68
72
|
```
|
69
|
-
When your site is built, Jekyll will automatically add the
|
73
|
+
When your site is built, Jekyll will automatically add the [Twitter Bootstrap][TBstrp] - framework
|
74
|
+
before it renders
|
70
75
|
your site's css. In the above example, the resulting file would be `assets/myStyle.css`
|
71
76
|
with Bootstrap's CSS followed by your own.
|
72
77
|
|
@@ -103,3 +108,4 @@ _framework_, look into the [GEM's changelog][BRGchangeLog]
|
|
103
108
|
|
104
109
|
[BRG]: https://rubygems.org/gems/bootstrap
|
105
110
|
[BRGchangeLog]: https://github.com/twbs/bootstrap-rubygem/blob/master/CHANGELOG.md
|
111
|
+
[TBstrp]: https://getbootstrap.com/
|
data/bootstrap4jekyll.gemspec
CHANGED
@@ -9,14 +9,14 @@ Gem::Specification.new do |gem_spec|
|
|
9
9
|
gem_spec.email = ['Harald-lb@free-creations.de']
|
10
10
|
|
11
11
|
gem_spec.summary = 'A Jekyll plugin that adds the Twitter Bootstrap framework to your site.'
|
12
|
-
|
12
|
+
gem_spec.description = 'This is a partial re-write of the `jekyll-bootstrap-sass` plugin.'
|
13
13
|
gem_spec.homepage = 'https://github.com/free-creations/bootstrap4jekyll'
|
14
14
|
|
15
15
|
gem_spec.metadata = {
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
'homepage_uri' => 'https://github.com/free-creations/bootstrap4jekyll',
|
17
|
+
'changelog_uri' => 'https://github.com/free-creations/bootstrap4jekyll/blob/master/History.md',
|
18
|
+
'source_code_uri' => 'https://github.com/free-creations/bootstrap4jekyll',
|
19
|
+
'bug_tracker_uri' => 'https://github.com/free-creations/bootstrap4jekyll/issues'
|
20
20
|
}
|
21
21
|
|
22
22
|
gem_spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
@@ -34,13 +34,13 @@ Gem::Specification.new do |gem_spec|
|
|
34
34
|
gem_spec.executables = gem_spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
35
35
|
gem_spec.require_paths = ['lib']
|
36
36
|
|
37
|
-
gem_spec.add_dependency 'bootstrap','>= 4.2'
|
37
|
+
gem_spec.add_dependency 'bootstrap', '>= 4.2'
|
38
38
|
gem_spec.add_dependency 'jekyll', '>= 4.0'
|
39
39
|
|
40
40
|
gem_spec.add_development_dependency 'bundler'
|
41
41
|
gem_spec.add_development_dependency 'rake', '~> 12.0'
|
42
42
|
gem_spec.add_development_dependency 'rspec', '~> 3.9'
|
43
|
-
gem_spec.add_development_dependency 'rubocop', '~> 0.
|
43
|
+
gem_spec.add_development_dependency 'rubocop', '~> 0.85'
|
44
44
|
gem_spec.add_development_dependency 'rubocop-rspec', '~> 1.39.0'
|
45
45
|
gem_spec.add_development_dependency 'simplecov', '~> 0.18.5'
|
46
46
|
gem_spec.add_development_dependency 'yard'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap4jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.1
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harald Postner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: '0.85'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: '0.85'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
-
description:
|
139
|
+
description: This is a partial re-write of the `jekyll-bootstrap-sass` plugin.
|
140
140
|
email:
|
141
141
|
- Harald-lb@free-creations.de
|
142
142
|
executables: []
|
@@ -174,9 +174,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
174
174
|
version: 2.3.0
|
175
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
|
-
- - "
|
177
|
+
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version:
|
179
|
+
version: '0'
|
180
180
|
requirements: []
|
181
181
|
rubygems_version: 3.1.2
|
182
182
|
signing_key:
|