ruby_extensions 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/m_string.rb +1 -1
- data/lib/tasks/rubyforge_config.yml +1 -1
- data/ruby_extensions-1.0.12.gem +0 -0
- metadata +3 -15
data/lib/m_string.rb
CHANGED
@@ -148,7 +148,7 @@ class String
|
|
148
148
|
def breakify(every = 30)
|
149
149
|
every = 1 if every < 1
|
150
150
|
text = self
|
151
|
-
textile_regex =
|
151
|
+
textile_regex = /([^\"]+\"):([^:]*:[\/\/]{0,1}[^ ]*)/
|
152
152
|
long_regex = /\S{#{every},}/
|
153
153
|
brokentxt = text.gsub(long_regex) do |longword|
|
154
154
|
if longword =~ textile_regex #if the longword is a textile link...ignore and recheck for the link text only
|
File without changes
|
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.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markbates
|
@@ -19,23 +19,10 @@ autorequire:
|
|
19
19
|
- m_dir
|
20
20
|
- m_class
|
21
21
|
- m_array
|
22
|
-
- ruby_extensions
|
23
|
-
- method_not_implemented
|
24
|
-
- m_symbol
|
25
|
-
- m_string
|
26
|
-
- m_object
|
27
|
-
- m_math
|
28
|
-
- m_logger
|
29
|
-
- m_kernel
|
30
|
-
- m_hash
|
31
|
-
- m_float
|
32
|
-
- m_dir
|
33
|
-
- m_class
|
34
|
-
- m_array
|
35
22
|
bindir: bin
|
36
23
|
cert_chain: []
|
37
24
|
|
38
|
-
date: 2008-
|
25
|
+
date: 2008-03-27 00:00:00 -04:00
|
39
26
|
default_executable:
|
40
27
|
dependencies: []
|
41
28
|
|
@@ -63,6 +50,7 @@ files:
|
|
63
50
|
- lib/method_not_implemented.rb
|
64
51
|
- lib/ruby_extensions.rb
|
65
52
|
- lib/tasks/rubyforge_config.yml
|
53
|
+
- ruby_extensions-1.0.12.gem
|
66
54
|
has_rdoc: false
|
67
55
|
homepage:
|
68
56
|
post_install_message:
|