coursegen 0.9.16 → 0.9.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/coursegen/course/lib/nanoc_filters.rb +4 -4
- data/lib/coursegen/version.rb +1 -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: e1c4769dbe98129a6d08cb35c8c87c100071c87479c0e0a517e286d361eb892a
|
4
|
+
data.tar.gz: e695fdcf6ea62e9a17241926c91b5e10a4635845da56f2d118448d63adf34a36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f1f6f58aa999ddacd3bbf5735104b41f0551589ddf4179aa2bad85f6ec567a01f8b6ce654f2ad87a166be93f397d16075543aee229528388c41f81c1a832f1a
|
7
|
+
data.tar.gz: 0175deec4cfbe7caa22c95fc1d352567b1624122354b08346cea1d929ee34107f404ee59e68224fae37bd2fb83f5205aababe4b32f1fd9e026fa82c04990ca99
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
coursegen (0.9.
|
4
|
+
coursegen (0.9.17)
|
5
5
|
activesupport
|
6
6
|
adsf
|
7
7
|
byebug
|
@@ -105,7 +105,7 @@ GEM
|
|
105
105
|
nanoc-cli (~> 4.11, >= 4.11.15)
|
106
106
|
nanoc-core (~> 4.11, >= 4.11.15)
|
107
107
|
nenv (0.3.0)
|
108
|
-
nokogiri (1.11.
|
108
|
+
nokogiri (1.11.3-x86_64-darwin)
|
109
109
|
racc (~> 1.4)
|
110
110
|
notiffany (0.1.3)
|
111
111
|
nenv (~> 0.1)
|
@@ -1,10 +1,10 @@
|
|
1
1
|
include VisualHelpers
|
2
2
|
|
3
3
|
Nanoc::Filter.define(:handle_shortcodes) do |content, _params = {}|
|
4
|
-
|
4
|
+
prefix = /:/
|
5
5
|
content
|
6
|
-
.gsub(Regexp.new(prefix.source + /callout :(\w+),
|
7
|
-
.gsub(Regexp.new(prefix.source + /deliverable (.+)$/.source)
|
6
|
+
.gsub(Regexp.new(prefix.source + /callout :(\w+), "(.+)", "(.+)"/.source)) { callout($2, $3, $1) }
|
7
|
+
.gsub(Regexp.new(prefix.source + /deliverable (.+)$/.source)) { deliverable($1) }
|
8
8
|
.gsub(Regexp.new(prefix.source + /discussion_box (.+)$/.source), "<%= discussion_box( \"\\1\") %>")
|
9
9
|
.gsub(Regexp.new(prefix.source + /h1 (.+)$/.source), "# \\1 ")
|
10
10
|
.gsub(Regexp.new(prefix.source + /h2 (.+)$/.source), "## \\1 ")
|
@@ -21,7 +21,7 @@ Nanoc::Filter.define(:handle_shortcodes) do |content, _params = {}|
|
|
21
21
|
.gsub(Regexp.new(prefix.source + /slide_title (.+)$/.source), "<slide_break></slide_break>\n\n### \\1")
|
22
22
|
.gsub(Regexp.new(prefix.source + /source_begin :(.+)$/.source)) { source_begin( ":language-"+$1) }
|
23
23
|
.gsub(Regexp.new(prefix.source + /source_end/.source), source_end)
|
24
|
-
.gsub(Regexp.new(prefix.source + /team_deliverable (.+)$/.source)
|
24
|
+
.gsub(Regexp.new(prefix.source + /team_deliverable (.+)$/.source)) { team_deliverable($1) }
|
25
25
|
.gsub(Regexp.new(prefix.source + /teambadge/.source), teambadge)
|
26
26
|
.gsub(Regexp.new(prefix.source + /topic_include :(\w+)$/.source)) { include_topic($1) }
|
27
27
|
.gsub(Regexp.new(prefix.source + /topic_link :(\w+)/.source)) { link_to_topic($1) }
|
data/lib/coursegen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coursegen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pito Salas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|