rinku 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/rinku/autolink.c +1 -1
- data/lib/rinku.rb +1 -1
- data/rinku.gemspec +1 -1
- metadata +4 -4
data/ext/rinku/autolink.c
CHANGED
@@ -137,7 +137,7 @@ check_domain(char *data, size_t size)
|
|
137
137
|
|
138
138
|
for (i = 1; i < size - 1; ++i) {
|
139
139
|
if (data[i] == '.') np++;
|
140
|
-
else if (!isalnum(data[i])) break;
|
140
|
+
else if (!isalnum(data[i]) && data[i] != '-') break;
|
141
141
|
}
|
142
142
|
|
143
143
|
if (!isalnum(data[i - 1]) || np == 0)
|
data/lib/rinku.rb
CHANGED
data/rinku.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rinku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 2
|
10
|
+
version: 1.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Vicent Mart\xC3\xAD"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-19 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|