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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3122a6f1e196dc736ad8bb5559088b8a23268a75acf77ea556f8f3c0622de90b
4
- data.tar.gz: d2c72e6dc943f818d444e314b6c1ff7eea0fae1e96b09d87c053b29e6797e958
3
+ metadata.gz: e1c4769dbe98129a6d08cb35c8c87c100071c87479c0e0a517e286d361eb892a
4
+ data.tar.gz: e695fdcf6ea62e9a17241926c91b5e10a4635845da56f2d118448d63adf34a36
5
5
  SHA512:
6
- metadata.gz: 03b6891fa609a2fd40fa083f7e2c7865ec29b9c31f12b8792b8feb68099391cb57fa883d5cdf0141cc75b9a303d7b864bb5869ebbd00085af415b75aeed109d2
7
- data.tar.gz: 4ae5c38eeb4b5ed3c9c0018dab732a34a9780abb3298414a2fb3775842adc75b8d700e3dac6fc05724e42403d2e429706362d3bc74b14096a74bd2c77d733409
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.16)
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.2-x86_64-darwin)
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
- prefix = /:/
4
+ prefix = /:/
5
5
  content
6
- .gsub(Regexp.new(prefix.source + /callout :(\w+), \"(.+)\", \"(.+)\"/.source)) { callout($2, $3, $1) }
7
- .gsub(Regexp.new(prefix.source + /deliverable (.+)$/.source), "<%= deliverable( \"\\1\") %>")
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), "<%= team_deliverable( \"\\1\") %>")
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) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Coursegen
4
- VERSION = '0.9.16'
4
+ VERSION = '0.9.17'
5
5
  end
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.16
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-09 00:00:00.000000000 Z
11
+ date: 2021-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler