qat-cucumber 9.0.0 → 9.0.2

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: 55d940ccb7a63d3bc0a97e714f9b0f3f893e18bcde0ef4941d0f45481aca107b
4
- data.tar.gz: 8178dccbd1438153737ca363009c24049f5f1ef6140af90e901f85719387441e
3
+ metadata.gz: 6d836137b13ae88ac87b3f43d59ef14e20dbd55b3d663a5ba744394b4ce59f5b
4
+ data.tar.gz: a8680e61b30c0d109b9eb6921c4cef57b0b8da455c264b90ed2edc2863828af5
5
5
  SHA512:
6
- metadata.gz: 3c2192cb9876d80a67304b71bb0f7fc0fbffadf93a523c6f5dcb9184f4d18a9b08a979d30982e2c306d18a2ae43de83b81bacab18ab354519323862c34ed067f
7
- data.tar.gz: 6bf484246f4504c0283bea93a06b5f0755d2c87a93d0ece1197698f9a3d484a9f7dba767b5092ab6cfbf6854c17580dadcae2d08bf8ae1c0afe4e295d83abdc1
6
+ metadata.gz: f90dd4e750491fe0d8d6a000c41588b44f28d6acf3dce865f52f0a26ad3ea8917c1f5c38736643698d4feb180bf5a94d4187f27abdb29f00332ea7d646934f52
7
+ data.tar.gz: 572ffa614854d38180f1d8b0697c2cf3dbe8a4d2460692cc40e0af5f8e9e72741eb1582f8288a53addb74146f0b410042745fbcaec3424a8edd6c7cfc258f3bc
@@ -19,7 +19,7 @@ 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
- if opts.present?
22
+ if opts.any?
23
23
  mkdir name, verbose: true
24
24
  cp_r ::File.join(::File.dirname(__FILE__), '..', '..', 'project', '.'), name
25
25
  cd name do
@@ -10,6 +10,6 @@ module QAT
10
10
  #@since 0.1.0
11
11
  module Cucumber
12
12
  # Represents QAT's version
13
- VERSION = '9.0.0'
13
+ VERSION = '9.0.2'
14
14
  end
15
15
  end
@@ -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: 9.0.0
4
+ version: 9.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - QAT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-31 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
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
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