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.
Files changed (2) hide show
  1. checksums.yaml +4 -4
  2. metadata +9 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22f322800ef090af57108d8457deab463d659859
4
- data.tar.gz: 1ea9a875a83fbc787324a7b26b895f2ce6cfe430
3
+ metadata.gz: 640c257c5861946c11d67f9b541c8ada89acc797
4
+ data.tar.gz: fe4dbc3664c5e306b6aa80ac2cabcd246dfd15cc
5
5
  SHA512:
6
- metadata.gz: 43df3f56b7f878d783849416aec4db316ba5ac0f67b575835c1b69d95d1832c45b03a11af3b40238454fa44c569e0a07f5c5067b1740307559f16027f3b1ec80
7
- data.tar.gz: de634a8ea8a5313d31781052504526d6851dc3e1183780b1e311bffa56b3da1039c3884812399de0f441a3a3a7d67f37f510a1771dea4fe8f69cb627b1a7f64e
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.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 has done in training.
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: []