gherkin_language 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/Rakefile +1 -1
- data/gherkin_language.gemspec +2 -2
- data/lib/gherkin_language/language_tool_process.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2a10a2e3842597fe671adb9393abe8ae9ba24d7
|
4
|
+
data.tar.gz: 8a2f65ee50049717e98d2142f1055da50abc6cdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8381dbba37747c2755471da0383d4d21c465a7914848d55ee9ba4ffd8000e13e2e1634d86abb392cbc7b2a3662c6820a3c294904bbffbb33d87c2336e82a1dd7
|
7
|
+
data.tar.gz: 43f189ff2f436952d6ebc2bd8d2f9d4b59f6324d0081307f4f51c4e339d422eb8a0b07d7779aad5c065c45b974c517a46dae7d0307c34b485cd91ec659ef9c66
|
data/README.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
[![Latest Tag](https://img.shields.io/github/tag/funkwerk/gherkin_language.svg)](https://github.com/funkwerk/gherkin_language)
|
5
5
|
[![Docker Build](https://img.shields.io/docker/automated/gherkin/language.svg)](https://hub.docker.com/r/gherkin/language/)
|
6
6
|
[![Docker pulls](https://img.shields.io/docker/pulls/gherkin/language.svg)](https://hub.docker.com/r/gherkin/language/)
|
7
|
+
[![Downloads](https://img.shields.io/gem/dt/gherkin_language.svg)](https://rubygems.org/gems/gherkin_language)
|
7
8
|
|
8
9
|
This tool analyzes the language of gherkin files and report language errors.
|
9
10
|
Currently just English is supported.
|
@@ -48,3 +49,11 @@ docker run -t -v $(pwd):/user -w /user gherkin/language-ngram test.feature
|
|
48
49
|
|
49
50
|
It happens that there are words which are unknown to the dictionary.
|
50
51
|
Once this happens think about if could use another word, that is more common. If there is no such word, add it to the directory-located glossary.
|
52
|
+
|
53
|
+
## Installation
|
54
|
+
|
55
|
+
Install it with:
|
56
|
+
|
57
|
+
`sudo gem install gherkin_language`
|
58
|
+
|
59
|
+
After that `gherkin_language` executable is available.
|
data/Rakefile
CHANGED
data/gherkin_language.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'gherkin_language'
|
3
|
-
s.version = '0.
|
4
|
-
s.date = '
|
3
|
+
s.version = '0.8.0'
|
4
|
+
s.date = '2017-04-05'
|
5
5
|
s.summary = 'Gherkin Language'
|
6
6
|
s.description = 'Check language of Gherkin Files'
|
7
7
|
s.authors = ['Stefan Rohe']
|
@@ -16,7 +16,7 @@ require 'digest'
|
|
16
16
|
class LanguageToolProcess
|
17
17
|
attr_accessor :errors, :unknown_words
|
18
18
|
|
19
|
-
VERSION = 'LanguageTool-3.
|
19
|
+
VERSION = 'LanguageTool-3.7'.freeze
|
20
20
|
URL = "https://www.languagetool.org/download/#{VERSION}.zip".freeze
|
21
21
|
NGRAM_VERSION = 'ngrams-en-20150817'.freeze
|
22
22
|
NGRAM_URL = "https://languagetool.org/download/ngram-data/#{NGRAM_VERSION}.zip".freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gherkin_language
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Rohe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gherkin
|