bulmatown 1.1.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -3
- data/README.md +3 -3
- data/bridgetown.automation.rb +1 -5
- data/bulmatown.gemspec +6 -6
- data/components/bulmatown/collection.liquid +12 -12
- data/components/bulmatown/pagination.liquid +0 -15
- data/lib/bulmatown/version.rb +1 -1
- data/package.json +3 -3
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2ab8568946d58b89c9ba7e71ff5d589cbf0038894d2a04914417fbf3913e4a0
|
4
|
+
data.tar.gz: a11ba62cd8c2677ef4a1d74d35ae6548f91ffd8fde8ae226112ec466b917588c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84a080d252e43ec2e97c05cbe8a58e3875adae93558a23dcd9ba2e1471b07050865a88b110d3d59aaddfda356179225a9599acdb7edd4f6d522e95075740b947
|
7
|
+
data.tar.gz: 7b041ef1bfa8125573b5aaf2b9a70b30c3dfc334bf407073ec90940d77f0a822e5c1634d60a69e2eb60a95f64fa3e00d718babc57591a049adeb3164700676af
|
data/.rubocop.yml
CHANGED
@@ -4,19 +4,22 @@ inherit_gem:
|
|
4
4
|
rubocop-bridgetown: .rubocop.yml
|
5
5
|
|
6
6
|
AllCops:
|
7
|
-
TargetRubyVersion: 2.
|
8
|
-
Include:
|
9
|
-
- lib/**/*.rb
|
7
|
+
TargetRubyVersion: 2.7
|
10
8
|
|
11
9
|
Exclude:
|
12
10
|
- .gitignore
|
13
11
|
- .rspec
|
14
12
|
- .rubocop.yml
|
15
13
|
|
14
|
+
- Rakefile
|
15
|
+
- bridgetown.automation.rb
|
16
|
+
- "*.gemspec"
|
16
17
|
- Gemfile.lock
|
17
18
|
- CHANGELOG.md
|
18
19
|
- LICENSE.txt
|
19
20
|
- README.md
|
20
21
|
|
22
|
+
- example/**/*
|
21
23
|
- script/**/*
|
22
24
|
- vendor/**/*
|
25
|
+
- spec/**/*
|
data/README.md
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
|
4
4
|
[Bulma](https://bulma.io) is a clean, modern CSS framework for rapid prototyping of content-focused websites. Use this theme to start using Bulma in your new [Bridgetown](https://www.bridgetownrb.com) site quickly, while preserving _all_ of the advanced customization possibilities as if you configured Bulma manually.
|
5
5
|
|
6
|
-
**[LIVE DEMO](https://bulmatown.
|
6
|
+
**[LIVE DEMO](https://bulmatown.onrender.com)**
|
7
7
|
|
8
8
|
![Bulmatown Example](https://res.cloudinary.com/mariposta/image/upload/c_thumb,w_900/v1593195961/bulmatown/bulmatown-example.jpg)
|
9
9
|
|
10
10
|
## Installation
|
11
11
|
|
12
|
-
Bulmatown requires Bridgetown v0.15 or later
|
12
|
+
Bulmatown requires Bridgetown v1.0 or later (for >= 1.2), or v0.15 or later (~1.1)
|
13
13
|
|
14
14
|
To install Bulmatown while creating a new Bridgetown site:
|
15
15
|
|
@@ -114,4 +114,4 @@ Then you can go to the `bulmatown` folder in your layouts or components folders
|
|
114
114
|
3. Create your feature branch (`git checkout -b my-new-feature`)
|
115
115
|
4. Commit your changes (`git commit -am 'Add some feature'`)
|
116
116
|
5. Push to the branch (`git push origin my-new-feature`)
|
117
|
-
6. Create a new Pull Request
|
117
|
+
6. Create a new Pull Request
|
data/bridgetown.automation.rb
CHANGED
@@ -4,11 +4,7 @@
|
|
4
4
|
add_bridgetown_plugin "bulmatown"
|
5
5
|
add_bridgetown_plugin "bridgetown-quick-search"
|
6
6
|
|
7
|
-
|
8
|
-
#add_yarn_for_gem "bulmatown"
|
9
|
-
|
10
|
-
gem_version = (`bundle info bulmatown`).match(/\*.*\((.*?)\)/)[1]
|
11
|
-
run "yarn add bulmatown@#{gem_version}"
|
7
|
+
add_yarn_for_gem "bulmatown"
|
12
8
|
|
13
9
|
require 'fileutils'
|
14
10
|
require 'shellwords'
|
data/bulmatown.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "bulmatown"
|
7
7
|
spec.version = Bulmatown::VERSION
|
8
8
|
spec.author = "Jared White"
|
9
|
-
spec.email = "jared@whitefusion.
|
9
|
+
spec.email = "jared@whitefusion.studio"
|
10
10
|
spec.summary = "A Bulma CSS starter theme for Bridgetown"
|
11
11
|
spec.homepage = "https://github.com/whitefusionhq/bulmatown"
|
12
12
|
spec.license = "MIT"
|
@@ -16,14 +16,14 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.require_paths = ["lib"]
|
17
17
|
spec.metadata = { "yarn-add" => "bulmatown@#{Bulmatown::VERSION}" }
|
18
18
|
|
19
|
-
spec.required_ruby_version = ">= 2.
|
19
|
+
spec.required_ruby_version = ">= 2.7.0"
|
20
20
|
|
21
|
-
spec.add_dependency "bridgetown", ">= 0.
|
22
|
-
spec.add_dependency "bridgetown-quick-search", "~> 1.
|
21
|
+
spec.add_dependency "bridgetown", ">= 1.0.0.alpha10", "< 2.0"
|
22
|
+
spec.add_dependency "bridgetown-quick-search", "~> 1.1"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler"
|
25
25
|
spec.add_development_dependency "nokogiri", "~> 1.6"
|
26
|
-
spec.add_development_dependency "rake", "
|
26
|
+
spec.add_development_dependency "rake", ">= 13.0"
|
27
27
|
spec.add_development_dependency "rspec", "~> 3.0"
|
28
|
-
spec.add_development_dependency "rubocop-bridgetown", "~> 0.
|
28
|
+
spec.add_development_dependency "rubocop-bridgetown", "~> 0.3"
|
29
29
|
end
|
@@ -1,34 +1,34 @@
|
|
1
1
|
<div class="columns is-multiline">
|
2
|
-
{% for
|
2
|
+
{% for resource in collection %}
|
3
3
|
{%- assign imagesource = metadata.bulmatown_theme.image_sizes.embed | default: "image" %}
|
4
4
|
<div class="column is-full-mobile is-full-tablet is-half-desktop">
|
5
5
|
<div class="box document-entry">
|
6
|
-
{% if
|
6
|
+
{% if resource.image %}
|
7
7
|
<figure class="image is-5by3">
|
8
|
-
<a href="{{
|
9
|
-
<img src="{{
|
8
|
+
<a href="{{ resource.relative_url }}">
|
9
|
+
<img src="{{ resource[imagesource] }}" />
|
10
10
|
</a>
|
11
11
|
</figure>
|
12
12
|
{% endif %}
|
13
13
|
|
14
14
|
<div class="content">
|
15
15
|
<h3>
|
16
|
-
<a class="is-decorationless" href="{{
|
17
|
-
{{
|
16
|
+
<a class="is-decorationless" href="{{ resource.relative_url }}">
|
17
|
+
{{ resource.title | smartify }}
|
18
18
|
</a>
|
19
19
|
</h3>
|
20
20
|
|
21
|
-
{% if
|
22
|
-
{% assign excerpt =
|
23
|
-
{% elsif
|
24
|
-
{% assign excerpt =
|
21
|
+
{% if resource.subtitle and resource.subtitle != "" %}
|
22
|
+
{% assign excerpt = resource.subtitle | smartify | prepend: "<p>" | append: "</p>" %}
|
23
|
+
{% elsif resource.description and resource.description != "" %}
|
24
|
+
{% assign excerpt = resource.description | smartify | prepend: "<p>" | append: "</p>" %}
|
25
25
|
{% else %}
|
26
|
-
{% assign excerpt =
|
26
|
+
{% assign excerpt = resource.excerpt %}
|
27
27
|
{% endif %}
|
28
28
|
{{ excerpt }}
|
29
29
|
|
30
30
|
<p class="mt-5">
|
31
|
-
{% render "bulmatown/button", type: "primary", label: "Continue Reading", link:
|
31
|
+
{% render "bulmatown/button", type: "primary", label: "Continue Reading", link: resource.relative_url, icon: "file-text" %}
|
32
32
|
</p>
|
33
33
|
</div>
|
34
34
|
</div>
|
@@ -1,18 +1,3 @@
|
|
1
|
-
---
|
2
|
-
name: Pagination
|
3
|
-
description: Display previous page and/or next page buttons to navigate through paginated pages.
|
4
|
-
variables:
|
5
|
-
paginator:
|
6
|
-
- object
|
7
|
-
- The Bridgetown Paginator object ([see documentation here](https://www.bridgetownrb.com/docs/content/pagination/))
|
8
|
-
mocks:
|
9
|
-
paginator:
|
10
|
-
total_pages: 3
|
11
|
-
previous_page: true
|
12
|
-
previous_page_path: "#previous"
|
13
|
-
next_page: true
|
14
|
-
next_page_path: "#next"
|
15
|
-
---
|
16
1
|
{% if paginator.total_pages > 1 %}
|
17
2
|
<ul class="pagination mt-6">
|
18
3
|
{% if paginator.previous_page %}
|
data/lib/bulmatown/version.rb
CHANGED
data/package.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "bulmatown",
|
3
3
|
"description": "A Bulma CSS starter theme for Bridgetown",
|
4
|
-
"version": "1.
|
4
|
+
"version": "1.2.2",
|
5
5
|
"main": "frontend/javascript/index.js",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
8
8
|
"url": "https://github.com/whitefusiohq/bulmatown.git"
|
9
9
|
},
|
10
|
-
"author": "Jared White <jared@whitefusion.
|
10
|
+
"author": "Jared White <jared@whitefusion.studio>",
|
11
11
|
"homepage": "https://www.bridgetownrb.com",
|
12
12
|
"license": "MIT",
|
13
13
|
"private": false,
|
@@ -16,7 +16,7 @@
|
|
16
16
|
"frontend"
|
17
17
|
],
|
18
18
|
"dependencies": {
|
19
|
-
"bridgetown-quick-search": "^1.
|
19
|
+
"bridgetown-quick-search": "^1.1.3",
|
20
20
|
"bulma": "^0.9",
|
21
21
|
"fork-awesome": "^1.1.7"
|
22
22
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulmatown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jared White
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bridgetown
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.0.alpha10
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '2.0'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 1.0.0.alpha10
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2.0'
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.1'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.1'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,16 +76,16 @@ dependencies:
|
|
76
76
|
name: rake
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '13.0'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- - "
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
88
|
+
version: '13.0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: rspec
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,16 +106,16 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
109
|
+
version: '0.3'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '0.
|
116
|
+
version: '0.3'
|
117
117
|
description:
|
118
|
-
email: jared@whitefusion.
|
118
|
+
email: jared@whitefusion.studio
|
119
119
|
executables: []
|
120
120
|
extensions: []
|
121
121
|
extra_rdoc_files: []
|
@@ -150,7 +150,7 @@ homepage: https://github.com/whitefusionhq/bulmatown
|
|
150
150
|
licenses:
|
151
151
|
- MIT
|
152
152
|
metadata:
|
153
|
-
yarn-add: bulmatown@1.
|
153
|
+
yarn-add: bulmatown@1.2.2
|
154
154
|
post_install_message:
|
155
155
|
rdoc_options: []
|
156
156
|
require_paths:
|
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
159
|
requirements:
|
160
160
|
- - ">="
|
161
161
|
- !ruby/object:Gem::Version
|
162
|
-
version: 2.
|
162
|
+
version: 2.7.0
|
163
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
164
|
requirements:
|
165
165
|
- - ">="
|