ruen_speller 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 640c257c5861946c11d67f9b541c8ada89acc797
|
4
|
+
data.tar.gz: fe4dbc3664c5e306b6aa80ac2cabcd246dfd15cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aade0b61d425e4cbff888da36d6b8f090cbf44b7c48984dfa0ff87589705798e2481722cd211474289c27ec4de53cfab85c8ee35c483c99876bf8d490f6e34a6
|
7
|
+
data.tar.gz: f37c722c250026fdc21ff9a142f113b129c8e3a590940e3ccecb32ee29dd7b2294a0b0d1ced269ee8a7c2f8b87f1f8ea05470cc4d84e83e48147b678da924775
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruen_speller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timo Moss
|
@@ -25,8 +25,15 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.2'
|
27
27
|
description: |
|
28
|
-
This simple gem I
|
28
|
+
This simple gem I've done in training.
|
29
29
|
It checking the spelling English or Russian text wiht tech.yandex.ru/speller site.
|
30
|
+
examples:
|
31
|
+
puts RuenSpeller.correct?("love")#=> true
|
32
|
+
puts RuenSpeller.correct?("leve")#=> ["lee", "live", "love", "lave", "level"]
|
33
|
+
RuenSpeller.correct?("leve").request_value #=> 'leve'
|
34
|
+
RuenSpeller.correct?("leve").checked_values #=> ["lee", "live", "love", "lave", "level"]
|
35
|
+
The default method sends GET-request. If you need a POST-request, just drop the last argument - true.
|
36
|
+
Example: RuenSpeller.correct?("Love", true)
|
30
37
|
email: javatimomoss@gmail.com
|
31
38
|
executables: []
|
32
39
|
extensions: []
|