reportir 0.3.4 → 0.3.5
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/lib/reportir.rb +2 -1
- data/lib/reportir/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: e4be14c73866eb70c050e4d48455a8dcf76371a3
|
|
4
|
+
data.tar.gz: 8e9d90701f402cf562cbd97b89abbb8673568089
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a42af442b9cf795b5ecc70912c6af993662aa140e6a1ee5b6621886b5c04e0275e09826027b9ba8a540e4e301fe974d7952700fcecafb51bdfaf724aac2aeae1
|
|
7
|
+
data.tar.gz: 8899de266fb3693d6d603f90f3a51d5d5fc44ba658894fb124e8523bee6eb7fe07a9d73ecb55dd910a377f1429d4ef0424a62f4f6a3906979091aeeb90ddc46d
|
data/lib/reportir.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'aws-sdk'
|
|
|
5
5
|
#TODO: RSpec::Core::Formatters.register
|
|
6
6
|
|
|
7
7
|
module Reportir
|
|
8
|
-
@@step = 0
|
|
8
|
+
@@step = 0 #TODO: Dont use class variables! Use class instance vars
|
|
9
9
|
@@tests = [] # has to be array for front-end
|
|
10
10
|
|
|
11
11
|
def upload_result_to_s3_as_static_site
|
|
@@ -93,6 +93,7 @@ module Reportir
|
|
|
93
93
|
var navigation = #{array_of_test_names.to_json};
|
|
94
94
|
var tests = #{@@tests.to_json};
|
|
95
95
|
}
|
|
96
|
+
FileUtils.mkdir_p("#{local_root}/js")
|
|
96
97
|
File.open(local_model_file_path, "w") { |f| f.write(string) }
|
|
97
98
|
end
|
|
98
99
|
|
data/lib/reportir/version.rb
CHANGED