rspec_n 1.1.0 → 1.2.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/rspec_n/formatters/file_formatter.rb +3 -2
- data/lib/rspec_n/runner.rb +1 -1
- data/lib/rspec_n/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd9139bd338b7e4fe2ed983d0201d37160733550
|
4
|
+
data.tar.gz: 1a4b4c06eb9c2c5346b7226a1afc89d075d16941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdbe60af92d7dd0ceeacdc1c82b39ccad92b79ad3d5923aedef67b01b1cd7068be571082855d4d1f077bf72db1621f9ebbf4ddcd431849e79adaba1aea2d28c1
|
7
|
+
data.tar.gz: 684b3b9222560d657de3e84294f6820cefe9f53599fe8df5ebb411fd96c096fb369b5a175d492175899b5a284ed53fa480648b750bf16e72825aa5af10124e93
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 1.2.0 (Mar 03, 2019)
|
4
|
+
|
5
|
+
1. (New) Write the command that was used to run rspec_n to the output files. ([Issue #26](https://github.com/roberts1000/rspec_n/issues/26))
|
6
|
+
|
3
7
|
## 1.1.0 (Mar 03, 2019)
|
4
8
|
|
5
9
|
1. (New) Add **Result Counts** column which shows the result counts for each run (e.g. "400 examples, 2 failures, 3 pending" ). ([Issue #19](https://github.com/roberts1000/rspec_n/issues/19))
|
@@ -15,7 +15,7 @@ module RspecN
|
|
15
15
|
Dir.glob("#{BASE_FILE_NAME}.**").each { |file| File.delete(file) }
|
16
16
|
end
|
17
17
|
|
18
|
-
def write(run)
|
18
|
+
def write(run, command)
|
19
19
|
return if run.skipped?
|
20
20
|
return unless @runner.input.write_files?
|
21
21
|
|
@@ -25,7 +25,8 @@ module RspecN
|
|
25
25
|
f.write("Iteration: #{run.iteration}\n")
|
26
26
|
f.write("Start Time: #{run.formatted_start_time(@format)}\n")
|
27
27
|
f.write("Finish Time: #{run.formatted_finish_time(@format)}\n")
|
28
|
-
f.write("Duration: #{convert_seconds_to_hms(run.duration_seconds)}\n
|
28
|
+
f.write("Duration: #{convert_seconds_to_hms(run.duration_seconds)}\n")
|
29
|
+
f.write("Command: #{command}\n\n")
|
29
30
|
f.write(run.rspec_stdout)
|
30
31
|
f.write(run.rspec_stderr)
|
31
32
|
end
|
data/lib/rspec_n/runner.rb
CHANGED
data/lib/rspec_n/version.rb
CHANGED