twitter-text 1.3.3 → 1.3.4
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/regex.rb +1 -1
- data/twitter-text.gemspec +1 -1
- metadata +4 -4
data/lib/regex.rb
CHANGED
|
@@ -60,7 +60,7 @@ module Twitter
|
|
|
60
60
|
REGEXEN[:valid_domain_name] = /(?:[^[:punct:]\s](?:[-]|[^[:punct:]\s])*)?[^[:punct:]\s]/
|
|
61
61
|
REGEXEN[:valid_domain] = /#{REGEXEN[:valid_subdomain]}*#{REGEXEN[:valid_domain_name]}\.[a-z]{2,}(?::[0-9]+)?/i
|
|
62
62
|
|
|
63
|
-
REGEXEN[:valid_general_url_path_chars] = /[a-z0-9!\*';:=\+\,\$\/%#\[\]\-_
|
|
63
|
+
REGEXEN[:valid_general_url_path_chars] = /[a-z0-9!\*';:=\+\,\$\/%#\[\]\-_~|\.]/i
|
|
64
64
|
# Allow URL paths to contain balanced parens
|
|
65
65
|
# 1. Used in Wikipedia URLs like /Primer_(film)
|
|
66
66
|
# 2. Used in IIS sessions like /S(dfd346)/
|
data/twitter-text.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
spec = Gem::Specification.new do |s|
|
|
2
2
|
s.name = "twitter-text"
|
|
3
|
-
s.version = "1.3.
|
|
3
|
+
s.version = "1.3.4"
|
|
4
4
|
s.authors = ["Matt Sanford", "Patrick Ewing", "Ben Cherry", "Britt Selvitelle", "Raffi Krikorian"]
|
|
5
5
|
s.email = ["matt@twitter.com", "patrick.henry.ewing@gmail.com", "bcherry@gmail.com", "bs@brittspace.com", "raffi@twitter.com"]
|
|
6
6
|
s.homepage = "http://twitter.com"
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: twitter-text
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 1.3.
|
|
9
|
+
- 4
|
|
10
|
+
version: 1.3.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Matt Sanford
|
|
@@ -19,7 +19,7 @@ autorequire:
|
|
|
19
19
|
bindir: bin
|
|
20
20
|
cert_chain: []
|
|
21
21
|
|
|
22
|
-
date: 2011-04-
|
|
22
|
+
date: 2011-04-21 00:00:00 -07:00
|
|
23
23
|
default_executable:
|
|
24
24
|
dependencies:
|
|
25
25
|
- !ruby/object:Gem::Dependency
|