coursegen 0.9.12 → 0.9.13
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb6053e9eeb976a40ba652fb07807896a6f0db975369998b081177e9fdfaf28b
|
4
|
+
data.tar.gz: '08f71b83b2f87ea9a3dd9d4bdf6e32ca3187ccea3e429330882b337d3e351644'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c536dec568132e2009e2fa09b5d7cfe117f3867c0b89a017a71281f38541f1e964f2359b610394ee45eec6674064e54c5163e18ccd8a13689c8daf911836c49
|
7
|
+
data.tar.gz: c336424a9f86e8be8d948690ef33cf355fdfde1d4b47a0cfd76d5d0a7229fac165de69cc89d5fd953c2d61b3f14b4cfe03da4edf2f4d1f1a1de1e82d076ed40e
|
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.13)
|
5
5
|
activesupport
|
6
6
|
adsf
|
7
7
|
byebug
|
@@ -40,7 +40,7 @@ GEM
|
|
40
40
|
ddmetrics (1.0.1)
|
41
41
|
ddplugin (1.0.3)
|
42
42
|
diff-lcs (1.4.4)
|
43
|
-
ffi (1.
|
43
|
+
ffi (1.15.0)
|
44
44
|
formatador (0.2.5)
|
45
45
|
guard (2.16.2)
|
46
46
|
formatador (>= 0.2.4)
|
@@ -106,7 +106,7 @@ GEM
|
|
106
106
|
nanoc-cli (~> 4.11, >= 4.11.15)
|
107
107
|
nanoc-core (~> 4.11, >= 4.11.15)
|
108
108
|
nenv (0.3.0)
|
109
|
-
nokogiri (1.11.
|
109
|
+
nokogiri (1.11.2-x86_64-darwin)
|
110
110
|
racc (~> 1.4)
|
111
111
|
notiffany (0.1.3)
|
112
112
|
nenv (~> 0.1)
|
@@ -2,7 +2,7 @@ module VisualHelpers
|
|
2
2
|
|
3
3
|
def end_of_lecture(type=:thatsall)
|
4
4
|
if (type == :thatsall)
|
5
|
-
|
5
|
+
"<slide_break></slide_break>" + include_image("/content/topics/images/thatsallfolks.jpg")
|
6
6
|
end
|
7
7
|
end
|
8
8
|
end
|
@@ -12,8 +12,8 @@ Nanoc::Filter.define(:handle_shortcodes) do |content, _params = {}|
|
|
12
12
|
.gsub(Regexp.new(prefix.source + /h1 (.+)$/.source), "# \\1 ")
|
13
13
|
.gsub(Regexp.new(prefix.source + /h2 (.+)$/.source), "## \\1 ")
|
14
14
|
.gsub(Regexp.new(prefix.source + /h3 (.+)$/.source), "### \\1 ")
|
15
|
-
.gsub(Regexp.new(prefix.source + /topic_include :(\w+)$/.source)
|
16
|
-
.gsub(Regexp.new(prefix.source + /topic_link :(\w+)
|
15
|
+
.gsub(Regexp.new(prefix.source + /topic_include :(\w+)$/.source)) { |match| include_topic($1) }
|
16
|
+
.gsub(Regexp.new(prefix.source + /topic_link :(\w+)/.source)) { |match| link_to_topic($1) }
|
17
17
|
.gsub(Regexp.new(prefix.source + /slide_title (.+)$/.source), "<slide_break></slide_break>\n\n### \\1")
|
18
18
|
.gsub(Regexp.new(prefix.source + /lecture_end/.source), end_of_lecture)
|
19
19
|
.gsub(Regexp.new(prefix.source + /deliverable (.+)$/.source), "<%= deliverable( \"\\1\") %>")
|
@@ -22,8 +22,8 @@ Nanoc::Filter.define(:handle_shortcodes) do |content, _params = {}|
|
|
22
22
|
.gsub(Regexp.new(prefix.source + /teambadge/.source), teambadge)
|
23
23
|
.gsub(Regexp.new(prefix.source + /zipbadge/.source), zipbadge)
|
24
24
|
.gsub(Regexp.new(prefix.source + /slide_break/.source), "<slide_break></slide_break>")
|
25
|
-
.gsub(Regexp.new(prefix.source + /source_begin :(.+)$/.source)
|
26
|
-
.gsub(Regexp.new(prefix.source + /source_end$/.source),
|
25
|
+
.gsub(Regexp.new(prefix.source + /source_begin :(.+)$/.source)) { |match| source_begin ( ":language-"+$1) }
|
26
|
+
.gsub(Regexp.new(prefix.source + /source_end$/.source), source_end)
|
27
27
|
.gsub(Regexp.new(prefix.source + /team_deliverable (.+)$/.source), "<%= team_deliverable( \"\\1\") %>")
|
28
28
|
.gsub(Regexp.new(prefix.source + /discussion_box (.+)$/.source), "<%= discussion_box( \"\\1\") %>")
|
29
29
|
|
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.13
|
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-03-
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|