qat-cucumber 7.0.4 → 9.0.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: 52049a50f92285548892ab45b105aeda40630d3cb8051adfe644700b0e92189c
4
- data.tar.gz: d0bc611a1eb4ddd61ee3510371421488776db8e6f0bccede00d123e55634d87a
3
+ metadata.gz: 40e73d0f7a47a0391d3fe6fcca7b6b28820e2d4e83c10af9ae7becd3bc4bd9e4
4
+ data.tar.gz: 7002b35e9c02766a9e96bfbaa88b86445288bee5ced208c8d3352bf7c1d822a7
5
5
  SHA512:
6
- metadata.gz: 1b1f39bceb8c052f341eb38cc55caaa9759516d89eb656eb1c7ed38b66f4a7da7c22a696b62b6b16267d88cb72b904c291cf5f89f8dea35de057049db42f4303
7
- data.tar.gz: 21871419441011ffc39378b804d4b4d6281c709b5e8a4225eadac053ddf69b232a117fa12c1fa90efbad2e52788fbeef62a475a849df2777cd66d0a3b1c3a485
6
+ metadata.gz: 7fe731177d721db2855aaf801fd5520f1518756b061a51fe2e54289d37062c89be1f6e118f5da4ce5453f1fb319ef5ff8b676ed29809145ef2332e13fa0290c2
7
+ data.tar.gz: d0573fc4fa26cc91e0fb6213171a0c351e814c56becacc254c69493b19a5bcbb8769a96f68c017220baaa94cbc7e8214e1a2e54fc5c0fc4050b533a2770e2752
data/bin/qat CHANGED
File without changes
@@ -19,14 +19,25 @@ module QAT::CLI::Generator
19
19
  raise ArgumentError.new 'No project name given' unless name
20
20
  raise ArgumentError.new "The project '#{name}' already exists" if ::File.directory? name
21
21
 
22
- mkdir name, opts
23
- cp_r ::File.join(::File.dirname(__FILE__), '..', '..', 'project', '.'), name, opts
24
- cd name, opts do
25
- mkdir_p ::File.join('config', 'common'), opts
26
- mkdir_p 'lib', opts
27
- mkdir_p 'public', opts
22
+ if opts.present?
23
+ mkdir name, verbose: true
24
+ cp_r ::File.join(::File.dirname(__FILE__), '..', '..', 'project', '.'), name
25
+ cd name do
26
+ mkdir_p ::File.join('config', 'common'), verbose: true
27
+ mkdir_p 'lib', verbose: true
28
+ mkdir_p 'public', verbose: true
29
+ end
30
+ else
31
+ mkdir name
32
+ cp_r ::File.join(::File.dirname(__FILE__), '..', '..', 'project', '.'), name
33
+ cd name do
34
+ mkdir_p ::File.join('config', 'common')
35
+ mkdir_p 'lib'
36
+ mkdir_p 'public'
37
+ end
28
38
  end
29
39
 
40
+
30
41
  end
31
42
  end
32
43
  end
@@ -32,7 +32,7 @@ module QAT
32
32
  files = [File.join(configuration_directory, configuration.environment, 'logger.yml'),
33
33
  File.join(configuration_directory, 'common', 'logger.yml')]
34
34
 
35
- config = files.select { |file| File.exists?(file) }
35
+ config = files.select { |file| File.exist?(file) }
36
36
 
37
37
  config.first
38
38
  end
@@ -10,6 +10,6 @@ module QAT
10
10
  #@since 0.1.0
11
11
  module Cucumber
12
12
  # Represents QAT's version
13
- VERSION = '7.0.4'
13
+ VERSION = '9.0.1'
14
14
  end
15
15
  end
data/lib/qat/cucumber.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
+ require "active_support"
2
3
  require 'minitest'
3
4
  require 'cucumber'
4
5
  require_relative 'cucumber/version'
@@ -77,7 +77,7 @@ module QAT
77
77
 
78
78
  def add_values_to_examples(cells)
79
79
  @examples_values = cells.map do |data|
80
- data[:value].to_s
80
+ data.value.to_s
81
81
  end
82
82
  end
83
83
 
@@ -44,7 +44,7 @@ module QAT
44
44
  def get_example_values(scenario_source)
45
45
  scenario_source.examples.table_body.each do |row|
46
46
  if row == scenario_source.row
47
- add_values_to_examples row[:cells]
47
+ add_values_to_examples row.cells
48
48
  end
49
49
  end
50
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qat-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.4
4
+ version: 9.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - QAT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-28 00:00:00.000000000 Z
11
+ date: 2023-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -16,98 +16,112 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: '8.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.0
26
+ version: '8.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: psych
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "<"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ">="
45
+ - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '0'
47
+ version: '13.0'
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - ">="
52
+ - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '0'
54
+ version: '13.0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: activesupport
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - ">="
59
+ - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '0'
61
+ version: '7.0'
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ">="
66
+ - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '0'
68
+ version: '7.0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: nokogiri
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ">="
73
+ - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '0'
75
+ version: '1.15'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ">="
80
+ - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '0'
82
+ version: '1.15'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: qat-core
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '8.0'
89
+ version: '9.0'
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '8.0'
96
+ version: '9.0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: qat-devel
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: '8.0'
103
+ version: '9.0'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: '8.0'
110
+ version: '9.0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: httparty
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: '0.15'
117
+ version: '0.21'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: '0.15'
124
+ version: '0.21'
111
125
  description: |2
112
126
  QAT is a Cucumber-based toolkit for automating tests, including a list fo modules for:
113
127
  - Time manipulation
@@ -170,11 +184,11 @@ files:
170
184
  - lib/qat/tasks/tags/test_ids/helpers.rb
171
185
  - lib/qat/tasks/tags/test_ids/report.rb
172
186
  - lib/qat/tasks/test.rb
173
- homepage: https://www.readinessit.com
187
+ homepage: https://www.ritain.io
174
188
  licenses:
175
189
  - GPL-3.0
176
190
  metadata:
177
- source_code_uri: https://github.com/readiness-it/qat-cucumber
191
+ source_code_uri: https://github.com/Ritain-io/qat-cucumber
178
192
  post_install_message:
179
193
  rdoc_options: []
180
194
  require_paths:
@@ -183,14 +197,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
197
  requirements:
184
198
  - - "~>"
185
199
  - !ruby/object:Gem::Version
186
- version: '2.5'
200
+ version: '3.2'
187
201
  required_rubygems_version: !ruby/object:Gem::Requirement
188
202
  requirements:
189
203
  - - ">="
190
204
  - !ruby/object:Gem::Version
191
205
  version: '0'
192
206
  requirements: []
193
- rubygems_version: 3.0.8
207
+ rubygems_version: 3.3.26
194
208
  signing_key:
195
209
  specification_version: 4
196
210
  summary: QAT is a Cucumber-based toolkit for automating tests.