bulmatown 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb0ffe4a2acca8312f34dbbf78fa5c591fd4ff6144eac218c489eb1dd9746766
4
- data.tar.gz: 7a45a597d789e0b1b38a7b164bc37797cd655a5f4af6923e5cda676cad181412
3
+ metadata.gz: 44b8d53449ec521be9b9e9b95bf14cb8a2aca006e80effbdc167825364cfaf91
4
+ data.tar.gz: 8d48278044de877511df1ef3957cf1ec9e79bdaa15a229d10a48bbc353df386a
5
5
  SHA512:
6
- metadata.gz: 8c76f1c258c15b7a1a1ca6678f07e24cee1a044e5fb83aac0b911f7cf4737efeae31d5a0ce038347391910b98fd7384ff9a0c35651e8bdfc099a1b6f6bb8da3c
7
- data.tar.gz: 7e4a40ed0afa14d3337ce409c99eed50e4a49efeb6f2b15507979e97b134da6e18fa6811d172dab61a557a2014560fcc1f42a4852e48107d66d954bcfeb7b20a
6
+ metadata.gz: 5b04142bdcb1d2d54c580de8d6494f07ea862f73f13bae7e5f3569ab1836deab89f26f4d2a42b81166edd41c0fcad8f45cf6c6ef7ab0bdd026c0aa1d6d559146
7
+ data.tar.gz: b571e196c503db71909c0a4b120afea8735760f9d828769c9492d518eeddfd94d5ef382f41639b01d27e447eca9bd80b04394588eaf062a38cbe0fd3cc9f8603
@@ -8,4 +8,22 @@ unless Dir.exist? "frontend/fonts"
8
8
  FileUtils.mkdir_p "frontend/fonts"
9
9
  end
10
10
 
11
- run "cp node_modules/fork-awesome/fonts/* frontend/fonts"
11
+ run "cp node_modules/fork-awesome/fonts/* frontend/fonts"
12
+
13
+ javascript_import 'import Bulmatown from "bulmatown"'
14
+
15
+ if ask "The Bulmatown theme can update layout and page templates in your site to use the theme. Would you like to continue?"
16
+ layout_tmpl = ->(tmpl_name) do
17
+ <<~HTML
18
+ ---
19
+ layout: bulmatown/#{tmpl_name}
20
+ ---
21
+
22
+ {{ content }}
23
+ HTML
24
+ end
25
+ create_file "src/_layouts/home.html", layout_tmpl(:home)
26
+ create_file "src/_layouts/page.html", layout_tmpl(:page)
27
+ create_file "src/_layouts/post.html", layout_tmpl(:post)
28
+
29
+ end
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.version = Bulmatown::VERSION
8
8
  spec.author = "Jared White"
9
9
  spec.email = "jared@whitefusion.io"
10
- spec.summary = "A Bumlma CSS starter theme for Bridgetown"
10
+ spec.summary = "A Bulma CSS starter theme for Bridgetown"
11
11
  spec.homepage = "https://github.com/whitefusionhq/bulmatown"
12
12
  spec.license = "MIT"
13
13
 
@@ -19,4 +19,4 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
19
19
  gem "bridgetown"
20
20
  gem "bridgetown-quick-search", "~> 1.0", :group => :bridgetown_plugins
21
21
 
22
- gem "bulmatown", path: "../../bulmatown", group: :bridgetown_plugins
22
+ gem "bulmatown", group: :bridgetown_plugins
@@ -12,8 +12,8 @@
12
12
  "start": "node start.js"
13
13
  },
14
14
  "dependencies": {
15
- "bridgetown-quick-search": "1.0.3",
16
- "bulmatown": "../../bulmatown"
15
+ "bridgetown-quick-search": "^1.0.3",
16
+ "bulmatown": "^1.0.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/core": "^7.9.0",
@@ -1351,7 +1351,7 @@ braces@~3.0.2:
1351
1351
  dependencies:
1352
1352
  fill-range "^7.0.1"
1353
1353
 
1354
- bridgetown-quick-search@1.0.3, bridgetown-quick-search@^1.0.3:
1354
+ bridgetown-quick-search@^1.0.3:
1355
1355
  version "1.0.3"
1356
1356
  resolved "https://registry.yarnpkg.com/bridgetown-quick-search/-/bridgetown-quick-search-1.0.3.tgz#4fc34dea418fc97ba25f7ccf1aea6cbc7c048d91"
1357
1357
  integrity sha512-IAeldS+EB+AU/3MIr0jvQKBIPR852aRxlM38/cEcs4KDh3v9ML3CtgnCI+48V6UBDb3NFzlKEJ91SSxRz3lyiA==
@@ -1533,8 +1533,10 @@ bulma@^0.9:
1533
1533
  resolved "https://registry.yarnpkg.com/bulma/-/bulma-0.9.0.tgz#948c5445a49e9d7546f0826cb3820d17178a814f"
1534
1534
  integrity sha512-rV75CJkubNUroAt0qCRkjznZLoaXq/ctfMXsMvKSL84UetbSyx5REl96e8GoQ04G4Tkw0XF3STECffTOQrbzOQ==
1535
1535
 
1536
- bulmatown@../bulmatown:
1537
- version "0.1.0"
1536
+ bulmatown@^1.0.0:
1537
+ version "1.0.0"
1538
+ resolved "https://registry.yarnpkg.com/bulmatown/-/bulmatown-1.0.0.tgz#1270f75e64233c1bfb8223cc987d966e50055326"
1539
+ integrity sha512-gq6BgW8IonK/xH+vjqkTB0OleI9liE7Nc0TLQZlIzuwg94LTWNPy25zOnsZUJcUV98/xeqcA0cnuA3UJuIvr8Q==
1538
1540
  dependencies:
1539
1541
  bridgetown-quick-search "^1.0.3"
1540
1542
  bulma "^0.9"
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "bridgetown"
4
- require "bulmatown/builder"
5
4
 
6
5
  Bridgetown::PluginManager.new_source_manifest(
7
6
  origin: Bulmatown,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bulmatown
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "bulmatown",
3
- "version": "1.0.0",
3
+ "description": "A Bulma CSS starter theme for Bridgetown",
4
+ "version": "1.0.1",
4
5
  "main": "frontend/javascript/index.js",
5
6
  "repository": {
6
7
  "type": "git",
@@ -11,6 +12,7 @@
11
12
  "license": "MIT",
12
13
  "private": false,
13
14
  "files": [
15
+ "components",
14
16
  "frontend"
15
17
  ],
16
18
  "dependencies": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulmatown
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared White
@@ -179,7 +179,6 @@ files:
179
179
  - layouts/bulmatown/page.html
180
180
  - layouts/bulmatown/post.html
181
181
  - lib/bulmatown.rb
182
- - lib/bulmatown/builder.rb
183
182
  - lib/bulmatown/version.rb
184
183
  - package.json
185
184
  - yarn.lock
@@ -187,7 +186,7 @@ homepage: https://github.com/whitefusionhq/bulmatown
187
186
  licenses:
188
187
  - MIT
189
188
  metadata:
190
- yarn-add: bulmatown@1.0.0
189
+ yarn-add: bulmatown@1.0.1
191
190
  post_install_message:
192
191
  rdoc_options: []
193
192
  require_paths:
@@ -206,5 +205,5 @@ requirements: []
206
205
  rubygems_version: 3.0.6
207
206
  signing_key:
208
207
  specification_version: 4
209
- summary: A Bumlma CSS starter theme for Bridgetown
208
+ summary: A Bulma CSS starter theme for Bridgetown
210
209
  test_files: []
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Bulmatown
4
- class Builder < Bridgetown::Builder
5
- def build
6
- liquid_tag "sample_plugin" do
7
- "This plugin works!"
8
- end
9
- end
10
- end
11
- end
12
-
13
- Bulmatown::Builder.register