grade_runner 0.0.3.pre.4.pls.work.3.6.3 → 0.0.3.pre.4.pls.work.3.6.4
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 +2 -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: d8d79836143ff66f94d67032f10cf1958fa2eb9bd70dfc395335894826ab783f
|
4
|
+
data.tar.gz: 385f0f2cb39c02a3904dbca9bc9f70dbfdcee0422bce62abd6a8e402c0551bf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be1092b4654f5185ade6c11fb3501d509bc567725f012351656d09f7b67754faa0a488c80ef9e1118a4af4150c91f8e4eb68c1e08011906fa4252b1e19c298b1
|
7
|
+
data.tar.gz: 83f3c3e9cc4066e06034d4b2b88ede3af1af50a2934cda831d68ca9bb9e925e3fdb57e5ef7e9af13c1d4f5dde0404cc825a4ec5dc99a88a82fdecdfef0a5af9f
|
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.4
|
data/lib/tasks/grade.rake
CHANGED
@@ -13,7 +13,7 @@ namespace :grade do
|
|
13
13
|
input_token = ARGV[1]
|
14
14
|
file_token = nil
|
15
15
|
|
16
|
-
config_file_name = File.join(
|
16
|
+
config_file_name = File.join(project_root, "grades.yml")
|
17
17
|
student_config = {}
|
18
18
|
student_config["submission_url"] = "https://grades.firstdraft.com"
|
19
19
|
|
@@ -85,6 +85,7 @@ namespace :grade do
|
|
85
85
|
puts "Your access token looked invalid, so we've reset it to be blank. Please re-run rake grade and, when asked, copy-paste your token carefully from the assignment page."
|
86
86
|
else
|
87
87
|
path = File.join(project_root, "/tmp/output/#{Time.now.to_i}.json")
|
88
|
+
p path
|
88
89
|
# `bin/rails db:migrate RAILS_ENV=test`
|
89
90
|
if Dir.exist?("bin")
|
90
91
|
`bin/rake db:migrate`
|