bridgetown_reveal 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/tests.yml +32 -0
- data/.gitignore +41 -0
- data/.rubocop.yml +23 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile +10 -0
- data/LICENSE.txt +22 -0
- data/README.md +123 -0
- data/Rakefile +21 -0
- data/bridgetown.automation.rb +109 -0
- data/bridgetown_reveal.gemspec +36 -0
- data/components/bridgetown_reveal/deck.erb +10 -0
- data/components/bridgetown_reveal/deck.rb +27 -0
- data/layouts/bridgetown_reveal/deck.erb +15 -0
- data/lib/bridgetown_reveal/version.rb +6 -0
- data/lib/bridgetown_reveal.rb +20 -0
- metadata +166 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4db9ee64b15c37e4dc8f04edd27a15a432f24e0ea9d7d5620b4a7902be512425
|
4
|
+
data.tar.gz: 89c435e9b3c9a5ba48bd283086d48cc5e601d9fc1a06309c672d2cfb9d37f32a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9d3d35cb0f556f179a348f50da9f32c1ad6f1346f6cd04027c19ffca66a7ca598379b7782e3f3836a54438ef3414dfdef680f23413dbc65e1dac403149eee648
|
7
|
+
data.tar.gz: b18d1fd23a0ac29f9cf9451853816397aab0eef4e37b1727c614957caa3e8a3957948324c1bc3385cb74fcd3e4411891f6ec2a3b73e065303eaa7b4600cc60fe
|
@@ -0,0 +1,32 @@
|
|
1
|
+
name: Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- "*"
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- main
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby_version: [2.7.7, 3.0.5, 3.1.3, 3.2.0]
|
17
|
+
bridgetown_version: [1.2.0]
|
18
|
+
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
|
19
|
+
# Has to be top level to cache properly
|
20
|
+
env:
|
21
|
+
BUNDLE_JOBS: 3
|
22
|
+
BUNDLE_PATH: "vendor/bundle"
|
23
|
+
BRIDGETOWN_VERSION: ${{ matrix.bridgetown_version }}
|
24
|
+
steps:
|
25
|
+
- uses: actions/checkout@master
|
26
|
+
- name: Setup Ruby
|
27
|
+
uses: ruby/setup-ruby@v1
|
28
|
+
with:
|
29
|
+
ruby-version: ${{ matrix.ruby_version }}
|
30
|
+
bundler-cache: true
|
31
|
+
- name: Test with Rake
|
32
|
+
run: script/cibuild
|
data/.gitignore
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
/vendor
|
2
|
+
/.bundle/
|
3
|
+
/.yardoc
|
4
|
+
/Gemfile.lock
|
5
|
+
/_yardoc/
|
6
|
+
/coverage/
|
7
|
+
/doc/
|
8
|
+
/pkg/
|
9
|
+
/spec/reports/
|
10
|
+
/tmp/
|
11
|
+
/checksums/
|
12
|
+
*.bundle
|
13
|
+
*.so
|
14
|
+
*.o
|
15
|
+
*.a
|
16
|
+
mkmf.log
|
17
|
+
*.gem
|
18
|
+
Gemfile.lock
|
19
|
+
.bundle
|
20
|
+
.ruby-version
|
21
|
+
|
22
|
+
# Node
|
23
|
+
node_modules
|
24
|
+
.npm
|
25
|
+
.node_repl_history
|
26
|
+
|
27
|
+
# Yarn
|
28
|
+
yarn-error.log
|
29
|
+
yarn-debug.log*
|
30
|
+
.pnp/
|
31
|
+
.pnp.js
|
32
|
+
|
33
|
+
# Yarn Integrity file
|
34
|
+
.yarn-integrity
|
35
|
+
|
36
|
+
test/dest
|
37
|
+
.bridgetown-metadata
|
38
|
+
.bridgetown-cache
|
39
|
+
.bridgetown-webpack
|
40
|
+
|
41
|
+
.env
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
require: rubocop-bridgetown
|
2
|
+
|
3
|
+
inherit_gem:
|
4
|
+
rubocop-bridgetown: .rubocop.yml
|
5
|
+
|
6
|
+
AllCops:
|
7
|
+
TargetRubyVersion: 2.7
|
8
|
+
|
9
|
+
Exclude:
|
10
|
+
- .gitignore
|
11
|
+
- .rubocop.yml
|
12
|
+
- "*.gemspec"
|
13
|
+
|
14
|
+
- Gemfile.lock
|
15
|
+
- CHANGELOG.md
|
16
|
+
- LICENSE.txt
|
17
|
+
- README.md
|
18
|
+
- Rakefile
|
19
|
+
- bridgetown.automation.rb
|
20
|
+
|
21
|
+
- script/**/*
|
22
|
+
- test/fixtures/**/*
|
23
|
+
- vendor/**/*
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
|
+
|
8
|
+
## [Unreleased]
|
9
|
+
|
10
|
+
## [0.1.0] - 2023-05-XX
|
11
|
+
|
12
|
+
- First version
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2023-present Jeremy Hinegardner
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
# Bridgetown reveal.js Plugin
|
2
|
+
|
3
|
+
[Bridgetown](https://www.bridgetownrb.com) is a ruby powered static site
|
4
|
+
generation. [Reveal.js](https://revealjs.com) is an open source HTML
|
5
|
+
presentation framework.
|
6
|
+
|
7
|
+
This plugin wires the two together so that you can use bridgetown to host a
|
8
|
+
reveal.js presentation as a section of your site.
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
### Using an Automation
|
13
|
+
|
14
|
+
The preferred method to install this plugin is to run the automation. There
|
15
|
+
are files to add / update to your site that uses this plugin and it is most
|
16
|
+
easily done through the automation.
|
17
|
+
|
18
|
+
```shell
|
19
|
+
bin/bridgetown apply https://github.com/copiousfreetime/bridgetown_reveal
|
20
|
+
```
|
21
|
+
|
22
|
+
### Manual Installation
|
23
|
+
|
24
|
+
Run this command to add this plugin to your site's Gemfile.
|
25
|
+
|
26
|
+
```shell
|
27
|
+
bundle add bridgetown_reveal
|
28
|
+
```
|
29
|
+
|
30
|
+
And then run the automation locally:
|
31
|
+
|
32
|
+
```shell
|
33
|
+
./bin/bridgetown apply $(bundle show bridgetown_reveal)/bridgetown.automation.rb
|
34
|
+
```
|
35
|
+
|
36
|
+
If you prefer NOT to run the automation, then look at the the automation file
|
37
|
+
and apply the updates manually:
|
38
|
+
|
39
|
+
<https://github.com/copiousfreetime/bridgetown_reveal/blob/main/bridgetown.automation.rb>
|
40
|
+
|
41
|
+
The steps are:
|
42
|
+
|
43
|
+
1. Add the initializer to your configuraiton in `config/initializers.rb`
|
44
|
+
```ruby
|
45
|
+
init :bridgetown_reveal
|
46
|
+
```
|
47
|
+
2. Add `reveal.js` to your yarn package: `yarn add reveal.js`
|
48
|
+
3. Install the [javascript for bootstrapping reveal.js](https://github.com/copiousfreetime/bridgetown_reveal/blob/faec16917b99ae9646c771b7fb23c2c73a75b5db/bridgetown.automation.rb#L9-L49) and [import it](https://github.com/copiousfreetime/bridgetown_reveal/blob/faec16917b99ae9646c771b7fb23c2c73a75b5db/bridgetown.automation.rb#L56)
|
49
|
+
4. Update the `bridgetown.config.yml` to [add the `slides`](https://github.com/copiousfreetime/bridgetown_reveal/blob/faec16917b99ae9646c771b7fb23c2c73a75b5db/bridgetown.automation.rb#L63-L67) collection.
|
50
|
+
5. Install a [sample presentation](https://github.com/copiousfreetime/bridgetown_reveal/blob/faec16917b99ae9646c771b7fb23c2c73a75b5db/bridgetown.automation.rb#L71-L109)
|
51
|
+
|
52
|
+
## Usage
|
53
|
+
|
54
|
+
The plugin will add a new layout type of [`bridgetown_reveal/deck`](./layouts/bridgetown_reveal/deck.erb) and an
|
55
|
+
associated component of [`::BridgetownReveal::Deck`](./components/bridgetown_reveal/deck.rb).
|
56
|
+
|
57
|
+
Integrating a reveal.js presentation into your site involves 3 items:
|
58
|
+
|
59
|
+
- Setting a collection for the slides in the top level `bridgetown.config.yml`.
|
60
|
+
- Create the single presentation page.
|
61
|
+
- Creating all the slide content.
|
62
|
+
|
63
|
+
For example, if to make a new presentation at output location `/slidey` you
|
64
|
+
would do the following:
|
65
|
+
|
66
|
+
Add the `slidey` collection to the `bridgetown.config.yml` file:
|
67
|
+
|
68
|
+
```yaml
|
69
|
+
collections:
|
70
|
+
slidey:
|
71
|
+
sort_by: order
|
72
|
+
name: Slidey
|
73
|
+
```
|
74
|
+
|
75
|
+
Create the page for the presentation at `src/slidey.erb`
|
76
|
+
|
77
|
+
```erb
|
78
|
+
---
|
79
|
+
layout: bridgetown_reveal/deck
|
80
|
+
---
|
81
|
+
|
82
|
+
<%= render ::BridgetownReveal::Deck.new(site: site, collection: 'slidey') %>
|
83
|
+
```
|
84
|
+
|
85
|
+
Put all the slidey content pages themselves in `src/_slidey/`. The pages will all be
|
86
|
+
combinded together and sorted based upon the `order` value in the frontmatter.
|
87
|
+
|
88
|
+
**`src/_slidey/intro.html`**
|
89
|
+
```html
|
90
|
+
---
|
91
|
+
order: 1
|
92
|
+
---
|
93
|
+
<section>
|
94
|
+
<h1>The first slide of the Intro</h1>
|
95
|
+
</section>
|
96
|
+
|
97
|
+
<section>
|
98
|
+
<h1>The 2nd slide of the Intro</h1>
|
99
|
+
</section>
|
100
|
+
```
|
101
|
+
|
102
|
+
**`src/_slidey/outro.html`**
|
103
|
+
```html
|
104
|
+
---
|
105
|
+
order: 100
|
106
|
+
---
|
107
|
+
<section>
|
108
|
+
<h1>The penultimate slide of the talk.</h1>
|
109
|
+
</section>
|
110
|
+
|
111
|
+
<section>
|
112
|
+
<h1>Thank you, and goodnight</h1>
|
113
|
+
</section>
|
114
|
+
```
|
115
|
+
|
116
|
+
All of the content is [reveal.js](https://revealjs.com) `<section>` content. The
|
117
|
+
top level wrapper for reveal.js is inside the `bridgetown_reveal/deck` layout.
|
118
|
+
|
119
|
+
## Testing
|
120
|
+
|
121
|
+
* Run `bundle exec rake test` to run the test suite
|
122
|
+
* Or run `script/cibuild` to validate with Rubocop and Minitest together.
|
123
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "minitest/test_task"
|
3
|
+
|
4
|
+
Minitest::TestTask.create(:test) do |t|
|
5
|
+
t.libs << "test"
|
6
|
+
t.libs << "lib"
|
7
|
+
t.warning = false
|
8
|
+
t.test_globs = "test/**/test_*.rb"
|
9
|
+
end
|
10
|
+
|
11
|
+
task :release_check do
|
12
|
+
unless `git branch` =~ /^\* main/
|
13
|
+
abort "You must be on the main branch to release!"
|
14
|
+
end
|
15
|
+
unless `git status` =~ /^nothing to commit/m
|
16
|
+
abort "Nope, sorry, you have unfinished business"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
task :release => :release_check
|
21
|
+
task :default => :test
|
@@ -0,0 +1,109 @@
|
|
1
|
+
add_gem("bridgetown_reveal")
|
2
|
+
|
3
|
+
add_yarn_for_gem("bridgetown_reveal")
|
4
|
+
|
5
|
+
add_initializer :bridgetown_reveal
|
6
|
+
|
7
|
+
create_file "frontend/javascript/bridgetown_reveal.js" do
|
8
|
+
<<~JS
|
9
|
+
import "reveal.js/dist/reset.css"
|
10
|
+
import "reveal.js/dist/reveal.css"
|
11
|
+
|
12
|
+
/*
|
13
|
+
* Customize the theme by changing this line. The list of available themes:
|
14
|
+
*
|
15
|
+
* https://revealjs.com/themes/
|
16
|
+
*
|
17
|
+
*/
|
18
|
+
import "reveal.js/dist/theme/solarized.css"
|
19
|
+
|
20
|
+
/*
|
21
|
+
* code highlighting is done via highlightjs and monokai.css is included
|
22
|
+
* within reveal.js. `zenburn` is alos included, any others will need to be
|
23
|
+
* manually downloaded from https://github.com/highlightjs/highlight.js/tree/main/src/styles
|
24
|
+
* and add it to the styles directory
|
25
|
+
*/
|
26
|
+
import "reveal.js/plugin/highlight/monokai.css"
|
27
|
+
|
28
|
+
|
29
|
+
import Reveal from "reveal.js"
|
30
|
+
import RevealNotes from "reveal.js/plugin/notes/notes.esm.js"
|
31
|
+
import RevealMarkdown from "reveal.js/plugin/markdown/markdown.esm.js"
|
32
|
+
import RevealHighlight from "reveal.js/plugin/highlight/highlight.esm.js"
|
33
|
+
|
34
|
+
/*
|
35
|
+
* The full configuration options for reveal.js are documented at:
|
36
|
+
*
|
37
|
+
* https://revealjs.com/config/
|
38
|
+
*
|
39
|
+
*/
|
40
|
+
Reveal.initialize({
|
41
|
+
controls: false,
|
42
|
+
progress: true,
|
43
|
+
slideNumber: true,
|
44
|
+
hash: true,
|
45
|
+
|
46
|
+
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
|
47
|
+
});
|
48
|
+
|
49
|
+
console.info("Reveal is loaded!")
|
50
|
+
JS
|
51
|
+
|
52
|
+
end
|
53
|
+
|
54
|
+
javascript_import do
|
55
|
+
<<~JS
|
56
|
+
import "./bridgetown_reveal.js"
|
57
|
+
JS
|
58
|
+
end
|
59
|
+
|
60
|
+
append_to_file "bridgetown.config.yml" do
|
61
|
+
<<~YAML
|
62
|
+
|
63
|
+
# If you already have a collections section, then merge this with it
|
64
|
+
collections:
|
65
|
+
slides:
|
66
|
+
sort_by: order
|
67
|
+
name: Deck
|
68
|
+
YAML
|
69
|
+
end
|
70
|
+
|
71
|
+
create_file "src/presentation.erb" do
|
72
|
+
<<~ERB
|
73
|
+
---
|
74
|
+
layout: bridgetown_reveal/deck
|
75
|
+
---
|
76
|
+
|
77
|
+
<%= render ::BridgetownReveal::Deck.new(site: site, collection: 'slides') %>
|
78
|
+
ERB
|
79
|
+
end
|
80
|
+
|
81
|
+
create_file "src/_slides/intro.html" do
|
82
|
+
<<~HTML
|
83
|
+
---
|
84
|
+
order: 0
|
85
|
+
---
|
86
|
+
<section>
|
87
|
+
<h1>The first slide of the Intro</h1>
|
88
|
+
</section>
|
89
|
+
|
90
|
+
<section>
|
91
|
+
<h1>The 2nd slide of the Intro</h1>
|
92
|
+
</section>
|
93
|
+
HTML
|
94
|
+
end
|
95
|
+
|
96
|
+
create_file "src/_slides/closing.html" do
|
97
|
+
<<~HTML
|
98
|
+
---
|
99
|
+
order: 100
|
100
|
+
---
|
101
|
+
<section>
|
102
|
+
<h1>The penultimate slide of the talk.</h1>
|
103
|
+
</section>
|
104
|
+
|
105
|
+
<section>
|
106
|
+
<h1>Thank you, and goodnight</h1>
|
107
|
+
</section>
|
108
|
+
HTML
|
109
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/bridgetown_reveal/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "bridgetown_reveal"
|
7
|
+
spec.version = BridgetownReveal::VERSION
|
8
|
+
spec.author = "Jeremy Hinegardner"
|
9
|
+
spec.email = "jeremy@copiousfreetime.org"
|
10
|
+
spec.summary = "Support adding reveal.js presentations to a Bridgetown site."
|
11
|
+
spec.homepage = "https://github.com/copiousfreetime/bridgetown_reveal"
|
12
|
+
spec.license = "MIT"
|
13
|
+
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|script|spec|features|frontend)/!) }
|
15
|
+
spec.test_files = spec.files.grep(%r!^test/!)
|
16
|
+
spec.require_paths = ["lib"]
|
17
|
+
spec.metadata = {
|
18
|
+
"bug_tracker_uri" => "https://github.com/copiousfreetime/bridgetown_reveal/issues",
|
19
|
+
"changelog_uri" => "https://github.com/copiousfreetime/bridgetown_reveal/blob/master/CHANGELOG.md",
|
20
|
+
"homepage_uri" => "https://github.com/copiousfreetime/bridgetown_reveal",
|
21
|
+
"source_code_uri" => "https://github.com/copiousfreetime/bridgetown_reveal",
|
22
|
+
"yarn-add" => "reveal.js@#{BridgetownReveal::REVEAL_JS_VERSION}"
|
23
|
+
}
|
24
|
+
|
25
|
+
spec.required_ruby_version = ">= 2.7.0"
|
26
|
+
|
27
|
+
spec.add_dependency "bridgetown", ">= 1.2.0", "< 2.0"
|
28
|
+
|
29
|
+
spec.add_development_dependency "bundler", ">= 2.1"
|
30
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
31
|
+
spec.add_development_dependency "rubocop-bridgetown", "~> 0.3"
|
32
|
+
spec.add_development_dependency "minitest", "~> 5.18"
|
33
|
+
spec.add_development_dependency "minitest-profile", "~> 0.0"
|
34
|
+
spec.add_development_dependency "minitest-reporters", "~> 1.6"
|
35
|
+
end
|
36
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module BridgetownReveal
|
4
|
+
class Deck < Bridgetown::Component
|
5
|
+
def initialize(site:, collection: "slides")
|
6
|
+
super()
|
7
|
+
@site, @collection = site, collection
|
8
|
+
@resources = @site.collections[@collection].resources
|
9
|
+
end
|
10
|
+
|
11
|
+
def slides
|
12
|
+
filtered_resources = @resources.select { |r| r.data.order }
|
13
|
+
ordered_slides = filtered_resources.sort_by { |r| r.data.order }
|
14
|
+
orders = Set.new
|
15
|
+
ordered_slides.each do |slide|
|
16
|
+
if orders.include?(slide.data.order)
|
17
|
+
::Bridgetown.logger.warn("Site:",
|
18
|
+
"Duplicate slide #{slide.data.order} appears in #{slide}")
|
19
|
+
else
|
20
|
+
orders << slide.data.order
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
ordered_slides
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6
|
+
<title><%= strip_html(strip_newlines(site.metadata.title)) %></title>
|
7
|
+
<link rel="stylesheet" href="<%= webpack_path :css %>" />
|
8
|
+
<script src="<%= webpack_path :js %>" defer></script>
|
9
|
+
<%= live_reload_dev_js %>
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<%= yield %>
|
14
|
+
</body>
|
15
|
+
</html>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "bridgetown"
|
4
|
+
|
5
|
+
# @param config [Bridgetown::Configuration::ConfigurationDSL]
|
6
|
+
Bridgetown.initializer :bridgetown_reveal do |config|
|
7
|
+
# Add code here which will run when a site includes
|
8
|
+
# `init :bridgetown_reveal`
|
9
|
+
# in its configuration
|
10
|
+
|
11
|
+
# Add default configuration data:
|
12
|
+
config.bridgetown_reveal ||= {}
|
13
|
+
|
14
|
+
# You can optionally supply a source manifest:
|
15
|
+
config.source_manifest(
|
16
|
+
origin: BridgetownReveal,
|
17
|
+
components: File.expand_path("../components", __dir__),
|
18
|
+
layouts: File.expand_path("../layouts", __dir__)
|
19
|
+
)
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,166 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bridgetown_reveal
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeremy Hinegardner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-05-06 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bridgetown
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.2.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2.0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.2.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: bundler
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '2.1'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '2.1'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rake
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '13.0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '13.0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rubocop-bridgetown
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.3'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0.3'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: minitest
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '5.18'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '5.18'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: minitest-profile
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: minitest-reporters
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.6'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '1.6'
|
117
|
+
description:
|
118
|
+
email: jeremy@copiousfreetime.org
|
119
|
+
executables: []
|
120
|
+
extensions: []
|
121
|
+
extra_rdoc_files: []
|
122
|
+
files:
|
123
|
+
- ".github/workflows/tests.yml"
|
124
|
+
- ".gitignore"
|
125
|
+
- ".rubocop.yml"
|
126
|
+
- CHANGELOG.md
|
127
|
+
- Gemfile
|
128
|
+
- LICENSE.txt
|
129
|
+
- README.md
|
130
|
+
- Rakefile
|
131
|
+
- bridgetown.automation.rb
|
132
|
+
- bridgetown_reveal.gemspec
|
133
|
+
- components/bridgetown_reveal/deck.erb
|
134
|
+
- components/bridgetown_reveal/deck.rb
|
135
|
+
- layouts/bridgetown_reveal/deck.erb
|
136
|
+
- lib/bridgetown_reveal.rb
|
137
|
+
- lib/bridgetown_reveal/version.rb
|
138
|
+
homepage: https://github.com/copiousfreetime/bridgetown_reveal
|
139
|
+
licenses:
|
140
|
+
- MIT
|
141
|
+
metadata:
|
142
|
+
bug_tracker_uri: https://github.com/copiousfreetime/bridgetown_reveal/issues
|
143
|
+
changelog_uri: https://github.com/copiousfreetime/bridgetown_reveal/blob/master/CHANGELOG.md
|
144
|
+
homepage_uri: https://github.com/copiousfreetime/bridgetown_reveal
|
145
|
+
source_code_uri: https://github.com/copiousfreetime/bridgetown_reveal
|
146
|
+
yarn-add: reveal.js@4.5.0
|
147
|
+
post_install_message:
|
148
|
+
rdoc_options: []
|
149
|
+
require_paths:
|
150
|
+
- lib
|
151
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 2.7.0
|
156
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
requirements: []
|
162
|
+
rubygems_version: 3.4.10
|
163
|
+
signing_key:
|
164
|
+
specification_version: 4
|
165
|
+
summary: Support adding reveal.js presentations to a Bridgetown site.
|
166
|
+
test_files: []
|