hiptest-publisher 2.3.0 → 2.3.1

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
  SHA256:
3
- metadata.gz: 04df68389d79eef22f27cb79528f299c78f61903025829dfda61dd4dab2a9f90
4
- data.tar.gz: 53f3cde89ad7489ce38fcbd64e16d3cf2d73b1b9cbc8508e9ad651823c80de2a
3
+ metadata.gz: aeb76a7a868b161a4a346ab4d7775a67dc231e5e257d7627f69ef2042a019135
4
+ data.tar.gz: c359c7db831a1efe32e87bb6232c25b1ac418e139fc3ed031b4702556424ef34
5
5
  SHA512:
6
- metadata.gz: 1512f51ef0627162bac206f9481936f342f66413b131fbe20500f5df0202e96336bc3be7bc6356c420c209d39314332c97bccbc8b7c714a6ca643473492b760a
7
- data.tar.gz: a6515cec1e3a494b3bcb046473ffdb38ff2b98abb272d2c3b9728194a3516272946b63d5e65235bb4a9dfe9cead990780e40315488d01a3bb56687178437ee41
6
+ metadata.gz: 0f2dc00f964c7a8cd0ce655392e2c8eb9afe934385aa64f67ea3aea21e192856e9793fc66d6d5f26a134e003d9aff19a672cf88b73490d3bfc80af2a2e0d4227
7
+ data.tar.gz: bea514854e4bebef3a3c850091512603c793a4fc63da529858fbc6fa32b0ce955eca9fb1c72fe60264e221d1dee4047579732e7b813d23844edf34e0f0cde848
@@ -214,6 +214,7 @@ en:
214
214
  xml_file: XML file to use instead of fetching it from HipTest
215
215
  cache_dir: "Path to the directory to store cache of Hiptest data"
216
216
  cache_duration: "Validity of the Hiptest data cache in seconds"
217
+ indentation: Customize indentation
217
218
  overwrite:
218
219
  ask_confirmation: 'File %{path} exists, do you want to overwrite it? [y/N] '
219
220
  warning_message: File %{path} already exists, skipping. Use --force to overwrite it.
@@ -275,7 +275,8 @@ class OptionsParser
275
275
  Option.new(nil, 'check-version', false, nil, I18n.t('options.check_version'), :check_version),
276
276
  Option.new(nil, 'force', false, nil, I18n.t('options.force_overwrite'), :force_overwrite),
277
277
  Option.new(nil, '[no-]color', nil, nil, I18n.t('options.color'), :color),
278
- Option.new('v', 'verbose', false, nil, I18n.t('options.verbose'), :verbose)
278
+ Option.new('v', 'verbose', false, nil, I18n.t('options.verbose'), :verbose),
279
+ Option.new(nil, 'indentation=INDENTATION', nil, EmptiableString, I18n.t('options.indentation'), :indent)
279
280
  ]
280
281
  end
281
282
 
@@ -573,6 +574,7 @@ class LanguageGroupConfig
573
574
  end
574
575
 
575
576
  def indentation
577
+ return @user_params[:indent] unless @user_params[:indent].nil?
576
578
  @language_group_params[:indentation] || ' '
577
579
  end
578
580
 
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiptest-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - HipTest R&D
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-24 00:00:00.000000000 Z
11
+ date: 2020-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 0.7.5
20
17
  - - "~>"
21
18
  - !ruby/object:Gem::Version
22
19
  version: '0.7'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.7.5
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 0.7.5
30
27
  - - "~>"
31
28
  - !ruby/object:Gem::Version
32
29
  version: '0.7'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.7.5
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: parseconfig
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 1.0.4
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '1.0'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.0.4
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 1.0.4
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '1.0'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 1.0.4
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: i18n
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -88,22 +88,22 @@ dependencies:
88
88
  name: multipart-post
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- version: 2.1.1
94
91
  - - "~>"
95
92
  - !ruby/object:Gem::Version
96
93
  version: '2.1'
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 2.1.1
97
97
  type: :runtime
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: 2.1.1
104
101
  - - "~>"
105
102
  - !ruby/object:Gem::Version
106
103
  version: '2.1'
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: 2.1.1
107
107
  - !ruby/object:Gem::Dependency
108
108
  name: ruby_version
109
109
  requirement: !ruby/object:Gem::Requirement
@@ -192,22 +192,22 @@ dependencies:
192
192
  name: codeclimate-test-reporter
193
193
  requirement: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - ">="
196
- - !ruby/object:Gem::Version
197
- version: 0.4.6
198
195
  - - "~>"
199
196
  - !ruby/object:Gem::Version
200
197
  version: '0.4'
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: 0.4.6
201
201
  type: :development
202
202
  prerelease: false
203
203
  version_requirements: !ruby/object:Gem::Requirement
204
204
  requirements:
205
- - - ">="
206
- - !ruby/object:Gem::Version
207
- version: 0.4.6
208
205
  - - "~>"
209
206
  - !ruby/object:Gem::Version
210
207
  version: '0.4'
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: 0.4.6
211
211
  - !ruby/object:Gem::Dependency
212
212
  name: i18n-tasks
213
213
  requirement: !ruby/object:Gem::Requirement
@@ -243,11 +243,9 @@ executables:
243
243
  - hiptest-publisher
244
244
  extensions: []
245
245
  extra_rdoc_files:
246
- - CHANGELOG.md
247
246
  - LICENSE
248
247
  - README.md
249
248
  files:
250
- - CHANGELOG.md
251
249
  - LICENSE
252
250
  - README.md
253
251
  - bin/hiptest-publisher
@@ -754,8 +752,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
754
752
  - !ruby/object:Gem::Version
755
753
  version: '0'
756
754
  requirements: []
757
- rubyforge_project:
758
- rubygems_version: 2.7.6.2
755
+ rubygems_version: 3.0.3
759
756
  signing_key:
760
757
  specification_version: 4
761
758
  summary: Export your tests from HipTest into executable tests.
@@ -1,286 +0,0 @@
1
- HipTest Publisher Changelog
2
- ===========================
3
-
4
- [2.3.0]
5
- -------
6
-
7
- - No test uids in datatables by default for feature files, add them when test run is used (#201)
8
-
9
- [2.2.0]
10
- -------
11
-
12
- - Add support for Cucumber expressions w/ Typescript ([#173](https://github.com/hiptest/hiptest-publisher/pull/173) [#184](https://github.com/hiptest/hiptest-publisher/pull/184) [tenpaiyomi])
13
-
14
- [2.1.0]
15
- -------
16
-
17
- - Do not try to colorize output when not in a `tty`
18
-
19
- - Add `--[no-]color` option to allow disabling colored output
20
-
21
- [2.0.0]
22
- -------
23
-
24
- - Deprecate support for Ruby 2.3 ([Ruby 2.3 EOL](https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/))
25
-
26
- - Drop Ruby 2.2 support.
27
-
28
- - Update Nokogiri to 1.10
29
-
30
- [1.31.0]
31
- --------
32
-
33
- - Follow redirections when doing HTTP requests.
34
-
35
- [1.30.0]
36
- --------
37
-
38
- - Upgrade `ruby-handlebars` to 0.4. `each` and `join` helpers now support the `as` notation.
39
-
40
- - Add support for Swift/XCTest ([#134](https://github.com/hiptest/hiptest-publisher/pull/134) [bangroot])
41
-
42
- - Add cache for the XML downloaded from HipTest.
43
- By default, files will be valid for 60 seconds but can be changed by using `--cache-duration=120` for example.
44
-
45
- [1.29.2]
46
- --------
47
-
48
- - Fix escaping in string literals for Java and C# ([#157](https://github.com/hiptest/hiptest-publisher/issues/157) - [hiptest#195](https://github.com/hiptest/hiptest-issue-tracker/issues/195))
49
-
50
- [1.29.1]
51
- --------
52
-
53
- - Allow any characters for the meta value ([#155](https://github.com/hiptest/hiptest-publisher/issues/155))
54
-
55
-
56
- [1.29.0]
57
- --------
58
-
59
- - Make `rake install` work with ruby 2.6
60
- - `--parameter-delimiter` option now accepts empty string
61
-
62
- [1.28.0]
63
- --------
64
-
65
- - Fix bug where parameter-delimiter value was not recognized in command line ([#147](https://github.com/hiptest/hiptest-publisher/issues/147))
66
- - Add option --http-proxy to specify proxy to use ([#132](https://github.com/hiptest/hiptest-publisher/issues/132))
67
-
68
- [1.27.1]
69
- --------
70
-
71
- - Add CodeceptJS to language list in OptionsParser.languages
72
-
73
- [1.27.0]
74
- --------
75
-
76
- - Enable accessing scenario tags in datasets
77
- ([#142](https://github.com/hiptest/hiptest-publisher/pull/142) [nono0481])
78
-
79
- - Added support for CodeceptJS testing framework
80
- ([#130](https://github.com/hiptest/hiptest-publisher/pull/130) [DavertMik])
81
-
82
- [1.26.0]
83
- --------
84
-
85
- - Shared actionwords handling for Cucumber/Typescript
86
-
87
- [1.25.0]
88
- --------
89
-
90
- - Shared actionwords handling for Behave
91
-
92
- [1.24.0]
93
- --------
94
-
95
- - Add #case, #when and #when_includes handlebars helpers
96
- - Modify #if_includes handlebars helper to work with strings
97
-
98
- [1.23.5]
99
- --------
100
-
101
- - Load i18n path also when used as a library
102
-
103
- [1.23.4]
104
- --------
105
-
106
- - Add I18n to enable localizing (and clearing the code)
107
-
108
- [1.23.3]
109
- --------
110
-
111
- - Update multipart-post to 2.1.1 to handle issues with Ruby < 2.5
112
- (see: https://github.com/socketry/multipart-post/issues/61)
113
-
114
- [1.23.2]
115
- --------
116
-
117
- - Force Nokogiri < 1.10 to keep support for Ruby 2.2
118
- - Add deprecation notifications for Ruby 2.2
119
-
120
- [1.23.1]
121
- --------
122
-
123
- - Handle new shared actionword architecture
124
-
125
- [1.22.0]
126
- --------
127
-
128
- - Add support for Cucumber/Typescript
129
- - Unlock Nokogiri update to 1.9.1
130
-
131
- [1.21.0]
132
- --------
133
-
134
- - Add option --execution-environment to push results in the specified execution environment name
135
-
136
- [1.20.0]
137
- --------
138
-
139
- - Add --meta option to add more flexibility in code generation
140
- (see: https://github.com/hiptest/hiptest-publisher/blob/master/docs/Using%20meta%20data.md#using-meta-data)
141
-
142
- [1.19.3]
143
- --------
144
-
145
- - Do not leave trailing whitespaces with {{comment}} helper
146
-
147
- [1.19.2]
148
- --------
149
- - Fix description in Gherkin exports
150
-
151
- [1.19.1]
152
- --------
153
- - Fix description in Gherkin exports
154
-
155
- [1.19.0]
156
- --------
157
- - Do not comment description in Gherkin exports
158
-
159
- [1.18.1]
160
- --------
161
- - Show message when calling an actionword using an unknown UID
162
-
163
- [1.18.0]
164
- --------
165
- - Add option [no-]parent-folders-tags to choose if parent tags are rendered in feature files
166
-
167
- [1.17.2]
168
- --------
169
- - Fix UIDCall handling for shared actionwords
170
-
171
- [1.17.1]
172
- --------
173
- - update version number
174
-
175
- [1.16.6]
176
- --------
177
- - Add the if_includes handlebars helper
178
- - Add options "parameter-delimiter" allowing to remove quotes around parameters in Gherkin export
179
- (or replace it by anything else in fact)
180
-
181
- [1.16.5]
182
- --------
183
- - Fix UIDCall handling for behat
184
-
185
- [1.16.4]
186
- --------
187
- - Handling tags for shared actionwords
188
-
189
- [1.16.3]
190
- --------
191
- - Fix behat rendering of shared actionwords
192
-
193
- [1.16.2]
194
- --------
195
- - Remove unnecessary templates for cucumber/groovy
196
-
197
- [1.16.0]
198
- --------
199
- - Shared actionwords handling for behat
200
-
201
- [1.15.0]
202
- --------
203
- - Shared actionwords handling for groovy/spock
204
-
205
- [1.14.0]
206
- --------
207
-
208
- - Shared actionwords handling for cucumber/groovy
209
-
210
- [1.13.0]
211
- --------
212
-
213
- - Add Cucumber/Groovy support
214
- ([#54](https://github.com/hiptest/hiptest-publisher/issues/54))
215
-
216
- [1.12.0]
217
- --------
218
-
219
- - Add JBehave support
220
- ([#38](https://github.com/hiptest/hiptest-publisher/issues/38))
221
-
222
- - Add option --with-dataset-names
223
- ([#105](https://github.com/hiptest/hiptest-publisher/issues/105))
224
-
225
- - Reorder steps by regexp length for Behave
226
- ([#104](https://github.com/hiptest/hiptest-publisher/issues/104))
227
-
228
-
229
- <!-- List of releases -->
230
- [2.3.0]: https://github.com/hiptest/hiptest-publisher/compare/v2.2.0...v2.3.0
231
- [2.2.0]: https://github.com/hiptest/hiptest-publisher/compare/v2.1.0...v2.2.0
232
- [2.1.0]: https://github.com/hiptest/hiptest-publisher/compare/v2.0.0...v2.1.0
233
- [2.0.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.31.0...v2.0.0
234
- [1.31.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.30.0...v1.31.0
235
- [1.30.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.29.2...v1.30.0
236
- [1.29.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.29.1...v1.29.2
237
- [1.29.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.29.0...v1.29.1
238
- [1.29.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.28.0...v1.29.0
239
- [1.28.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.27.1...v1.28.0
240
- [1.27.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.27.0...v1.27.1
241
- [1.27.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.26.0...v1.27.0
242
- [1.26.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.25.0...v1.26.0
243
- [1.25.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.24.0...v1.25.0
244
- [1.24.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.5...v1.24.0
245
- [1.23.5]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.4...v1.23.5
246
- [1.23.4]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.3...v1.23.4
247
- [1.23.3]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.2...v1.23.3
248
- [1.23.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.1...v1.23.2
249
- [1.23.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.22.0...v1.23.1
250
- [1.22.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.21.0...v1.22.0
251
- [1.21.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.20.0...v1.21.0
252
- [1.20.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.19.3...v1.20.0
253
- [1.19.3]: https://github.com/hiptest/hiptest-publisher/compare/v1.19.2...v1.19.3
254
- [1.19.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.19.1...v1.19.2
255
- [1.19.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.19.0...v1.19.1
256
- [1.19.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.18.1...v1.19.0
257
- [1.18.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.18.0...v1.18.1
258
- [1.18.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.17.2...v1.18.0
259
- [1.17.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.17.1...v1.17.2
260
- [1.17.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.6...v1.17.1
261
- [1.16.6]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.5...v1.16.6
262
- [1.16.5]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.4...v1.16.5
263
- [1.16.4]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.3...v1.16.4
264
- [1.16.3]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.2...v1.16.3
265
- [1.16.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.0...v1.16.2
266
- [1.16.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.15.0...v1.16.0
267
- [1.15.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.14.0...v1.15.0
268
- [1.14.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.13.0...v1.14.0
269
- [1.13.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.12.0...v1.13.0
270
- [1.12.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.11.1...v1.12.0
271
-
272
-
273
- <!-- List of contributors -->
274
- [atulhm]: https://github.com/atulhm
275
- [bangroot]: https://github.com/bangroot
276
- [ClaudiaJ]: https://github.com/ClaudiaJ
277
- [daniel-kun]: https://github.com/daniel-kun
278
- [DavertMik]: https://github.com/DavertMik
279
- [etorreborre]: https://github.com/etorreborre
280
- [Jesterovskiy]: https://github.com/Jesterovskiy
281
- [lostiniceland]: https://github.com/lostiniceland
282
- [mhfrantz]: https://github.com/mhfrantz
283
- [nono0481]: https://github.com/nono0481
284
- [tenpaiyomi]: https://github.com/tenpaiyomi
285
- [tikolakin]: https://github.com/tikolakin
286
- [weeksghost]: https://github.com/weeksghost