agenda 0.1.3 → 0.1.4
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.
- data/config/regexp.yaml +1 -1
- data/features/word_count.feature +6 -0
- data/lib/agenda/version.rb +1 -1
- metadata +3 -3
data/config/regexp.yaml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
discarded: >
|
|
2
|
-
\\\. \/(),{}*'\"¿?¡!“”\s\[\]
|
|
2
|
+
\\\. \/(),{}*'\"¿?¡!“”\s\[\]:;
|
data/features/word_count.feature
CHANGED
|
@@ -51,6 +51,12 @@ Feature: Count words from a text
|
|
|
51
51
|
Then I should get 1 in "special"
|
|
52
52
|
And I should get 1 in "quotes"
|
|
53
53
|
|
|
54
|
+
Scenario: Discarging colons and semicolons
|
|
55
|
+
Given the text "My: colon;"
|
|
56
|
+
When I start word counting
|
|
57
|
+
Then I should get 1 in "my"
|
|
58
|
+
And I should get 1 in "colon"
|
|
59
|
+
|
|
54
60
|
Scenario: Everything downcase
|
|
55
61
|
Given the text "To be to"
|
|
56
62
|
When I start word counting
|
data/lib/agenda/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: agenda
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -14,7 +14,7 @@ default_executable:
|
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|
|
17
|
-
requirement: &
|
|
17
|
+
requirement: &22956528 !ruby/object:Gem::Requirement
|
|
18
18
|
none: false
|
|
19
19
|
requirements:
|
|
20
20
|
- - ! '>='
|
|
@@ -22,7 +22,7 @@ dependencies:
|
|
|
22
22
|
version: '0'
|
|
23
23
|
type: :development
|
|
24
24
|
prerelease: false
|
|
25
|
-
version_requirements: *
|
|
25
|
+
version_requirements: *22956528
|
|
26
26
|
description: Text analysis package oriented to deconstruct discourse
|
|
27
27
|
email:
|
|
28
28
|
- xavier.via.canel@gmail.com
|