lexical_units 0.0.4 → 0.0.6
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.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGELOG.md +8 -0
- data/lib/lexical_units/sentences.rb +1 -1
- data/lib/lexical_units/string.rb +1 -1
- data/lib/lexical_units/syllables.rb +1 -1
- data/lib/lexical_units/version.rb +1 -1
- data/lib/lexical_units/words.rb +2 -2
- data/spec/lexical_units/sentences_spec.rb +1 -1
- data/spec/lexical_units/string_spec.rb +1 -1
- data/spec/lexical_units/syllables_spec.rb +1 -1
- data/spec/lexical_units/words_spec.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39ea38ff431ac8504a190d5568e7b006343ee6a5
|
4
|
+
data.tar.gz: d95f0fcc0db377aa3e4cc265d73142dd77ca8e04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae037e456ef84ebe508ea2ed85781c0ffdb48c967f858cab675ba3437a44effca7805c54db3c267fe28c391fffc9ecbe2523bf8de94de54aae5bcc598cbe885b
|
7
|
+
data.tar.gz: a694d6ead66f92d9816a9822060452c88324537becf62174993a34d8d37ec79853a23f765222ce0dead985d1ca5fa0558eecbcfd03ef2b8c6c7955a487f87351
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/lexical_units/string.rb
CHANGED
data/lib/lexical_units/words.rb
CHANGED
@@ -32,10 +32,11 @@ describe LexicalUnits do
|
|
32
32
|
subject.words(text).should eq(array)
|
33
33
|
end
|
34
34
|
|
35
|
-
it "splits text with hyphen into words" do
|
35
|
+
it "no splits text with hyphen into words" do
|
36
36
|
text = "Lorem ipsum dolor-sit amet"
|
37
|
+
array = %w(Lorem ipsum dolor-sit amet)
|
37
38
|
|
38
|
-
subject.words(text).should eq(
|
39
|
+
subject.words(text).should eq(array)
|
39
40
|
end
|
40
41
|
|
41
42
|
it "splits text with slash into words" do
|
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.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aleksander Malaszkiewicz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|