qaxqa 1.3.2 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58b8a56980976687b26ac178736e9289f9024004
4
- data.tar.gz: 41748f878946fba9c8ff411e5998797867efdff1
3
+ metadata.gz: a3e1f9b28810aeb2193dd5cb8ecbb81ee9c12167
4
+ data.tar.gz: 4db248844194dcfeec75e3df60faf278e9d9cac8
5
5
  SHA512:
6
- metadata.gz: 18c27fd379900d5649f738a371306018db3997ce78ca3d9a504fe940d0597b8369f750e8e3458b5336e35f8823e35e54660e9028f3eeab61744d6731cfacaf7d
7
- data.tar.gz: 5e0e68f9c605e163911343408d36c83bed3d09e06ffff6a63ed4178a4e5f5d408b625277bb4f5df38eedaa97066d64bf8088d615de8243e3ed2e17e1629b7e7d
6
+ metadata.gz: be46865674fe11ecd69de817b9376bef7b6418d48f9065272194343cea9dd368987c68274c1ab1a923d920218eb2f511bff5139ca546208249d49b5aebbb37f3
7
+ data.tar.gz: e08e0b14e32b16416f3bbae368292abb40c66ee239300ba09b89d08cb2be4119e4052c632505261b59c9a260ed1baa29a88516fcee7d9ed049815ffc0c6bc1b5
@@ -14,6 +14,7 @@ module Qaxqa
14
14
 
15
15
  def insert_cases(ws, cases, line)
16
16
  cases.each_with_index do |tc|
17
+ start_line = line + 1
17
18
  tc.steps.each_with_index do |step|
18
19
  line +=1
19
20
  ws.add_cell(line, 0, tc.subject)
@@ -25,6 +26,11 @@ module Qaxqa
25
26
  ws.add_cell(line, 6, step.expectedresults)
26
27
  ws.add_cell(line, 7, tc.test_type)
27
28
  end
29
+ ws.merge_cells(start_line, 0, line, 0)
30
+ ws.merge_cells(start_line, 1, line, 1)
31
+ ws.merge_cells(start_line, 2, line, 2)
32
+ ws.merge_cells(start_line, 3, line, 3)
33
+ ws.merge_cells(start_line, 7, line, 7)
28
34
  end
29
35
  return line
30
36
  end
data/lib/qaxqa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Qaxqa
2
- VERSION = "1.3.2"
2
+ VERSION = "1.4.0"
3
3
  end
data/output.xlsx CHANGED
Binary file
data/output2.xlsx ADDED
Binary file
data/~$output2.xlsx ADDED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qaxqa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronaldo Possan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-09 00:00:00.000000000 Z
11
+ date: 2017-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -140,7 +140,9 @@ files:
140
140
  - lib/qaxqa/testsuite.rb
141
141
  - lib/qaxqa/version.rb
142
142
  - output.xlsx
143
+ - output2.xlsx
143
144
  - qaxqa.gemspec
145
+ - "~$output2.xlsx"
144
146
  homepage: https://github.com/rpossan/qaxqa
145
147
  licenses:
146
148
  - MIT