blackstack_commons 1.1.47 → 1.1.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/functions.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a285f7f7c9b60e164dea53722f55772751601015
|
4
|
+
data.tar.gz: f7af18582016a68728fe62946f16179481161b57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 464f9080de6697d80390842497f04ee735443d5cd6e5eb32f8914257fc43b37221b6affc437f47dc56554b87bcad36397e67ed7feed11754fa3aee33e0138763
|
7
|
+
data.tar.gz: dd88350e4ed8011ef87071b5701d275b84448b791d10a4ce0af43ee5f96a620419216e3db81c3d5e5417f436c2e40c25c50fe976bddfba78d9c9c2a5b534196e
|
data/lib/functions.rb
CHANGED
@@ -155,8 +155,7 @@ module BlackStack
|
|
155
155
|
MATCH_DOMAIN = /(?:[A-Z0-9a-z\-]+\.)+[A-Za-z]{2,10}/
|
156
156
|
MATCH_DATE_STANDARD = /\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01])/
|
157
157
|
MATCH_PHONE = /(?:\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}/
|
158
|
-
MATCH_URL = /(https?:\/\/)?([\da-z\.-]+)([\.\:])([\da-z]{2,6})([\/[\da-z\.\-]+]*)(\/)?(\?)?/i
|
159
|
-
MATCH_LINKEDIN_COMPANY_URL = /(https?:\/\/)?(www\\.)?linkedin\.com\/company\//
|
158
|
+
MATCH_URL = /(https?:\/\/)?([\da-z\.-]+)([\.\:])([\da-z]{2,6})([\/[\da-z\.\-]+]*[\da-z])(\/)?(\?)?/i MATCH_LINKEDIN_COMPANY_URL = /(https?:\/\/)?(www\\.)?linkedin\.com\/company\//
|
160
159
|
MATCH_FIXNUM = /[0-9]+/
|
161
160
|
MATCH_CONTENT_SPINNING = /{[^}]+}/
|
162
161
|
MATCH_SPINNED_TEXT = /code me/ # TODO: define this regex for the issue #1226
|