martile 1.4.2 → 1.4.3
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/martile.rb +2 -1
- metadata +8 -8
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 206542c79d02943e3915eabfcf7dc4ad80b6b7e50b21e6e6a46b14d4c3f6294a
|
|
4
|
+
data.tar.gz: 44f1b2eb55435138cdb30aaf4abe1347f65e7580250bb0b448419dcf19641e71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2d9fcdef2cd2d8084aca69fc74d321638f9774476b4e78a16005d33dc0616d06f9cb622e7e590622d4584f42bfd075159cf047c48552c4da4211d6b1ac23ba7
|
|
7
|
+
data.tar.gz: '094aa285f52a463429b1e1bcee87d3b9ee7b7fb0d11b1ea8f3f3225b7e58311d3f9e70eef27d489f2c61c24514ebb294d42255e297693a5fd3deeac35e98515c'
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/martile.rb
CHANGED
|
@@ -15,6 +15,7 @@ require 'jsmenubuilder'
|
|
|
15
15
|
require 'htmlcom'
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
# improvement: 23-Apr-2020 A self-closing sidenav tag is now valid
|
|
18
19
|
# feature: 01-Mar-2020 A src attribute can now be used in the sidenav tag
|
|
19
20
|
# feature: 29-Feb-2020 The sidenav tag can now contain a raw hierachical list
|
|
20
21
|
# feature: 22-Jan-2020 An HtmlCom::Accordion component can now be generated
|
|
@@ -780,7 +781,7 @@ class Martile
|
|
|
780
781
|
s = s1.clone
|
|
781
782
|
if s =~ /^<sidenav/ then
|
|
782
783
|
|
|
783
|
-
content = s[
|
|
784
|
+
content = s[/(<sidenav[^>]+\/>|<sidenav[^>]+>([^<]*<[^>]+>)?)/]
|
|
784
785
|
puts ('content: ' + content.inspect) if @debug
|
|
785
786
|
|
|
786
787
|
doc = if content then
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: martile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
|
35
35
|
g0+rPDPUCWKVNHo7BG5zGRDcLsJO0QeIILy/AQaSAE3lQiHmC47nhsiBK0qNehWa
|
|
36
36
|
47XiKvz0ZVCGgrz4GEb723WC
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date: 2020-
|
|
38
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: yatoc
|
|
@@ -121,22 +121,22 @@ dependencies:
|
|
|
121
121
|
name: htmlcom
|
|
122
122
|
requirement: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
|
124
|
-
- - ">="
|
|
125
|
-
- !ruby/object:Gem::Version
|
|
126
|
-
version: 0.2.0
|
|
127
124
|
- - "~>"
|
|
128
125
|
- !ruby/object:Gem::Version
|
|
129
126
|
version: '0.2'
|
|
127
|
+
- - ">="
|
|
128
|
+
- !ruby/object:Gem::Version
|
|
129
|
+
version: 0.2.4
|
|
130
130
|
type: :runtime
|
|
131
131
|
prerelease: false
|
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
|
133
133
|
requirements:
|
|
134
|
-
- - ">="
|
|
135
|
-
- !ruby/object:Gem::Version
|
|
136
|
-
version: 0.2.0
|
|
137
134
|
- - "~>"
|
|
138
135
|
- !ruby/object:Gem::Version
|
|
139
136
|
version: '0.2'
|
|
137
|
+
- - ">="
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: 0.2.4
|
|
140
140
|
description:
|
|
141
141
|
email: james@jamesrobertson.eu
|
|
142
142
|
executables: []
|
metadata.gz.sig
CHANGED
|
Binary file
|