martile 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: b10ea83dd4a9a5d91c5a611fecf1b0926ef43992
4
- data.tar.gz: d9d9a4c836d0627c420bb69d9fb5215695da7818
3
+ metadata.gz: d54722ac1ba698b83d8a0e8e7a0a89877e05ab08
4
+ data.tar.gz: a62031606c9f955aaf98cfe7f49f80e3e63e2ca4
5
5
  SHA512:
6
- metadata.gz: fcfda9302fc1fc04d48a4912f2bbaadb7170425114cbd4a28426ccf213b9e190f988c1211322534e5a5f7cce2af346514461815573dfac957402e8f3b4319f54
7
- data.tar.gz: bf1461af551e30994788a18ea0995b21ddc234be905c6a5143cb68716634e9b869dc3c6829cf1d1c5a2313ae5418b14371f809b6bf3525bf51a416874a472a9b
6
+ metadata.gz: 769eb88b46d7a5c2ebc95e5f53371a88eff67146105178e679063c92623c68f2d39af48030504c9f52bd5106c8435713f41ad52a9b5b9b685306324514b94b1e
7
+ data.tar.gz: c31d4735aaa1fc0ed97208b9ceef2609fc941251afaddd427e6e8913b461dc58b2654ab18fba5a4cd740a64a0125206f9af0e8866a27fb6d623364780e549c82
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/martile.rb CHANGED
@@ -8,6 +8,8 @@ require 'dynarex'
8
8
  require 'rdiscount'
9
9
 
10
10
 
11
+ # bug fix: 10-Dec-2014: Generation of pre tags using // can now only happen
12
+ # when the // appears at the beginning of the line
11
13
  # feature: 30-Oct-2014: A section can now be between a set of equal signs at
12
14
  # the beginning of the line
13
15
  # e.g.
@@ -261,7 +263,7 @@ class Martile
261
263
  end
262
264
 
263
265
  def slashpre(s)
264
- s.gsub(/\B\/\/([^\/]+)\B\/\//) do |x|
266
+ s.gsub(/^\/\/([^\/]+)^\/\//) do |x|
265
267
  "<pre>#{($1).lines.map{|y| y.sub(/^ +/,'')}.join}</pre>"
266
268
  end
267
269
 
data.tar.gz.sig CHANGED
Binary file
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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  YF3JmVOebtMx3b9sXkLX1YyX0fsg59FXvg9CVfAoaG6qjG2Y/okBwMSqqMLQiiao
32
32
  aRfEuwOkM9Z+zA==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-10-30 00:00:00.000000000 Z
34
+ date: 2014-12-10 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexle-builder
metadata.gz.sig CHANGED
Binary file