mtlite 0.3.0 → 0.3.1
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/lib/mtlite.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- 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: 1876777b8c32548bb427a7a76204671f377aae17
|
4
|
+
data.tar.gz: 70c0ff97f80fdcbe63870cd1b83b772fae9fd2b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9888baf9f3cd0df54caccad91bc3766287b7a7a56bd1ca98f3e2905940c957913e23509667980c473785e12f88fac140f563875959963e22899840ddac8a12b5
|
7
|
+
data.tar.gz: 4fc2f5fb36ed3dda3b7d3f125ba199ec6f86e26a3f93a31b4c5278c17c66f13da582e8de47bb93b608c4936c758deccd73b7bf5c2b64cde5c2d380aff734c8ad
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/mtlite.rb
CHANGED
@@ -75,7 +75,7 @@ class MTLite
|
|
75
75
|
|
76
76
|
msg = RDiscount.new(raw_msg).to_html.gsub(/<\/?p[^>]*>/,'')
|
77
77
|
|
78
|
-
regex = %r([\w
|
78
|
+
regex = %r([\w\-/?=.#\(\)]+)
|
79
79
|
# generate anchor tags for URLs which don't have anchor tags
|
80
80
|
msg.gsub!(/(?:^(https?:#{regex})|\s(https?:#{regex}))/,' <a href="\2">\2</a>')
|
81
81
|
# add the target attribute to make all hyperlinks open in a new browser tab
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mtlite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
Lf+iCpePM1lbLkgKUfPhf00XpwAwkQymLKFRwFd+X6o6lapK2kw972nfIo/fboG5
|
32
32
|
N9DGR5kbLxFe6w==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-04
|
34
|
+
date: 2015-08-04 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rdiscount
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.4.
|
103
|
+
rubygems_version: 2.4.8
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: mtlite
|
metadata.gz.sig
CHANGED
Binary file
|