martile 0.1.21 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/martile.rb +2 -1
- metadata +20 -18
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc780d757952f4dfdedacf88c2dd79bb6a6721a6
|
4
|
+
data.tar.gz: 7482d11a2faaca40582ef04475ee153762e6dcbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dfe694422e709bc6d55ebf593ee44a6babb556f5b1c3d2b5b4cbfde0186ab5b6647b1eacf09f893ab20491025fd28ad289647c63cb6bf6a332ed5c352281728
|
7
|
+
data.tar.gz: 2120d73b172e4e1d3bb8f6fb73cee57589e233179cc29297add11ed15e6a3b94700c6a15b6bee18397b0c67467712ec852465197e4b9edf488de550c882e1a9e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/martile.rb
CHANGED
@@ -8,6 +8,7 @@ require 'dynarex'
|
|
8
8
|
require 'rdiscount'
|
9
9
|
|
10
10
|
|
11
|
+
# bug fix: 01-Mar-2014: Multiple pre tags within a string can now be handled
|
11
12
|
# feature: 12-Oct-2013: escaped the non-code content of <pre> blocks
|
12
13
|
# feature: 04-Oct-2013: angle brackets within <pre><code> blocks are
|
13
14
|
# escaped automatically
|
@@ -41,7 +42,7 @@ class Martile
|
|
41
42
|
}.join
|
42
43
|
|
43
44
|
# escape the content of <pre> tags which doesn't contain the code tag
|
44
|
-
s2.gsub
|
45
|
+
s2.gsub(/<(pre)>[^(?:<\/\1>)]+<\/\1>/m) do |x|
|
45
46
|
s = x[5..-7]
|
46
47
|
if s[/^<code>/] then
|
47
48
|
x
|
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: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,26 +10,28 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE0MDMwMTE1MTM1N1oXDTE1MDMwMTE1MTM1N1owSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
18
|
+
ggEBALpyB7g/7JKFOoKguOcHbRBeYoJEFgk4+6gOTYSUMc9QbwHOHx2+tgozZ+No
|
19
|
+
7B8S+DuHtehMdkZNb17ImyYhFMNCZhzIPNYhNlGNgQd8gzgmyPD3wdBa4xz9tcNH
|
20
|
+
LbjPzbidYDiTx/1wxVdWVv63EkA9GNmDn1hrRSO9xsceQu+koxBzodr0yYkJ95tc
|
21
|
+
w7/v3n9nIiOq+A9kWP0+T/zVp2EdpywFmJsBNI8ZBbjVMZndRcKrwcb5X72A+fUM
|
22
|
+
nr3y/tFIusGi5udkbTqewG27tHD4vQz+vpY44REzeCMjAbhyn8vvFAClppOoO1vW
|
23
|
+
wPmCM7CWLT4QUpoM4cDAybuWkpcCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUaew2SBXOYbmdBg/MNin7+6pZ6gkwJgYDVR0RBB8w
|
25
|
+
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAchiKYoxb
|
27
|
+
GANuyHDp4XvDEBvUDqYLiI8QzdOUCVK1IjggK+JluGV56OjvCk+dS0bpWQSKDI0A
|
28
|
+
lUzj4NOZwAkm2ruXs6gEpVXInDf1ZZ0TlNZyU+jK2cZ0igknaptsIlLdopY8mI3e
|
29
|
+
03XFF0RJYehvRb/7p7hUXduEW3MZdt6xS5gYU09gk8hDAIGBsr4REw2NHOj7RUDR
|
30
|
+
d9yujmbsdLOwkY9Yel5ADtzsebPb3fKp2+qG1ojdsQujGbiOIZs7e+T8Q65mPn4W
|
31
|
+
YF3JmVOebtMx3b9sXkLX1YyX0fsg59FXvg9CVfAoaG6qjG2Y/okBwMSqqMLQiiao
|
32
|
+
aRfEuwOkM9Z+zA==
|
31
33
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
34
|
+
date: 2014-03-01 00:00:00.000000000 Z
|
33
35
|
dependencies:
|
34
36
|
- !ruby/object:Gem::Dependency
|
35
37
|
name: rexle-builder
|
@@ -114,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
116
|
version: '0'
|
115
117
|
requirements: []
|
116
118
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.0.
|
119
|
+
rubygems_version: 2.0.14
|
118
120
|
signing_key:
|
119
121
|
specification_version: 4
|
120
122
|
summary: Converts a martile string to html
|
metadata.gz.sig
CHANGED
Binary file
|