grade_runner 0.0.3.pre.4.pls.work.3.6.1 → 0.0.3.pre.4.pls.work.3.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/tasks/grade.rake +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca0c1c710af315b50aad8a40e576931d721af0a284016b5cb894f8a8318ce1e5
|
4
|
+
data.tar.gz: 5153e46efed869de63a4a179e92f07f3d40ff937deef16d6112cc0cf0b8445b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a975b11f6354e80bf6167c446e95a5e6ab7bf466c4d2cf7a1dce8ab706088ad5bd83b1821d065676a27eb8ad421cfc7f971c5c26a4b2716733b463366e8e287d
|
7
|
+
data.tar.gz: b657a14352dead614041d24c23d1bf972e5bf916a975c6e2cdced6a578028903132399e40a6a226d7c6720594094196d25de83a09bfce580945c157f228fc392
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.3.pre.4.pls.work.3.6.
|
1
|
+
0.0.3.pre.4.pls.work.3.6.2
|
data/lib/tasks/grade.rake
CHANGED
@@ -86,7 +86,9 @@ namespace :grade do
|
|
86
86
|
else
|
87
87
|
path = File.join(__dir__, "/tmp/output/#{Time.now.to_i}.json")
|
88
88
|
# `bin/rails db:migrate RAILS_ENV=test`
|
89
|
-
|
89
|
+
if Dir.exist?("bin")
|
90
|
+
`bin/rake db:migrate`
|
91
|
+
end
|
90
92
|
# `RAILS_ENV=test bundle exec rspec --order default --format JsonOutputFormatter --out #{path}`
|
91
93
|
`bundle exec rspec --order default --format JsonOutputFormatter --out #{path}`
|
92
94
|
rspec_output_json = JSON.parse(File.read(path))
|