grade_runner 0.0.4.pre.1 → 0.0.4.pre.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/tasks/grade.rake +3 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0d5594572bec1135a4b450337a2e19bb4ebac70391fb5a07f44b144a391598c
4
- data.tar.gz: 6cce5686313ee19768a9a4d47b629570b34d24a3c1e6387ec4a3de1b628045db
3
+ metadata.gz: 8a4c43885d1985b02f47d454b4dc69602f89a2c932c8c02f981479bd4ffa0a3a
4
+ data.tar.gz: 52d21877c635c1c053a8c5344489167220a686802d7ffb0b29ada06487d85907
5
5
  SHA512:
6
- metadata.gz: 63137c0908311fa1e8be305dc58c22a78052f9e0eed81559707ff54d77ab6e33273fe11fab42fbcc678e38f43fab2b5307de8a640600a1c9bcf4da943f954fa5
7
- data.tar.gz: b84198012f42fc3beb0c997b6d0713a9a42e32229c3a58e188975d261922f825320366ae86e78f7d91fe68e1d3254e3c9bf4e5a6686f69b19bda39bcac767598
6
+ metadata.gz: 0de95ef5817bf6a8c2ea79cbfd15aa34ca1f25ca4dbf1d784ef13b13cf3ef4cf04ea290007450a0a9aa93ac1124c9da8813ff62957d9e1b70ccf9cb535c9909f
7
+ data.tar.gz: 7900590c695a9cbb756a1054a1ae3932ab85bedabe7b31d317d4bc690b890dbf7e3b8173797fd423ead2bb226011b7d362515ff76cbb0ed4c850567b53076ca5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4.pre.1
1
+ 0.0.4.pre.11
data/lib/tasks/grade.rake CHANGED
@@ -31,7 +31,7 @@ namespace :grade do
31
31
  submission_url = "https://grades.firstdraft.com"
32
32
  end
33
33
 
34
- if input_token != false && input_token != "" && input_token != " " && !input_token.nil? && input_token != [] && input_token != {}
34
+ if (input_token != false && input_token != "" && input_token != " " && !input_token.nil? && input_token != [] && input_token != {})
35
35
 
36
36
  token = input_token
37
37
  student_config["personal_access_token"] = input_token
@@ -47,7 +47,7 @@ namespace :grade do
47
47
  print "> "
48
48
  new_personal_access_token = $stdin.gets.chomp.strip
49
49
 
50
- if new_personal_access_token!= "" && is_valid_token?(submission_url, new_personal_access_token) == false
50
+ if ((new_personal_access_token!= "") && i(s_valid_token?(submission_url, new_personal_access_token) == false))
51
51
  puts "Please enter valid token"
52
52
  new_personal_access_token = ""
53
53
  end
@@ -60,7 +60,7 @@ namespace :grade do
60
60
  end
61
61
  end
62
62
 
63
- if token != false && token != "" && token != " " && !token.nil? && token != [] && token != {}
63
+ if (token != false && token != "" && token != " " && !token.nil? && token != [] && token != {})
64
64
  if is_valid_token?(submission_url, token) == false
65
65
  student_config["personal_access_token"] = nil
66
66
  update_config_file(config_file_name, student_config)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grade_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.pre.1
4
+ version: 0.0.4.pre.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raghu Betina