keyword_matcher 0.2.0 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffb609c1d10d85b83deae65d7830d76631c63ce5
4
- data.tar.gz: 4fb5f46cfbf5dbcbe51ec98cb5cd7010c745420e
3
+ metadata.gz: 2e3da688ca1da1af136c8f60257b63beb2f6594e
4
+ data.tar.gz: 773ce19c2fe45a9aa0de579250623bfdc8f3a047
5
5
  SHA512:
6
- metadata.gz: 1fd3f0e9988e2101f42d3070afbbc8e5f8b32a614c338560d7dc4764fed4c5f53b15af932c36122e4c1a3b6f520b303dcf0003f0bcfedddfdbb049e663c1e167
7
- data.tar.gz: 68d22e885d57b054f9d963e42d00195309cb4bc3d9755d0ce978e15099bbc56dfc376a3557d94115ef2d5f4c473e8cee6b8397d1e9ad879d57113a06d0c0cf4a
6
+ metadata.gz: 7c58aeafbbf1f48a86b93539e1757c1d2fe843b2aa0774ebe0fed9d25c1df78cecbba5e6e05fc396b462f495b86cf5d75e2beeda8c05d6e68a0d2f299766fc4c
7
+ data.tar.gz: a4b0500dc00674943a2190006651ff7431c79b735a9c0bc9cb59ec4852524da58eb4e1ef3d6fa4ccd8baccf4473e2c7ba15238094b011ca489d5832033643d70
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ Gemfile.lock
@@ -25,7 +25,7 @@ module KeywordMatcher
25
25
  end
26
26
 
27
27
  def not_groups
28
- return unless title.downcase.match?(/\r?\n#{OPERATOR_NOT}\r?\n/)
28
+ return [] unless title.downcase.match?(/\r?\n#{OPERATOR_NOT}\r?\n/)
29
29
  title.downcase.match(/\r?\n#{OPERATOR_NOT}.*/m).to_s.split(OPERATOR_NOT).map do |v|
30
30
  v.split("\n").reject(&:blank?).map(&:split)
31
31
  end.reject(&:blank?)
@@ -1,3 +1,3 @@
1
1
  module KeywordMatcher
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.3.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keyword_matcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Novikov
@@ -108,7 +108,6 @@ files:
108
108
  - ".travis.yml"
109
109
  - CODE_OF_CONDUCT.md
110
110
  - Gemfile
111
- - Gemfile.lock
112
111
  - LICENSE.txt
113
112
  - README.md
114
113
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,67 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- keyword_matcher (0.1.0)
5
- activesupport (~> 5.1)
6
- damerau-levenshtein (~> 1.3)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activesupport (5.1.4)
12
- concurrent-ruby (~> 1.0, >= 1.0.2)
13
- i18n (~> 0.7)
14
- minitest (~> 5.1)
15
- tzinfo (~> 1.1)
16
- ast (2.3.0)
17
- concurrent-ruby (1.0.5)
18
- damerau-levenshtein (1.3.0)
19
- diff-lcs (1.3)
20
- i18n (0.9.1)
21
- concurrent-ruby (~> 1.0)
22
- minitest (5.10.3)
23
- parallel (1.12.0)
24
- parser (2.4.0.2)
25
- ast (~> 2.3)
26
- powerpack (0.1.1)
27
- rainbow (2.2.2)
28
- rake
29
- rake (10.4.2)
30
- rspec (3.7.0)
31
- rspec-core (~> 3.7.0)
32
- rspec-expectations (~> 3.7.0)
33
- rspec-mocks (~> 3.7.0)
34
- rspec-core (3.7.0)
35
- rspec-support (~> 3.7.0)
36
- rspec-expectations (3.7.0)
37
- diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.7.0)
39
- rspec-mocks (3.7.0)
40
- diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.7.0)
42
- rspec-support (3.7.0)
43
- rubocop (0.49.1)
44
- parallel (~> 1.10)
45
- parser (>= 2.3.3.1, < 3.0)
46
- powerpack (~> 0.1)
47
- rainbow (>= 1.99.1, < 3.0)
48
- ruby-progressbar (~> 1.7)
49
- unicode-display_width (~> 1.0, >= 1.0.1)
50
- ruby-progressbar (1.9.0)
51
- thread_safe (0.3.6)
52
- tzinfo (1.2.4)
53
- thread_safe (~> 0.1)
54
- unicode-display_width (1.3.0)
55
-
56
- PLATFORMS
57
- ruby
58
-
59
- DEPENDENCIES
60
- bundler (~> 1.16)
61
- keyword_matcher!
62
- rake (~> 10.0)
63
- rspec (~> 3.0)
64
- rubocop (~> 0.49.0)
65
-
66
- BUNDLED WITH
67
- 1.16.0