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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fd22b300e34d404412d8692831e979dc1002a0f
4
- data.tar.gz: 3ec0ba0d672f575f3c6566106afffc7cc354036e
3
+ metadata.gz: 1876777b8c32548bb427a7a76204671f377aae17
4
+ data.tar.gz: 70c0ff97f80fdcbe63870cd1b83b772fae9fd2b3
5
5
  SHA512:
6
- metadata.gz: a60da816db09d48fa41e993ca6f02b18d07d575a287ba5492988bf8c91425a32cfb47fa6a546e77bbed9d7bd9e7fa5741bce1bd0872d095081980e15ac6f5025
7
- data.tar.gz: 5caeb35fd2f03181e2f9738bafb2c53ac99df15c75131895dd1bdc679684d3a6a676b9026a58bf9f7fa17dfb33cfc16b96224f951775296dcb6cccad74bb09f4
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.0
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-15 00:00:00.000000000 Z
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.6
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