keyword_matcher 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +5 -7
- data/keyword_matcher.gemspec +2 -1
- data/lib/keyword_matcher/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffb609c1d10d85b83deae65d7830d76631c63ce5
|
4
|
+
data.tar.gz: 4fb5f46cfbf5dbcbe51ec98cb5cd7010c745420e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fd3f0e9988e2101f42d3070afbbc8e5f8b32a614c338560d7dc4764fed4c5f53b15af932c36122e4c1a3b6f520b303dcf0003f0bcfedddfdbb049e663c1e167
|
7
|
+
data.tar.gz: 68d22e885d57b054f9d963e42d00195309cb4bc3d9755d0ce978e15099bbc56dfc376a3557d94115ef2d5f4c473e8cee6b8397d1e9ad879d57113a06d0c0cf4a
|
data/Gemfile.lock
CHANGED
@@ -40,11 +40,11 @@ GEM
|
|
40
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
41
|
rspec-support (~> 3.7.0)
|
42
42
|
rspec-support (3.7.0)
|
43
|
-
rubocop (0.
|
43
|
+
rubocop (0.49.1)
|
44
44
|
parallel (~> 1.10)
|
45
45
|
parser (>= 2.3.3.1, < 3.0)
|
46
46
|
powerpack (~> 0.1)
|
47
|
-
rainbow (>=
|
47
|
+
rainbow (>= 1.99.1, < 3.0)
|
48
48
|
ruby-progressbar (~> 1.7)
|
49
49
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
50
50
|
ruby-progressbar (1.9.0)
|
@@ -61,7 +61,7 @@ DEPENDENCIES
|
|
61
61
|
keyword_matcher!
|
62
62
|
rake (~> 10.0)
|
63
63
|
rspec (~> 3.0)
|
64
|
-
rubocop (~> 0.
|
64
|
+
rubocop (~> 0.49.0)
|
65
65
|
|
66
66
|
BUNDLED WITH
|
67
67
|
1.16.0
|
data/README.md
CHANGED
@@ -1,9 +1,5 @@
|
|
1
1
|
# KeywordMatcher
|
2
2
|
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/keyword_matcher`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
3
|
## Installation
|
8
4
|
|
9
5
|
Add this line to your application's Gemfile:
|
@@ -22,7 +18,9 @@ Or install it yourself as:
|
|
22
18
|
|
23
19
|
## Usage
|
24
20
|
|
25
|
-
|
21
|
+
```ruby
|
22
|
+
KeywordMatcher.matched?("молоко мол\n\nрыба\nкошка кош\n\n", 'молоко рыба кошка')
|
23
|
+
```
|
26
24
|
|
27
25
|
## Development
|
28
26
|
|
@@ -32,7 +30,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
30
|
|
33
31
|
## Contributing
|
34
32
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/groony/keyword_matcher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
34
|
|
37
35
|
## License
|
38
36
|
|
@@ -40,4 +38,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
38
|
|
41
39
|
## Code of Conduct
|
42
40
|
|
43
|
-
Everyone interacting in the KeywordMatcher project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
41
|
+
Everyone interacting in the KeywordMatcher project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/groony/keyword_matcher/blob/master/CODE_OF_CONDUCT.md).
|
data/keyword_matcher.gemspec
CHANGED
@@ -19,11 +19,12 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.bindir = 'exe'
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ['lib']
|
22
|
+
spec.required_ruby_version = '>= 2.4.0'
|
22
23
|
|
23
24
|
spec.add_runtime_dependency 'activesupport', '~> 5.1'
|
24
25
|
spec.add_runtime_dependency 'damerau-levenshtein', '~> 1.3'
|
25
26
|
spec.add_development_dependency 'bundler', '~> 1.16'
|
26
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
27
28
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
28
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
29
|
+
spec.add_development_dependency 'rubocop', '~> 0.49.0'
|
29
30
|
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.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Novikov
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 0.49.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 0.49.0
|
97
97
|
description:
|
98
98
|
email:
|
99
99
|
- ivan.novikov@saltpepper.ru
|
@@ -132,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
133
133
|
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
version:
|
135
|
+
version: 2.4.0
|
136
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
138
|
- - ">="
|