gherkin_format 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e95c44cb925ffcca50a751ae909e9fcb160addd
4
- data.tar.gz: 1c715ec6276f5170f130e8cbbeb332e640b09889
3
+ metadata.gz: 82b88f0a289bc19d4f3c37ab56d2fb2612d9330a
4
+ data.tar.gz: 1467300a2842413da56e60f8ae2bb354d1e8b655
5
5
  SHA512:
6
- metadata.gz: 65926549ee226e0bf7fa69e492c529007e86d862082c554360f38fa142b4b19eee322e973ac29fc1591855fa0b1f70b9a5b08027354da055fd7fa169acdfa888
7
- data.tar.gz: 8383f1c8bcfbb19e98c07ec179edf70ae712dd676e9818985f8a9456138ce0a72b19da347e0cd83307dcf4ab004efe21182bc62991966ea99a625d77acb0906b
6
+ metadata.gz: 3d26d244a2fec03239fabb55d1b6010bb1866e65e8fba0e1f0bd7e519213919915ce0e135a19ca1d82d28a9f72ce760f4b699135a403e8dc1b734b10e854c75b
7
+ data.tar.gz: f8547e2df6f39290188d63b03ae081e8c14e9df0009143c61cd85ecc36218da74b2d7899a333fc155bc1494dc755eaae3bbd7e9d5297076a55d2daacb189963a
data/Dockerfile ADDED
@@ -0,0 +1,5 @@
1
+ FROM ruby
2
+ MAINTAINER think@hotmail.de
3
+
4
+ RUN gem install gherkin_format --no-format-exec
5
+ CMD gherkin_format
data/Gemfile CHANGED
@@ -1,5 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
  gem 'rubocop'
3
- gem 'gherkin'
3
+ gem 'gherkin', '=2.12.2'
4
4
  gem 'rake'
5
5
  gem 'aruba'
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ end
12
12
 
13
13
  desc 'Publishes the Gem'
14
14
  task :push do
15
- sh 'gem push gherkin_format-0.0.4.gem'
15
+ sh 'gem push gherkin_format-0.0.5.gem'
16
16
  end
17
17
 
18
18
  desc 'Checks ruby style'
@@ -37,7 +37,6 @@ Feature: Markdown Template
37
37
  Then I baz
38
38
 
39
39
 
40
-
41
40
  """
42
41
 
43
42
  Scenario: Extract Sentences with background
@@ -70,7 +69,6 @@ Feature: Markdown Template
70
69
  Then I baz
71
70
 
72
71
 
73
-
74
72
  """
75
73
 
76
74
  Scenario: Extract Sentences from outlines
@@ -105,8 +103,6 @@ Feature: Markdown Template
105
103
  | foo | bar | baz |
106
104
  | FOO | BAR | BAZ |
107
105
  | oof | rab | zab |
108
-
109
-
110
106
  """
111
107
 
112
108
  Scenario: Extract Sentences considers description
@@ -140,7 +136,6 @@ Feature: Markdown Template
140
136
  Then I baz
141
137
 
142
138
 
143
-
144
139
  """
145
140
 
146
141
  Scenario: Extract Sentences considers scenario description
@@ -178,5 +173,4 @@ Feature: Markdown Template
178
173
  Then I baz
179
174
 
180
175
 
181
-
182
176
  """
@@ -37,8 +37,6 @@ Feature: Multi Markdown Template
37
37
  __When__ I _«bar»_
38
38
  __Then__ I baz
39
39
  <hr />
40
-
41
-
42
40
  """
43
41
 
44
42
  Scenario: Extract Sentences with background
@@ -71,8 +69,6 @@ Feature: Multi Markdown Template
71
69
  __When__ I bar
72
70
  __Then__ I baz
73
71
  <hr />
74
-
75
-
76
72
  """
77
73
 
78
74
  Scenario: Extract Sentences from outlines
@@ -112,8 +108,6 @@ Feature: Multi Markdown Template
112
108
  [_**Examples: table**_]
113
109
 
114
110
  <hr />
115
-
116
-
117
111
  """
118
112
 
119
113
  Scenario: Extract Sentences considers description
@@ -147,8 +141,6 @@ Feature: Multi Markdown Template
147
141
  __When__ I bar
148
142
  __Then__ I baz
149
143
  <hr />
150
-
151
-
152
144
  """
153
145
 
154
146
  Scenario: Extract Sentences considers scenario description
@@ -186,6 +178,4 @@ Feature: Multi Markdown Template
186
178
  __When__ I bar
187
179
  __Then__ I baz
188
180
  <hr />
189
-
190
-
191
181
  """
@@ -36,7 +36,6 @@ Feature: Template for Multi Markdown Without Highlight
36
36
  When I bar
37
37
  Then I baz
38
38
 
39
-
40
39
  """
41
40
 
42
41
  Scenario: Extract Sentences with background
@@ -67,7 +66,6 @@ Feature: Template for Multi Markdown Without Highlight
67
66
  When I bar
68
67
  Then I baz
69
68
 
70
-
71
69
  """
72
70
 
73
71
  Scenario: Extract Sentences from outlines
@@ -105,7 +103,6 @@ Feature: Template for Multi Markdown Without Highlight
105
103
 
106
104
 
107
105
 
108
-
109
106
  """
110
107
 
111
108
  Scenario: Extract Sentences considers description
@@ -137,7 +134,6 @@ Feature: Template for Multi Markdown Without Highlight
137
134
  When I bar
138
135
  Then I baz
139
136
 
140
-
141
137
  """
142
138
 
143
139
  Scenario: Extract Sentences considers scenario description
@@ -173,5 +169,4 @@ Feature: Template for Multi Markdown Without Highlight
173
169
  When I bar
174
170
  Then I baz
175
171
 
176
-
177
172
  """
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'gherkin_format'
3
- s.version = '0.0.4'
4
- s.date = '2015-07-19'
3
+ s.version = '0.0.5'
4
+ s.date = '2016-01-17'
5
5
  s.summary = 'Gherkin Format'
6
6
  s.description = 'Format Gherkin Files'
7
7
  s.authors = ['Stefan Rohe']
@@ -1,3 +1,5 @@
1
+ gem 'gherkin', '= 2.12.2'
2
+
1
3
  require 'gherkin/formatter/json_formatter'
2
4
  require 'gherkin/formatter/pretty_formatter'
3
5
  require 'gherkin/parser/parser'
@@ -22,7 +24,7 @@ class GherkinFormat
22
24
 
23
25
  if options.key? :replace
24
26
  File.write("#{file}_orig", input)
25
- File.write("#{file}", output)
27
+ File.write(file, output)
26
28
  end
27
29
 
28
30
  puts "File #{file} is not formatted well."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gherkin_format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Rohe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-19 00:00:00.000000000 Z
11
+ date: 2016-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gherkin
@@ -46,6 +46,7 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".travis.yml"
49
+ - Dockerfile
49
50
  - Gemfile
50
51
  - LICENSE
51
52
  - README.md
@@ -81,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
82
  version: '0'
82
83
  requirements: []
83
84
  rubyforge_project:
84
- rubygems_version: 2.2.3
85
+ rubygems_version: 2.2.5
85
86
  signing_key:
86
87
  specification_version: 4
87
88
  summary: Gherkin Format