blackstack_commons 1.1.48 → 1.1.49
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 +2 -1
- 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: 45fcea23ea13ab5fc9627710b6a897a4a968c4a0
|
4
|
+
data.tar.gz: 7f0247789b07cbf9b6219b9025449b6d954ffd16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e95048b8d7be59bc9505db7bf240ff315363fbe70ecec9d785c486f77c1b2bc8a574f92ec2cdb9954018dd9dbdb0e873796ef00ecd497e890f19b2acb615c218
|
7
|
+
data.tar.gz: 2984efd37008697ec8c1d25054fb3e3df000b52ab9b60521a5b686faa248da5118aa480bdc1d1a4e5f55be64a3d77fd7741466a780f827a465a9f50e4edc6ab8
|
data/lib/functions.rb
CHANGED
@@ -155,7 +155,8 @@ 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\.\-]+]*[\da-z])(\/)?(\?)?/i
|
158
|
+
MATCH_URL = /(https?:\/\/)?([\da-z\.-]+)([\.\:])([\da-z]{2,6})([\/[\da-z\.\-]+]*[\da-z])(\/)?(\?)?/i
|
159
|
+
MATCH_LINKEDIN_COMPANY_URL = /(https?:\/\/)?(www\\.)?linkedin\.com\/company\//
|
159
160
|
MATCH_FIXNUM = /[0-9]+/
|
160
161
|
MATCH_CONTENT_SPINNING = /{[^}]+}/
|
161
162
|
MATCH_SPINNED_TEXT = /code me/ # TODO: define this regex for the issue #1226
|