coursegen 0.9.9 → 0.9.10

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: 03f1cff6597ed85fbcde71668cb790bb234d1c529d69e8dd5b2590b8fdbb029c
4
- data.tar.gz: 17b93ad8dda84b6a73ea6f1f9c7ae01a2e8380ee693bf34b6823bfd2f0416724
3
+ metadata.gz: e08a52cfed6836872be228d0a7c6dec8bfa087ee286cf079a76f6db3674a122b
4
+ data.tar.gz: a8d62798dcb08f373f10b9d632101db57b3a191819b1856e53b1dfe4769744f3
5
5
  SHA512:
6
- metadata.gz: 471215f376cbd6990e4ae3fd1f0929e809c9f933019ca9398719d23bb79344cfd6725625bb4a2f515c88db5a90ea8b4553da16525822b115828cab79c8c78745
7
- data.tar.gz: d5d69b84ef364720ac4172e8906bbff350f838b8481c7d49aca9893634460f9698beedfc9005469257e06cc28c12b581deb42d7b88fe58207f4b416ed4ba96e1
6
+ metadata.gz: 3246fa9423de19c68223214da7ffc24a3c10c5b6384a1baf5b8fbeb2504362a7835598103549dbaf74c4c0dc09e409b1d439d19936039baadf15ad9283f32bce
7
+ data.tar.gz: d018679f27b6895ea70f2692fee9136450a040485fb1e6feaaabea5f567239fff9ade2c9892c1caec1bf906ce9c34f58495f24fd1c0776e1d7e0c2231498cad3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- coursegen (0.9.9)
4
+ coursegen (0.9.10)
5
5
  activesupport
6
6
  adsf
7
7
  byebug
@@ -5,10 +5,10 @@ Nanoc::Filter.define(:handle_shortcodes) do |content, _params = {}|
5
5
  content
6
6
  .gsub(/^\$\$TOPIC_INCLUDE :(\w+)$/) { "<%= include_topic( :#{Regexp.last_match(1)}) %>" }
7
7
  .gsub(/\$\$TOPIC_LINK :(\w+)$/) { "<%= link_to_topic( :#{Regexp.last_match(1)}) %>" }
8
- .gsub(/^\$\$SLIDE_TITLE (.+)$/) { "<slide_break></slide_break>\n\n### #{Regexp.last_match(1)}" }
9
- .gsub(/^\$\$SLIDE_BREAK$/) { "<slide_break></slide_break>" }
10
- .gsub(/^\$\$LECTURE_END$/) { end_of_lecture }
11
- .gsub(/^\$\$LECTURE_BEGIN (.+)$/) { "## #{Regexp.last_match(1)} "}
8
+ .gsub(/\$\$SLIDE_TITLE (.+)$/) { "<slide_break></slide_break>\n\n### #{Regexp.last_match(1)}" }
9
+ .gsub(/\$\$SLIDE_BREAK$/) { "<slide_break></slide_break>" }
10
+ .gsub(/\$\$LECTURE_END$/) { end_of_lecture }
11
+ .gsub(/\$\$LECTURE_BEGIN (.+)$/) { "## #{Regexp.last_match(1)} "}
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 ")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coursegen
4
- VERSION = '0.9.9'
4
+ VERSION = '0.9.10'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coursegen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9
4
+ version: 0.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pito Salas