ruby_extensions 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/m_string.rb CHANGED
@@ -156,6 +156,7 @@ class String
156
156
  link_text = textile_regex.match(longword)[1]
157
157
  longword = link_text
158
158
  if longword =~ long_regex #link text is long...allow break
159
+ textile_link = '"' + textile_link unless textile_link[0].to_i == 34 #adds the double quote back if missing from above regex
159
160
  textile_link.scan(/.{1,#{every}}/).join("<wbr/>")
160
161
  else
161
162
  textile_link #the url is what triggered the match...so leave it alone
@@ -2,4 +2,4 @@
2
2
  gem_name: ruby_extensions
3
3
  package: ruby_extensions
4
4
  project: magrathea
5
- version: 1.0.12
5
+ version: 1.0.13
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -22,7 +22,7 @@ autorequire:
22
22
  bindir: bin
23
23
  cert_chain: []
24
24
 
25
- date: 2008-03-27 00:00:00 -04:00
25
+ date: 2008-05-09 00:00:00 -04:00
26
26
  default_executable:
27
27
  dependencies: []
28
28
 
@@ -50,7 +50,7 @@ files:
50
50
  - lib/method_not_implemented.rb
51
51
  - lib/ruby_extensions.rb
52
52
  - lib/tasks/rubyforge_config.yml
53
- - ruby_extensions-1.0.12.gem
53
+ - ruby_extensions-1.0.13.gem
54
54
  has_rdoc: false
55
55
  homepage:
56
56
  post_install_message: