lexical_units 0.1.0 → 0.1.1

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: 0ace74edd4ee847a562b6be2d9c995e47ae98f11
4
- data.tar.gz: 2263aa046d3ea8a247f5fac9352b43a000c35b35
3
+ metadata.gz: f4f8d55f995e177ba41ee1ca941575ffc87adbf7
4
+ data.tar.gz: b6c94216afaa175a5a062f8f3e7bd42802a704c5
5
5
  SHA512:
6
- metadata.gz: 5a48795c224d60c44641462f21eb23ecccca52f85c05365c46bd382914167fb7039267702b2d82a4827d58fa19bb7042e4d4f94b3332041dc01e3d49d92bfb14
7
- data.tar.gz: 31f3ece39c3062d320822a70172088c3a5e72cf223a0b615ba8cc16f1ddd3967fec603366e81681ca7d551ee226834f305a7fb21cf2ad34eb7705591ff2b8421
6
+ metadata.gz: 6c8393e7782bbe0b484cd6a46e17a5e1e919975c8072783d1877ea85cc3ef93e0aca2973b4c4ee971343111c45f7cb0b2321876a9a6cc423471b089f0e8a4c21
7
+ data.tar.gz: 65a89ded8f4e592d5b6078d1c7c0e84cdaa8c894ca5af55bf27774fb0125517b48880bdb1faa6cd13e9c645c88f7b0a2f3b466644ecad965f0cab6107ef89557
@@ -1,4 +1,4 @@
1
1
  # Gem version
2
2
  module LexicalUnits
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
@@ -17,7 +17,7 @@ module LexicalUnits
17
17
  [
18
18
  '\,', '\:', '\;', '\.', '\?', '\!', '\/',
19
19
  '\(', '\)', '\[', '\]', '\>', '\<', '\{', '\}',
20
- '\|', '\~', "\¿", "\¡", '\=', '\"', "\»", "\«", '\@', '\#', '\+'
20
+ '\|', '\~', "\¿", "\¡", '\=', '\"', "\»", "\«", '\@', '\#', '\+', '–'
21
21
  ].join
22
22
  end
23
23
  end
@@ -123,5 +123,11 @@ describe LexicalUnits do
123
123
 
124
124
  expect(subject.words(text)).to eq(@array)
125
125
  end
126
+
127
+ it 'splite text with minus (–) into words' do
128
+ text = %Q(Lorem ipsum–dolor sit amet)
129
+
130
+ expect(subject.words(text)).to eq(@array)
131
+ end
126
132
  end
127
133
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lexical_units
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksander Malaszkiewicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
11
+ date: 2014-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler