raindeer 0.9.7 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a65cfafebe6c40a42c885d5ff24ca837fc3e8ee16bacdcce220f15c9fe2ac35e
4
- data.tar.gz: 1465115922c8a788445a3ff296569c20d12c7003bf58c974d416b87a97bae5a3
3
+ metadata.gz: dd04746632169d1c9898fe5f95552c13660f45ae76f039b4863a2eb58eb000bb
4
+ data.tar.gz: 1582e33cd80570a8d8a2164c3d8236515738f75e7a63204fbc50c7edcf195e4d
5
5
  SHA512:
6
- metadata.gz: 0a3cf8434cd2cefb1fac0e43c3a5426ca513cca3f1ccadb2da58b1da734485256fb69ddc068674f8903e4ff417f41e109d95e1eba335d6e0e91810fee90f6e25
7
- data.tar.gz: a0976b11aac755fa865c4f9272a7ea2e7c8cbe9ea041393017ae54c2f00018943e80bb9405ec055bc870070690fd928a9565672151021049d84b5a1ab9d294c3
6
+ metadata.gz: 7d5770cbfc5d25cefb54ae0273c89acac0220b516ae41014741b6d9bedb1515806ae198c60e41e694a10823e694766b7fb841c588e16fa1a1326bcc381493d48
7
+ data.tar.gz: 557024f64d7dd9c40c5c1ce1d19f803995aa28db1d9ce5381b25499135e2aef0e2b42e8ffb479313bc2172d8b1b851db5edf4cc89b0a5925dbd9d3bae75d3621
data/lib/cli/static.rb CHANGED
@@ -22,7 +22,7 @@ module Rain
22
22
 
23
23
  FileUtils.rm_rf(build_path)
24
24
  FileUtils.mkdir_p(build_path)
25
- FileUtils.cp_r(File.expand_path('public', application_path), File.expand_path('public', build_path))
25
+ FileUtils.cp_r("#{File.expand_path('public', application_path)}/.", build_path)
26
26
 
27
27
  Low::Events::RequestEvent.define do |observers|
28
28
  observers << Providers['rain.router']
@@ -11,7 +11,7 @@ module Rain
11
11
  def render(markdown:)
12
12
  template = markdown.gsub('<{', '<!-- ANTLERS').gsub('}>', 'ANTLERS -->')
13
13
 
14
- doc = Commonmarker.parse(template.force_encoding('UTF-8'))
14
+ doc = Commonmarker.parse(template.force_encoding('UTF-8'), options: { extension: { alerts: true }})
15
15
  doc.walk do |node|
16
16
  if %i[code code_block].include?(node.type)
17
17
  node.string_content = node.string_content.gsub('<!-- ANTLERS', '<{').gsub('ANTLERS -->', '}>')
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Raindeer
4
- VERSION = '0.9.7'
4
+ VERSION = '0.9.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raindeer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - maedi