hiptest-publisher 3.1.0 → 3.2.0

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: ee9b0d1139b33645d29b179ef632be982d319130dfe33f004e0957007180b3ab
4
- data.tar.gz: b3bffa7ccb55a32d588094c539d177fd80bb8451aa17c95d51524281b7b40d2f
3
+ metadata.gz: b37b4df1fb05d36b4f1cbd60df3e4b39048da7d66d2dd64bf87879e18accac2a
4
+ data.tar.gz: ca60c0a8c3a220426c959a253195caf1fbabc2eee06cd2f81ab7f23909c3299d
5
5
  SHA512:
6
- metadata.gz: 9b237b6737ce397d3989e1cdfa53146c9ace569cc6073419cd459b893d86c328de1e4aa62c3e936075ecaa66a273e275882a868d82e43518d1cf6a14587cc96e
7
- data.tar.gz: 200e77bc3b0cca2fbb3e239f98c7e9ebaed75a21972e5f4fc4f237a7f019ec34a039e38fa2b594c15ea11e9e6a516226c0d6528f8a0fd78b9d8e9a70485d110e
6
+ metadata.gz: 31b07871e7e9742d20c4e8ffc5f64a8e9d202fc67edc1cbc6dee058bb3e90a065ff324ea175f879c3c0151eeb47c076617e326967aebb10b19cfd86606792447
7
+ data.tar.gz: 55c47fb47178d164f32cd0f8d88a1d5f17656cc2aca586662c249d244e43150aeb4ce82fec5de3cafa798e584343c5588eac2f28360bde22dd816e2a50f492e4
data/CHANGELOG.md ADDED
@@ -0,0 +1,325 @@
1
+ HipTest Publisher Changelog
2
+ ===========================
3
+
4
+ [3.2.0]
5
+ ------------
6
+
7
+ - Dropping support for ruby < 2.7
8
+ - Adding support for ruby 3.0
9
+
10
+ [3.1.0]
11
+ -------
12
+
13
+ - Add options related to builds (or execution cycles) in CucumberStudio:
14
+ - `--build-id`: allows to specify the build in which the results will be pushed
15
+ - `--build-name`: allows to name the build which will be created to store the results
16
+
17
+ [3.0.0]
18
+ -------
19
+
20
+ - Add `--overriden-language-configs` command line option (#205 by tenpaiyomi)
21
+ - Add support for Cucumber Expression in Java and Groovy (#205 by tenpaiyomi)
22
+ - Fix possible duplication of actionwords in export (#232 by tenpaiyomi)
23
+ - Breaking change: Export with cucumber expressions are now the default when specifying `--language=cucumber` for TypeScript, Java, and GroovySet. Use `--language=cucumber_legacy` to keep previous export behavior (#205 by tenpaiyomi) (#205 by tenpaiyomi)
24
+ - Breaking change: Drop support for ruby 2.3 and ruby 2.4 as they have reached end of life
25
+ - Rename HipTest as CucumberStudio in user messages
26
+ - Properly escape new lines in datatables (#109)
27
+
28
+ [2.4.0]
29
+ -------
30
+
31
+ - Add support for asynchronous export of projects from Cucumber Studio
32
+
33
+ [2.3.1]
34
+ -------
35
+
36
+ - `--indentation` option is now available to customize the indentation of the output
37
+
38
+ [2.3.0]
39
+ -------
40
+
41
+ - No test uids in datatables by default for feature files, add them when test run is used (#201)
42
+
43
+ [2.2.0]
44
+ -------
45
+
46
+ - 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])
47
+
48
+ [2.1.0]
49
+ -------
50
+
51
+ - Do not try to colorize output when not in a `tty`
52
+
53
+ - Add `--[no-]color` option to allow disabling colored output
54
+
55
+ [2.0.0]
56
+ -------
57
+
58
+ - 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/))
59
+
60
+ - Drop Ruby 2.2 support.
61
+
62
+ - Update Nokogiri to 1.10
63
+
64
+ [1.31.0]
65
+ --------
66
+
67
+ - Follow redirections when doing HTTP requests.
68
+
69
+ [1.30.0]
70
+ --------
71
+
72
+ - Upgrade `ruby-handlebars` to 0.4. `each` and `join` helpers now support the `as` notation.
73
+
74
+ - Add support for Swift/XCTest ([#134](https://github.com/hiptest/hiptest-publisher/pull/134) [bangroot])
75
+
76
+ - Add cache for the XML downloaded from CucumberStudio.
77
+ By default, files will be valid for 60 seconds but can be changed by using `--cache-duration=120` for example.
78
+
79
+ [1.29.2]
80
+ --------
81
+
82
+ - 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))
83
+
84
+ [1.29.1]
85
+ --------
86
+
87
+ - Allow any characters for the meta value ([#155](https://github.com/hiptest/hiptest-publisher/issues/155))
88
+
89
+
90
+ [1.29.0]
91
+ --------
92
+
93
+ - Make `rake install` work with ruby 2.6
94
+ - `--parameter-delimiter` option now accepts empty string
95
+
96
+ [1.28.0]
97
+ --------
98
+
99
+ - Fix bug where parameter-delimiter value was not recognized in command line ([#147](https://github.com/hiptest/hiptest-publisher/issues/147))
100
+ - Add option --http-proxy to specify proxy to use ([#132](https://github.com/hiptest/hiptest-publisher/issues/132))
101
+
102
+ [1.27.1]
103
+ --------
104
+
105
+ - Add CodeceptJS to language list in OptionsParser.languages
106
+
107
+ [1.27.0]
108
+ --------
109
+
110
+ - Enable accessing scenario tags in datasets
111
+ ([#142](https://github.com/hiptest/hiptest-publisher/pull/142) [nono0481])
112
+
113
+ - Added support for CodeceptJS testing framework
114
+ ([#130](https://github.com/hiptest/hiptest-publisher/pull/130) [DavertMik])
115
+
116
+ [1.26.0]
117
+ --------
118
+
119
+ - Shared actionwords handling for Cucumber/Typescript
120
+
121
+ [1.25.0]
122
+ --------
123
+
124
+ - Shared actionwords handling for Behave
125
+
126
+ [1.24.0]
127
+ --------
128
+
129
+ - Add #case, #when and #when_includes handlebars helpers
130
+ - Modify #if_includes handlebars helper to work with strings
131
+
132
+ [1.23.5]
133
+ --------
134
+
135
+ - Load i18n path also when used as a library
136
+
137
+ [1.23.4]
138
+ --------
139
+
140
+ - Add I18n to enable localizing (and clearing the code)
141
+
142
+ [1.23.3]
143
+ --------
144
+
145
+ - Update multipart-post to 2.1.1 to handle issues with Ruby < 2.5
146
+ (see: https://github.com/socketry/multipart-post/issues/61)
147
+
148
+ [1.23.2]
149
+ --------
150
+
151
+ - Force Nokogiri < 1.10 to keep support for Ruby 2.2
152
+ - Add deprecation notifications for Ruby 2.2
153
+
154
+ [1.23.1]
155
+ --------
156
+
157
+ - Handle new shared actionword architecture
158
+
159
+ [1.22.0]
160
+ --------
161
+
162
+ - Add support for Cucumber/Typescript
163
+ - Unlock Nokogiri update to 1.9.1
164
+
165
+ [1.21.0]
166
+ --------
167
+
168
+ - Add option --execution-environment to push results in the specified execution environment name
169
+
170
+ [1.20.0]
171
+ --------
172
+
173
+ - Add --meta option to add more flexibility in code generation
174
+ (see: https://github.com/hiptest/hiptest-publisher/blob/master/docs/Using%20meta%20data.md#using-meta-data)
175
+
176
+ [1.19.3]
177
+ --------
178
+
179
+ - Do not leave trailing whitespaces with {{comment}} helper
180
+
181
+ [1.19.2]
182
+ --------
183
+ - Fix description in Gherkin exports
184
+
185
+ [1.19.1]
186
+ --------
187
+ - Fix description in Gherkin exports
188
+
189
+ [1.19.0]
190
+ --------
191
+ - Do not comment description in Gherkin exports
192
+
193
+ [1.18.1]
194
+ --------
195
+ - Show message when calling an actionword using an unknown UID
196
+
197
+ [1.18.0]
198
+ --------
199
+ - Add option [no-]parent-folders-tags to choose if parent tags are rendered in feature files
200
+
201
+ [1.17.2]
202
+ --------
203
+ - Fix UIDCall handling for shared actionwords
204
+
205
+ [1.17.1]
206
+ --------
207
+ - update version number
208
+
209
+ [1.16.6]
210
+ --------
211
+ - Add the if_includes handlebars helper
212
+ - Add options "parameter-delimiter" allowing to remove quotes around parameters in Gherkin export
213
+ (or replace it by anything else in fact)
214
+
215
+ [1.16.5]
216
+ --------
217
+ - Fix UIDCall handling for behat
218
+
219
+ [1.16.4]
220
+ --------
221
+ - Handling tags for shared actionwords
222
+
223
+ [1.16.3]
224
+ --------
225
+ - Fix behat rendering of shared actionwords
226
+
227
+ [1.16.2]
228
+ --------
229
+ - Remove unnecessary templates for cucumber/groovy
230
+
231
+ [1.16.0]
232
+ --------
233
+ - Shared actionwords handling for behat
234
+
235
+ [1.15.0]
236
+ --------
237
+ - Shared actionwords handling for groovy/spock
238
+
239
+ [1.14.0]
240
+ --------
241
+
242
+ - Shared actionwords handling for cucumber/groovy
243
+
244
+ [1.13.0]
245
+ --------
246
+
247
+ - Add Cucumber/Groovy support
248
+ ([#54](https://github.com/hiptest/hiptest-publisher/issues/54))
249
+
250
+ [1.12.0]
251
+ --------
252
+
253
+ - Add JBehave support
254
+ ([#38](https://github.com/hiptest/hiptest-publisher/issues/38))
255
+
256
+ - Add option --with-dataset-names
257
+ ([#105](https://github.com/hiptest/hiptest-publisher/issues/105))
258
+
259
+ - Reorder steps by regexp length for Behave
260
+ ([#104](https://github.com/hiptest/hiptest-publisher/issues/104))
261
+
262
+
263
+ <!-- List of releases -->
264
+ [Unreleased]: https://github.com/hiptest/hiptest-publisher/compare/v3.1.0...master
265
+ [3.1.0]: https://github.com/hiptest/hiptest-publisher/compare/v3.0.0...v3.1.0
266
+ [3.0.0]: https://github.com/hiptest/hiptest-publisher/compare/v2.4.0...v3.0.0
267
+ [2.4.0]: https://github.com/hiptest/hiptest-publisher/compare/v2.3.1...v2.4.0
268
+ [2.3.1]: https://github.com/hiptest/hiptest-publisher/compare/v2.3.0...v2.3.1
269
+ [2.3.0]: https://github.com/hiptest/hiptest-publisher/compare/v2.2.0...v2.3.0
270
+ [2.2.0]: https://github.com/hiptest/hiptest-publisher/compare/v2.1.0...v2.2.0
271
+ [2.1.0]: https://github.com/hiptest/hiptest-publisher/compare/v2.0.0...v2.1.0
272
+ [2.0.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.31.0...v2.0.0
273
+ [1.31.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.30.0...v1.31.0
274
+ [1.30.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.29.2...v1.30.0
275
+ [1.29.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.29.1...v1.29.2
276
+ [1.29.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.29.0...v1.29.1
277
+ [1.29.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.28.0...v1.29.0
278
+ [1.28.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.27.1...v1.28.0
279
+ [1.27.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.27.0...v1.27.1
280
+ [1.27.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.26.0...v1.27.0
281
+ [1.26.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.25.0...v1.26.0
282
+ [1.25.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.24.0...v1.25.0
283
+ [1.24.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.5...v1.24.0
284
+ [1.23.5]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.4...v1.23.5
285
+ [1.23.4]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.3...v1.23.4
286
+ [1.23.3]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.2...v1.23.3
287
+ [1.23.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.23.1...v1.23.2
288
+ [1.23.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.22.0...v1.23.1
289
+ [1.22.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.21.0...v1.22.0
290
+ [1.21.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.20.0...v1.21.0
291
+ [1.20.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.19.3...v1.20.0
292
+ [1.19.3]: https://github.com/hiptest/hiptest-publisher/compare/v1.19.2...v1.19.3
293
+ [1.19.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.19.1...v1.19.2
294
+ [1.19.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.19.0...v1.19.1
295
+ [1.19.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.18.1...v1.19.0
296
+ [1.18.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.18.0...v1.18.1
297
+ [1.18.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.17.2...v1.18.0
298
+ [1.17.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.17.1...v1.17.2
299
+ [1.17.1]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.6...v1.17.1
300
+ [1.16.6]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.5...v1.16.6
301
+ [1.16.5]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.4...v1.16.5
302
+ [1.16.4]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.3...v1.16.4
303
+ [1.16.3]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.2...v1.16.3
304
+ [1.16.2]: https://github.com/hiptest/hiptest-publisher/compare/v1.16.0...v1.16.2
305
+ [1.16.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.15.0...v1.16.0
306
+ [1.15.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.14.0...v1.15.0
307
+ [1.14.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.13.0...v1.14.0
308
+ [1.13.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.12.0...v1.13.0
309
+ [1.12.0]: https://github.com/hiptest/hiptest-publisher/compare/v1.11.1...v1.12.0
310
+
311
+
312
+ <!-- List of contributors -->
313
+ [atulhm]: https://github.com/atulhm
314
+ [bangroot]: https://github.com/bangroot
315
+ [ClaudiaJ]: https://github.com/ClaudiaJ
316
+ [daniel-kun]: https://github.com/daniel-kun
317
+ [DavertMik]: https://github.com/DavertMik
318
+ [etorreborre]: https://github.com/etorreborre
319
+ [Jesterovskiy]: https://github.com/Jesterovskiy
320
+ [lostiniceland]: https://github.com/lostiniceland
321
+ [mhfrantz]: https://github.com/mhfrantz
322
+ [nono0481]: https://github.com/nono0481
323
+ [tenpaiyomi]: https://github.com/tenpaiyomi
324
+ [tikolakin]: https://github.com/tikolakin
325
+ [weeksghost]: https://github.com/weeksghost
data/README.md CHANGED
@@ -2,7 +2,6 @@ HipTest Publisher
2
2
  ==============
3
3
 
4
4
  [![GitHub Actions status](https://github.com/hiptest/hiptest-publisher/workflows/Tests/badge.svg)](https://github.com/hiptest/hiptest-publisher/actions?query=workflow%3ATests)
5
- [![Build Status Windows](https://ci.appveyor.com/api/projects/status/ciahcci0ayr1oihr/branch/master?svg=true)](https://ci.appveyor.com/project/hiptest/hiptest-publisher)
6
5
  [![Gem Version](https://badge.fury.io/rb/hiptest-publisher.svg)](http://badge.fury.io/rb/hiptest-publisher)
7
6
  [![Code Climate](https://codeclimate.com/github/hiptest/hiptest-publisher/badges/gpa.svg)](https://codeclimate.com/github/hiptest/hiptest-publisher)
8
7
  [![Test Coverage](https://codeclimate.com/github/hiptest/hiptest-publisher/badges/coverage.svg)](https://codeclimate.com/github/hiptest/hiptest-publisher)
@@ -148,7 +147,7 @@ Specific options:
148
147
  --sort=[id,order,alpha] Sorting of tests in output: id will sort them by age, order will keep the same order than in hiptest (only with --with-folders option, will fallback to id otherwise), alpha will sort them by name (default: order)
149
148
  --[no-]uids Export UIDs (note: can be disabled only for Gherkin-based exports, may cause issue when pushing results back) (default: true)
150
149
  --[no-]parent-folder-tags Export tags from parent folders (note: if set to false, those tags are never rendered. Only available for Gherkin base exports) (default: true)
151
- --parameter-delimiter Parameter delimiter (for Gherkin based export only) (default: ")
150
+ --parameter-delimiter Parameter delimiter (for Gherkin based export only) (default: "")
152
151
  --with-dataset-names Export dataset name when creating feature files (note: available only for Gherkin-based exports) (default: false)
153
152
  --keep-filenames Keep the same name as in CucumberStudio for the test files (note: may cause encoding issues) (default: false)
154
153
  --keep-foldernames Keep the same name as in CucumberStudio for the folders (note: may cause encoding issues) (default: false)
@@ -243,6 +242,18 @@ alias hiptest-publisher='bundle exec ruby -I lib bin/hiptest-publisher'
243
242
  ```
244
243
 
245
244
 
245
+ Internationalization
246
+ --------------------
247
+
248
+ To help with internationalization, you can temporarly add the `i18n-tasks` in the Gemfile and run `i18n-tasks health` to check that everything is ok and there are no missing translations. We removed it because of the many dependencies it pulls.
249
+
250
+ Other useful commands:
251
+ * `i18n-tasks missing`
252
+ * `i18n-tasks unused`
253
+ * `i18n-tasks normalize`
254
+ * `i18n-tasks check-consistent-interpolations`
255
+
256
+
246
257
  Adding support for other languages and framework
247
258
  ------------------------------------------------
248
259
 
@@ -16,34 +16,26 @@ require 'ruby_version'
16
16
  require 'hiptest-publisher/i18n'
17
17
  require 'hiptest-publisher/utils'
18
18
 
19
- # Ensure ruby version >= 2.5
20
- if RubyVersion < '2.5.0'
21
- STDERR.puts(I18n.t('ruby_version.required_version', version: '2.5.0'))
19
+ # Ensure ruby version >= 2.7
20
+ if RubyVersion < '2.7.0'
21
+ STDERR.puts(I18n.t('ruby_version.required_version', version: '2.7.0'))
22
22
  STDERR.puts(I18n.t('ruby_version.current_version', engine: RUBY_ENGINE, version: RUBY_VERSION))
23
23
  STDERR.puts(I18n.t('ruby_version.use_more_recent'))
24
24
 
25
- if RubyVersion.is? 2.4
25
+ if RubyVersion.is? 2.6
26
+ STDERR.puts(I18n.('ruby_version.support_ended', version: '2.6.0', year: '2022', month: '03', day: '31'))
27
+ elsif RubyVersion.is? 2.5
28
+ STDERR.puts(I18n.('ruby_version.support_ended', version: '2.5.0', year: '2021', month: '03', day: '31'))
29
+ elsif RubyVersion.is? 2.4
26
30
  STDERR.puts(I18n.('ruby_version.support_ended', version: '2.4.0', year: '2020', month: '03', day: '31'))
27
- elsif RubyVersion.is? 2.3
28
- STDERR.puts(I18n.('ruby_version.support_ended', version: '2.3.0', year: '2019', month: '03', day: '31'))
29
- elsif RubyVersion.is? 2.2
30
- STDERR.puts(I18n.('ruby_version.support_ended', version: '2.2.0', year: '2018', month: '03', day: '31'))
31
- elsif RubyVersion.is? 2.1
32
- STDERR.puts(I18n.('ruby_version.support_ended', version: '2.1.0', year: '2017', month: '04', day: '01'))
33
- elsif RubyVersion.is? 2.0
34
- STDERR.puts(I18n.('ruby_version.support_ended', version: '2.0.0', year: '2016', month: '02', day: '24'))
35
- elsif RubyVersion.is? '1.9.3'
36
- STDERR.puts(I18n.('ruby_version.support_ended', version: '1.9.3', year: '2015', month: '02', day: '23'))
37
- elsif RubyVersion.is? '1.9.2'
38
- STDERR.puts(I18n.('ruby_version.support_ended', version: '1.9.2', year: '2014', month: '07', day: '31'))
39
31
  end
40
32
  exit 1
41
33
  end
42
34
 
43
- if RubyVersion < '2.4' # TODO: deprecate ruby 2.5 (eol 2021-03-31)
35
+ if RubyVersion < '3.0'
44
36
  STDERR.puts(I18n.t('ruby_version.current_version', engine: RUBY_ENGINE, version: RUBY_VERSION))
45
- STDERR.puts(I18n.t('ruby_version.deprecation_warning', version: '2.3'))
46
- STDERR.puts(I18n.t('ruby_version.support_ended', version: '2.3', year: '2019', month: '03', day: '31'))
37
+ STDERR.puts(I18n.t('ruby_version.deprecation_warning', version: '2.7'))
38
+ STDERR.puts(I18n.t('ruby_version.support_ended', version: '2.7', year: '2023', month: '03', day: '31'))
47
39
  end
48
40
 
49
41
  require 'hiptest-publisher'
@@ -57,6 +57,7 @@ en:
57
57
  Unable to build:
58
58
  %{node}
59
59
  title: Extracting data
60
+ caching_data: Caching data
60
61
  check_version:
61
62
  error: Unable to connect to Rubygem
62
63
  outdated: |
@@ -105,11 +106,11 @@ en:
105
106
  project.
106
107
 
107
108
  Note that settings section is available only to administrators of the project.
109
+ multiple_build_options: 'Error with --push: you can not specify both --build-id and --build-name options'
108
110
  multiple_filters: |
109
111
  You specified multiple filters for the export.
110
112
 
111
113
  Only one filter can be applied.
112
- multiple_build_options: 'Error with --push: you can not specify both --build-id and --build-name options'
113
114
  output_directory_not_directory: 'Error with --output-directory: the file "%{output_dir}" is not a directory'
114
115
  output_directory_not_writable: 'Error with --output-directory: the directory "%{output_dir}" is not writable'
115
116
  output_directory_parent_not_writable: 'Error with --output-directory: the directory "%{output_dir}" can not be created because "%{realpath}" is not writable'
@@ -132,9 +133,6 @@ en:
132
133
  test_run_list_unavailable: Cannot get the list of available test runs from CucumberStudio. Try using --test-run-id instead of --test-run-name
133
134
  exporting_file: Exporting %{name}
134
135
  fetching_data: Fetching data from CucumberStudio
135
- using_cached_data: Using cached data from previous export
136
- caching_data: Caching data
137
- using_cache: "Using cache: %{full_path}"
138
136
  help:
139
137
  categories:
140
138
  title: For language %{language}, available file groups are
@@ -170,6 +168,8 @@ en:
170
168
  aw_signature_changed: Output signatures of action words for which signature changed
171
169
  build_id: ID of an existing build the results will be added to
172
170
  build_name: Name for the build that will be created in CucumberStudio (build names are not unique)
171
+ cache_dir: Path to the directory to store cache of CucumberStudio data
172
+ cache_duration: Validity of the CucumberStudio data cache in seconds
173
173
  check_version: Check if a new release of hiptest-publisher is available
174
174
  color: Force [un]use of ANSI color in text output
175
175
  config: Configuration file
@@ -186,7 +186,8 @@ en:
186
186
  framework: Test framework to use
187
187
  global_failure_on_missing_reports: When there is no results file to push, report a global failure
188
188
  help: Show this message
189
- http_proxy: 'Specify your http proxy to access CucumberStudio'
189
+ http_proxy: Specify your http proxy to access CucumberStudio
190
+ indentation: Customize indentation
190
191
  keep_filenames: 'Keep the same name as in CucumberStudio for the test files (note: may cause encoding issues)'
191
192
  keep_foldernames: 'Keep the same name as in CucumberStudio for the folders (note: may cause encoding issues)'
192
193
  language: Target language
@@ -197,8 +198,8 @@ en:
197
198
  not_recursive: 'Used in conjunction with filter-on-folder-ids or filter-on-folder-name: only exports those folders, not their children'
198
199
  only: Restrict export to given file categories (--only=list to list them)
199
200
  output_directory: Output directory
200
- overriden_templates: Folder for overriden templates
201
201
  overriden_language_configs: Folder for overriden language configs
202
+ overriden_templates: Folder for overriden templates
202
203
  parameter_delimiter: Parameter delimiter (for Gherkin based export only)
203
204
  parent_folder_tags: 'Export tags from parent folders (note: if set to false, those tags are never rendered. Only available for Gherkin base exports)'
204
205
  push: Push a results file to the server
@@ -216,9 +217,6 @@ en:
216
217
  with_folders: Use folders hierarchy to export files in respective directories
217
218
  without: Exclude file categories from import (--only=list to list them)
218
219
  xml_file: XML file to use instead of fetching it from CucumberStudio
219
- cache_dir: "Path to the directory to store cache of CucumberStudio data"
220
- cache_duration: "Validity of the CucumberStudio data cache in seconds"
221
- indentation: Customize indentation
222
220
  overwrite:
223
221
  ask_confirmation: 'File %{path} exists, do you want to overwrite it? [y/N] '
224
222
  warning_message: File %{path} already exists, skipping. Use --force to overwrite it.
@@ -247,4 +245,6 @@ en:
247
245
  required_version: hiptest-publisher requires Ruby version >= %{version}.
248
246
  support_ended: Official support for Ruby %{version} ended on %{year}-%{month}-%{day}
249
247
  use_more_recent: Please use a more recent ruby release to run hiptest-publisher.
248
+ using_cache: 'Using cache: %{full_path}'
249
+ using_cached_data: Using cached data from previous export
250
250
  verbose_header: 'Running hiptest-publisher %{version} with:'
@@ -320,7 +320,7 @@ module Hiptest
320
320
  parameters['build_name'] = cli_options.build_name
321
321
  end
322
322
 
323
- parameters.empty? ? "" : "?#{parameters.map {|key, value| "#{key}=#{URI.escape(value)}"}.join("&")}"
323
+ parameters.empty? ? "" : "?#{parameters.map {|key, value| "#{key}=#{ERB::Util.url_encode(value)}"}.join("&")}"
324
324
  end
325
325
  end
326
326
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiptest-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - CucumberStudio R&D
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2022-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -54,22 +54,22 @@ dependencies:
54
54
  name: i18n
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 0.7.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
59
  version: '0.7'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 0.7.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 0.7.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
69
  version: '0.7'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 0.7.0
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: nokogiri
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -133,123 +133,123 @@ dependencies:
133
133
  - !ruby/object:Gem::Version
134
134
  version: 0.4.0
135
135
  - !ruby/object:Gem::Dependency
136
- name: pry
136
+ name: actionview
137
137
  requirement: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - "~>"
140
140
  - !ruby/object:Gem::Version
141
- version: '0'
141
+ version: '6'
142
142
  type: :development
143
143
  prerelease: false
144
144
  version_requirements: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - "~>"
147
147
  - !ruby/object:Gem::Version
148
- version: '0'
148
+ version: '6'
149
149
  - !ruby/object:Gem::Dependency
150
- name: pry-byebug
150
+ name: codeclimate-test-reporter
151
151
  requirement: !ruby/object:Gem::Requirement
152
152
  requirements:
153
153
  - - "~>"
154
154
  - !ruby/object:Gem::Version
155
- version: '3'
155
+ version: '0.4'
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: 0.4.6
156
159
  type: :development
157
160
  prerelease: false
158
161
  version_requirements: !ruby/object:Gem::Requirement
159
162
  requirements:
160
163
  - - "~>"
161
164
  - !ruby/object:Gem::Version
162
- version: '3'
165
+ version: '0.4'
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: 0.4.6
163
169
  - !ruby/object:Gem::Dependency
164
- name: rspec
170
+ name: i18n-coverage
165
171
  requirement: !ruby/object:Gem::Requirement
166
172
  requirements:
167
173
  - - "~>"
168
174
  - !ruby/object:Gem::Version
169
- version: '3.3'
175
+ version: 0.1.1
170
176
  type: :development
171
177
  prerelease: false
172
178
  version_requirements: !ruby/object:Gem::Requirement
173
179
  requirements:
174
180
  - - "~>"
175
181
  - !ruby/object:Gem::Version
176
- version: '3.3'
182
+ version: 0.1.1
177
183
  - !ruby/object:Gem::Dependency
178
- name: rspec-mocks
184
+ name: juwelier
179
185
  requirement: !ruby/object:Gem::Requirement
180
186
  requirements:
181
- - - "~>"
187
+ - - ">="
182
188
  - !ruby/object:Gem::Version
183
- version: '3.3'
189
+ version: '0'
184
190
  type: :development
185
191
  prerelease: false
186
192
  version_requirements: !ruby/object:Gem::Requirement
187
193
  requirements:
188
- - - "~>"
194
+ - - ">="
189
195
  - !ruby/object:Gem::Version
190
- version: '3.3'
196
+ version: '0'
191
197
  - !ruby/object:Gem::Dependency
192
- name: codeclimate-test-reporter
198
+ name: pry-byebug
193
199
  requirement: !ruby/object:Gem::Requirement
194
200
  requirements:
195
201
  - - "~>"
196
202
  - !ruby/object:Gem::Version
197
- version: '0.4'
198
- - - ">="
199
- - !ruby/object:Gem::Version
200
- version: 0.4.6
203
+ version: '3'
201
204
  type: :development
202
205
  prerelease: false
203
206
  version_requirements: !ruby/object:Gem::Requirement
204
207
  requirements:
205
208
  - - "~>"
206
209
  - !ruby/object:Gem::Version
207
- version: '0.4'
208
- - - ">="
209
- - !ruby/object:Gem::Version
210
- version: 0.4.6
210
+ version: '3'
211
211
  - !ruby/object:Gem::Dependency
212
- name: i18n-tasks
212
+ name: pry
213
213
  requirement: !ruby/object:Gem::Requirement
214
214
  requirements:
215
215
  - - "~>"
216
216
  - !ruby/object:Gem::Version
217
- version: 0.9.29
217
+ version: '0'
218
218
  type: :development
219
219
  prerelease: false
220
220
  version_requirements: !ruby/object:Gem::Requirement
221
221
  requirements:
222
222
  - - "~>"
223
223
  - !ruby/object:Gem::Version
224
- version: 0.9.29
224
+ version: '0'
225
225
  - !ruby/object:Gem::Dependency
226
- name: i18n-coverage
226
+ name: rspec-mocks
227
227
  requirement: !ruby/object:Gem::Requirement
228
228
  requirements:
229
229
  - - "~>"
230
230
  - !ruby/object:Gem::Version
231
- version: 0.1.1
231
+ version: '3.3'
232
232
  type: :development
233
233
  prerelease: false
234
234
  version_requirements: !ruby/object:Gem::Requirement
235
235
  requirements:
236
236
  - - "~>"
237
237
  - !ruby/object:Gem::Version
238
- version: 0.1.1
238
+ version: '3.3'
239
239
  - !ruby/object:Gem::Dependency
240
- name: actionview
240
+ name: rspec
241
241
  requirement: !ruby/object:Gem::Requirement
242
242
  requirements:
243
243
  - - "~>"
244
244
  - !ruby/object:Gem::Version
245
- version: '5.2'
245
+ version: '3.3'
246
246
  type: :development
247
247
  prerelease: false
248
248
  version_requirements: !ruby/object:Gem::Requirement
249
249
  requirements:
250
250
  - - "~>"
251
251
  - !ruby/object:Gem::Version
252
- version: '5.2'
252
+ version: '3.3'
253
253
  description: Provides a command-line tool that generates Java, Python or Ruby code
254
254
  to run the tests.
255
255
  email: studio@cucumber.io
@@ -257,9 +257,11 @@ executables:
257
257
  - hiptest-publisher
258
258
  extensions: []
259
259
  extra_rdoc_files:
260
+ - CHANGELOG.md
260
261
  - LICENSE
261
262
  - README.md
262
263
  files:
264
+ - CHANGELOG.md
263
265
  - LICENSE
264
266
  - README.md
265
267
  - bin/hiptest-publisher
@@ -767,14 +769,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
767
769
  requirements:
768
770
  - - ">="
769
771
  - !ruby/object:Gem::Version
770
- version: '0'
772
+ version: '2.7'
771
773
  required_rubygems_version: !ruby/object:Gem::Requirement
772
774
  requirements:
773
775
  - - ">="
774
776
  - !ruby/object:Gem::Version
775
777
  version: '0'
776
778
  requirements: []
777
- rubygems_version: 3.0.3.1
779
+ rubygems_version: 3.2.33
778
780
  signing_key:
779
781
  specification_version: 4
780
782
  summary: Export your tests from CucumberStudio into executable tests.