martile 0.6.23 → 0.6.25

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: b6242f62455efceab20f5041c8cba6baade349de
4
- data.tar.gz: cea9426033ff0576640491108fa00328651ec299
3
+ metadata.gz: 9ccfd6563fb3e866213f1a0147a80c8595e8131e
4
+ data.tar.gz: 3da8356912859496d06fbb06fcb7e3c59d562588
5
5
  SHA512:
6
- metadata.gz: 05b999ec27c33fd04590755ef0c20fbda05fdb635d9993ca9d65acf7557f6d88f45e2c5419a7d6a80cce19dd16ef8f983c407234af1c107f52341568e96c09b7
7
- data.tar.gz: c3535cde31d823ed6151b088c59b3459b2ff01e7a4d767353ba8798ac2af3eada06ed65c1cec20f4b29aa54e787bebf03316f95ed34f071c76729989adbba495
6
+ metadata.gz: ed3ac27da9937b03614b6af77ab21f06b606864cf8ed9e13751e13095e54c1a85315b654ec8af431cd98638938552fb1fd0f04bee77dd09350090c613f955f13
7
+ data.tar.gz: 126f63de42461314a3215e7322300b2c0c6d6650e0cd3b4eee5f7c85d20e5c0a2eda91855d2bfb5d05e3d58464372a6baf0185c995f693a476cb206e4d304c0a
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- $ ��}
2
- ��0b�:�`�3Q�&�j %�ǒ�5����� g�C��&��1�hG\핗�o&�#���?|��<ޫ
1
+ ���p�nZx�ʫ��/�-!d�����]�}�������-�t�����⥖.�E#K�,�^3�(.1��� ��d��.����I�X��,/����i�Ӡ�!��� ��?����y��ҁ� $��7s5����� b��&{�����x�H�6�X��I1_�L�)<�r��Z�|}W���*��؏��ݓ��B��B����
2
+ ;��cd؞mT��OctCq�)���KNɚ��=Y�;�k֤�
data/lib/martile.rb CHANGED
@@ -9,6 +9,8 @@ require 'rdiscount'
9
9
  require 'kvx'
10
10
 
11
11
 
12
+ # bug fix: 29-Feb-2016 Arbitrary URLs will no longer automatically
13
+ # be hyperlinked
12
14
  # bug fix: 05-Dec-2015 PRE tags are now correctly filtered out using the
13
15
  # apply_filter() method.
14
16
  # the ignore_domainlabel keword is now supplied to the
@@ -141,9 +143,11 @@ class Martile
141
143
  s8 = apply_filter(s7) {|x| underline x }
142
144
  #puts 's8: ' + s8.inspect
143
145
  s9 = apply_filter(s8) {|x| section x }
146
+ #puts 's9: ' + s9.inspect
147
+
144
148
  s10 = apply_filter(s9) {|x| smartlink x }
145
149
 
146
- #puts 's9: ' + s9.inspect
150
+ #puts 's10: ' + s10.inspect
147
151
 
148
152
  #s11 = section s9
149
153
  #puts 's11 : ' + s11.inspect
@@ -156,11 +160,12 @@ class Martile
156
160
  s15 = apply_filter(s14){|x| kvx_to_dl x}
157
161
  #puts 's15 : ' + s15.inspect
158
162
  s16 = apply_filter(s15){|x| list_item_to_hyperlink x}
159
- s10 = apply_filter(s16) {|x| mtlite_utils x }
163
+ #puts 's16 : ' + s16.inspect
164
+ s17 = apply_filter(s16) {|x| mtlite_utils x }
160
165
 
161
- #puts 's8 : ' + s8.inspect
166
+ #puts 's17 : ' + s17.inspect
162
167
 
163
- @to_s = s10
168
+ @to_s = s17
164
169
  end
165
170
 
166
171
  def to_html()
@@ -386,7 +391,7 @@ class Martile
386
391
 
387
392
  a = x[/https?:\/\/([^\/]+)/,1].split(/\./)
388
393
  r = a.length >= 3 ? a[1..-1] : a
389
- "%s<span class='domain'>[%s]</span>" % [x, r.join('.')]
394
+ "%s <span class='domain'>[%s]</span>" % [x, r.join('.')]
390
395
  end
391
396
 
392
397
  # add strikethru to completed items
@@ -589,7 +594,7 @@ class Martile
589
594
 
590
595
  def list_item_to_hyperlink(s)
591
596
 
592
- s.gsub(/\B*( +)([^\n]+)\s+(https?:\/\/.*)/,'\1[\2](\3)')
597
+ s.gsub(/\B(\* +)([^\n]+)\s+(https?:\/\/.*)/,'\1[\2](\3)')
593
598
 
594
599
  end
595
- end
600
+ end
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.6.23
4
+ version: 0.6.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -12,26 +12,26 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
14
  YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE1MDMwMTE4MTQyNFoXDTE2MDIyOTE4MTQyNFowSDESMBAG
15
+ 8ixkARkWAmV1MB4XDTE2MDIyOTIxMjQwNloXDTE3MDIyODIxMjQwNlowSDESMBAG
16
16
  A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
17
  EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAMIbDK9oK5jl/kXf8CDDSMB1wCaIuAuNQjSWKm196uBiI6fb83KG6WmAJsuB
19
- P5vOzDeq4+/NgIgEzZCPvIT9mTrAZPU7uirs8+7bESaexwiIriC4dHNnoIIGOmfo
20
- VixmLjuaoYVofnbyeitIfz6QHde/yopaGaUW6Q9IARaOjVNSRLbB7OAUsZGFs3z4
21
- ysAL3gE06oDyNCPsOb3ezCun1SrrHtL5+dEwBYB19dl9yVXm46QtPOGL/Wx/zjM2
22
- 0BmpsPV6gocWaszNqwjuafRqVnOtGL9j/ec5ab1iGwbXB2pEC4wjFn3XKvHEvdT7
23
- 3CzzjFVEbOB4qVmfPuF6C3aUJe8CAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
24
- DwQEAwIEsDAdBgNVHQ4EFgQUwDnTLohObYD3C2SPAJwj993F2ZkwJgYDVR0RBB8w
18
+ ggEBANbSoj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qwMo//PuA91vT7vpgUXkcgrKMcb1ncaXLSSqAzY95c
28
+ 8A0dLf/WcBgEcDWDFpqwsZnajcR5ViQ/Ra5QKNsSjr2xJmxO7cwhdfpFjG78dDMK
29
+ TQWyjMw38DMDKV4KhW8vAPLecgEEBi5DloYDGxvf80DSkzrT2iyeIYOz4dTwJj4B
30
+ oUVtmTdPivRcjY9WAuDPjaJyU9GjiOItaA5Ze45y5dwwVzU9Vpy/Rqq8gF4rIhvt
31
+ fHJRwdYS8tvLYH9UFytJxDKjlovBuFUsfKP0FJlZGQGJM5JiIj5LWelTGJtJD8hI
32
+ 2jPlwrOtiqZt2A==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-12-05 00:00:00.000000000 Z
34
+ date: 2016-02-29 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rdiscount
metadata.gz.sig CHANGED
Binary file