twitter-text 1.14.6 → 1.14.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05aafa3c58e37a20d92b2498e579bf79dba39286
4
- data.tar.gz: de0f06151df1cd27d6d87c19fe1f21a9025c5e1d
3
+ metadata.gz: f1dd5437a51b3767c45499c3d5d4b438bd1b7ba1
4
+ data.tar.gz: 0c7bcee79f7fc1e955cad42ddba8c9318c885ae5
5
5
  SHA512:
6
- metadata.gz: 627a7f0d7cf8294ecc22468e97cc5648aa01fa818514ab519a3a22ea2b4a2895e2d3f13f8ce01e38b104a8696cb9a6b817877da718ce9232079a781a20950c55
7
- data.tar.gz: 46ccee3042ede848366450257d74ba617f9c7a593afd694350421fd0dc3b4013b8313af4a66ce39b52c908c3dda6c867c253a111b5dc564345a781b067a373b6
6
+ metadata.gz: 6a9ad3b3b822e358070f6722e4d88a362c05016584739d290beafe2e8763aaf202e9198a16855b140acefd2b87f9b1d29990254422750353a786437198f5f8c8
7
+ data.tar.gz: 4d1ea6e3fd1a158bfcaaad04454723145bdb66c991a51e499015aaaa135fb9792120391032a7ee269cf1d37a71d4cddd9c03511a78026c66830c007c286372f7
@@ -393,6 +393,7 @@ generic:
393
393
  - "بازار"
394
394
  - "العليان"
395
395
  - "ارامكو"
396
+ - "اتصالات"
396
397
  - "ابوظبي"
397
398
  - "קום"
398
399
  - "сайт"
@@ -646,6 +647,7 @@ generic:
646
647
  - security
647
648
  - secure
648
649
  - seat
650
+ - search
649
651
  - scot
650
652
  - scor
651
653
  - scjohnson
@@ -771,6 +773,7 @@ generic:
771
773
  - photo
772
774
  - phone
773
775
  - philips
776
+ - phd
774
777
  - pharmacy
775
778
  - pfizer
776
779
  - pet
@@ -890,6 +893,7 @@ generic:
890
893
  - microsoft
891
894
  - miami
892
895
  - metlife
896
+ - merckmsd
893
897
  - meo
894
898
  - menu
895
899
  - men
@@ -910,6 +914,7 @@ generic:
910
914
  - markets
911
915
  - marketing
912
916
  - market
917
+ - map
913
918
  - mango
914
919
  - management
915
920
  - man
@@ -1103,6 +1108,7 @@ generic:
1103
1108
  - gucci
1104
1109
  - guardian
1105
1110
  - group
1111
+ - grocery
1106
1112
  - gripe
1107
1113
  - green
1108
1114
  - gratis
@@ -142,7 +142,7 @@ module Twitter
142
142
  HASHTAG_LETTERS_NUMERALS_SET = "[#{HASHTAG_LETTERS_NUMERALS}]"
143
143
  HASHTAG_LETTERS_SET = "[#{HASHTAG_LETTERS_AND_MARKS}]"
144
144
 
145
- HASHTAG = /(\A|[^&#{HASHTAG_LETTERS_NUMERALS}])(#|#)(?!\ufe0f|\u20e3)(#{HASHTAG_LETTERS_NUMERALS_SET}*#{HASHTAG_LETTERS_SET}#{HASHTAG_LETTERS_NUMERALS_SET}*)/io
145
+ HASHTAG = /(\A|\ufe0e|\ufe0f|[^&#{HASHTAG_LETTERS_NUMERALS}])(#|#)(?!\ufe0f|\u20e3)(#{HASHTAG_LETTERS_NUMERALS_SET}*#{HASHTAG_LETTERS_SET}#{HASHTAG_LETTERS_NUMERALS_SET}*)/io
146
146
 
147
147
  REGEXEN[:valid_hashtag] = /#{HASHTAG}/io
148
148
  # Used in Extractor for final filtering
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "twitter-text"
5
- s.version = "1.14.6"
5
+ s.version = "1.14.7"
6
6
  s.authors = ["Matt Sanford", "Patrick Ewing", "Ben Cherry", "Britt Selvitelle",
7
7
  "Raffi Krikorian", "J.P. Cummins", "Yoshimasa Niwa", "Keita Fujii", "James Koval"]
8
8
  s.email = ["matt@twitter.com", "patrick.henry.ewing@gmail.com", "bcherry@gmail.com", "bs@brittspace.com",
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.has_rdoc = true
16
16
  s.summary = "Twitter text handling library"
17
17
 
18
+ s.add_development_dependency "test-unit"
18
19
  s.add_development_dependency "multi_json", "~> 1.3"
19
20
  s.add_development_dependency "nokogiri", "~> 1.5.10"
20
21
  s.add_development_dependency "rake", "~> 11.1" # 12 removes method named `last_comment`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-text
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.6
4
+ version: 1.14.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Sanford
@@ -16,8 +16,22 @@ authors:
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
- date: 2017-06-16 00:00:00.000000000 Z
19
+ date: 2017-07-03 00:00:00.000000000 Z
20
20
  dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: test-unit
23
+ requirement: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ type: :development
29
+ prerelease: false
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
21
35
  - !ruby/object:Gem::Dependency
22
36
  name: multi_json
23
37
  requirement: !ruby/object:Gem::Requirement
@@ -184,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
198
  version: '0'
185
199
  requirements: []
186
200
  rubyforge_project:
187
- rubygems_version: 2.4.5
201
+ rubygems_version: 2.4.5.1
188
202
  signing_key:
189
203
  specification_version: 4
190
204
  summary: Twitter text handling library