yspell 0.1.0 → 0.1.1
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 +8 -8
- data/.gitignore +2 -14
- data/README.md +4 -0
- data/lib/y_spell/cli/application.rb +1 -1
- data/lib/y_spell/version.rb +1 -1
- data/yspell.gemspec +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTRlMDFhMzFmYThkYTI4OGY3ZjFkNThmOGQxYmM3ZmVlZWJhNTRiMQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZTAwYzY1ZDVjZTdkNWJhNWQ0MTY5MTIyY2M0YWRjN2NiNzFkYzIzMg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Yzg4MjQ3MjU4NTkzZWYzYmYxMjI4ZWVkNDlhNzI5MDcyOGNlYjRiNTNhZDkx
|
|
10
|
+
OWVjNzQzMjJjNGM0MTgxZGYxYzI1NjQzYWM5YTA4NmE1ZTEyZDY0YmU0ZWFl
|
|
11
|
+
NmE0NTAxNDQ2ZWIxMWViMGU5YmI3NmI5OTA5NzA2OWMzMjM3ZjE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Y2YxMmUwMWU3ZDU1NmYxYzcwOWRkMDNhNjRkYzMwMWU0YTBmMTY5Zjk5YjIy
|
|
14
|
+
ZWFiZGM3MDZkNGFlZDFmMjhiYmVhNjA1ZTcxZjUzMWUyNTRjZTY5NzkxZTk2
|
|
15
|
+
OGZmYzkzZDM0NjlmNjJmNjM0ZTEzMzZmMDY5ZTE2ZTdhMDNhMDQ=
|
data/.gitignore
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
*.gem
|
|
2
|
-
*.rbc
|
|
3
2
|
.bundle
|
|
4
3
|
.config
|
|
5
|
-
.yardoc
|
|
6
4
|
Gemfile.lock
|
|
7
|
-
InstalledFiles
|
|
8
|
-
_yardoc
|
|
9
|
-
coverage
|
|
10
|
-
doc/
|
|
11
|
-
lib/bundler/man
|
|
12
|
-
pkg
|
|
13
|
-
rdoc
|
|
14
|
-
spec/reports
|
|
15
|
-
test/tmp
|
|
16
|
-
test/version_tmp
|
|
17
5
|
tmp
|
|
18
6
|
.idea
|
|
19
|
-
|
|
20
|
-
|
|
7
|
+
*.iml
|
|
8
|
+
*.log
|
data/README.md
CHANGED
|
@@ -9,6 +9,10 @@ Spell checker library and command-line tool. It uses Yandex Speller API (http://
|
|
|
9
9
|
|
|
10
10
|
Add this line to your application's Gemfile:
|
|
11
11
|
|
|
12
|
+
gem 'yspell'
|
|
13
|
+
|
|
14
|
+
If you want use the latest code from github
|
|
15
|
+
|
|
12
16
|
gem 'yspell', 'git' => 'github.com:asabirov/yspell.git'
|
|
13
17
|
|
|
14
18
|
And then execute:
|
|
@@ -45,7 +45,7 @@ module YSpell
|
|
|
45
45
|
def parse_options(argv)
|
|
46
46
|
options = {}
|
|
47
47
|
opt_parser = OptionParser.new do |opt|
|
|
48
|
-
opt.banner = 'Usage:
|
|
48
|
+
opt.banner = 'Usage: yspell TEXT [OPTIONS]'
|
|
49
49
|
opt.separator 'Options'
|
|
50
50
|
options = OpenStruct.new
|
|
51
51
|
options.suggestions = :inline
|
data/lib/y_spell/version.rb
CHANGED
data/yspell.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.email = ["sladecj@gmail.com"]
|
|
11
11
|
spec.summary = "Command line spell checker"
|
|
12
12
|
spec.description = "It uses yandex speller api and supported languages ru, en and uk"
|
|
13
|
-
spec.homepage = "https://
|
|
13
|
+
spec.homepage = "https://artursabirov.ru"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yspell
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- a.sabirov
|
|
@@ -125,8 +125,7 @@ files:
|
|
|
125
125
|
- spec/spell_checker/spell_error_spec.rb
|
|
126
126
|
- spec/support/web_helpers.rb
|
|
127
127
|
- yspell.gemspec
|
|
128
|
-
|
|
129
|
-
homepage: https://github.com/asabirov/yspell
|
|
128
|
+
homepage: https://artursabirov.ru
|
|
130
129
|
licenses:
|
|
131
130
|
- MIT
|
|
132
131
|
metadata: {}
|