gherkin_language 0.4.2 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +11 -21
- data/README.md +9 -1
- data/Rakefile +1 -1
- data/gherkin_language.gemspec +2 -2
- 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: f5aa21beb3385286fa23c6d65e270ec7d4d50b92
|
4
|
+
data.tar.gz: 7c2207e33a9a71e523d81697dbfd1c4126550d27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acfda72c14097d4c8cb1c5dbc61e58bc0b6106a6bba05fb3b42fcd46b6688d6e1b50c79bfe81805fdaaa8967a30587e10d07cb7a3283f97d61d0e61a63d7f03d
|
7
|
+
data.tar.gz: f809b1147946f70a3ddbabb047d9f641175cb38647a8a2ebeb5f7495a713d5a1cc8bab604c0bb73c53753701a0ec711def2ad61bc2dc48744489c3d0d69e965c
|
data/Dockerfile
CHANGED
@@ -2,24 +2,14 @@ FROM frolvlad/alpine-oraclejdk8:slim
|
|
2
2
|
|
3
3
|
MAINTAINER think@hotmail.de
|
4
4
|
|
5
|
-
RUN apk --update add ruby ruby-dev build-base ruby-rdoc ruby-irb
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
# TODO: activate --ngram
|
17
|
-
#RUN \
|
18
|
-
# apt-get update && \
|
19
|
-
# apt-get install -y unzip default-jre && \
|
20
|
-
# gem install gherkin_language --no-format-exec && \
|
21
|
-
# echo "Feature: Empty" > /tmp/empty.feature && \
|
22
|
-
# gherkin_language /tmp/empty.feature && \
|
23
|
-
# rm /tmp/empty.feature
|
24
|
-
|
25
|
-
CMD gherkin_language
|
5
|
+
RUN apk --update add ruby ruby-dev build-base ruby-rdoc ruby-irb ca-certificates openssl \
|
6
|
+
&& gem install gherkin_language json --no-format-exec \
|
7
|
+
&& echo "Feature: Empty" > /tmp/empty.feature \
|
8
|
+
&& gherkin_language /tmp/empty.feature \
|
9
|
+
&& rm /tmp/empty.feature \
|
10
|
+
&& apk del ruby-dev build-base ruby-rdoc ruby-irb ca-certificates openssl \
|
11
|
+
&& rm -rf /var/cache/apk \
|
12
|
+
&& (cd /tmp/LanguageTool*/org/languagetool/resource/ && ls -1 . | grep -v en | xargs rm -rf)
|
13
|
+
|
14
|
+
ENTRYPOINT ["gherkin_language"]
|
15
|
+
CMD ["--help"]
|
data/README.md
CHANGED
@@ -30,8 +30,16 @@ Get a readability report using `--readability`. It indicates, which files are no
|
|
30
30
|
|
31
31
|
### Usage with Docker
|
32
32
|
|
33
|
+
Assuming there is a `test.feature` within the current folder, then the following command will check the feature file.
|
34
|
+
|
35
|
+
```
|
36
|
+
docker run -t -v $(pwd):/user -w /user gherkin/language test.feature
|
37
|
+
```
|
38
|
+
|
39
|
+
For usage of ngrams (be aware, that it will need roughly 10 GB) just use. This will show where very uncommon word combinations are used.
|
40
|
+
|
33
41
|
```
|
34
|
-
docker run -
|
42
|
+
docker run -t -v $(pwd):/user -w /user gherkin/language-ngram test.feature
|
35
43
|
```
|
36
44
|
|
37
45
|
## Glossary
|
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.
|
4
|
-
s.date = '2016-11-
|
3
|
+
s.version = '0.4.4'
|
4
|
+
s.date = '2016-11-13'
|
5
5
|
s.summary = 'Gherkin Language'
|
6
6
|
s.description = 'Check language of Gherkin Files'
|
7
7
|
s.authors = ['Stefan Rohe']
|
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.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Rohe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gherkin
|