grade_runner 0.0.4.pre.14 → 0.0.4.pre.15

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 +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b233ba77bd51ae9343c8bee2ca2e5d417d92823da9ec0f4a8472184664007807
4
- data.tar.gz: 90ab2504b7f8c6e18ffe83e88909a6d846c40b46ef486ec95623011dfdd9151b
3
+ metadata.gz: af3f8d17eef94c81960248e416026c8b7d9db0a06d8358d1746f24c5289f9d3d
4
+ data.tar.gz: 9554b2c2635bcdb6f5bafcc0d09d66f6ba7f8fc9406fddc5aa9205bc8c46140e
5
5
  SHA512:
6
- metadata.gz: ad6694cfec85f3981dac8d85c3668cb1022c041a7a5caddea95294f4b8396eca0eea541ea1364507491bb6ccadfd9dc844213a0c0a1bdc2a9c005d7c20a49d1a
7
- data.tar.gz: 27932fee8af5d28e02747df4769da44b36d9fa1df263a67814d5b9e57e24eedc4b136350eb9cb1ff585e42fc6505f7951f6fedfa68d254a69fa2f5068d2084bc
6
+ metadata.gz: 556a694ae280916c88d6d995dc18588db647889a7eb014cdac7f2040060e378978c75984568e81bacb8096c1ab9e7697f745cc749d5012ceda3dc5494eebd3f0
7
+ data.tar.gz: 0f7e850cb469501569841c32cc8b877d8a80ec4ad13a9ed7e0bc365d5f6d5f5764d4d904bfbb24a46a6ec81a0604d593ce51cdee882181e11a6f72ada98c82c8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4.pre.14
1
+ 0.0.4.pre.15
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?
34
+ if input_token != "" && input_token != " " && !input_token.nil?
35
35
 
36
36
  token = input_token
37
37
  student_config["personal_access_token"] = input_token
@@ -60,7 +60,7 @@ namespace :grade do
60
60
  end
61
61
  end
62
62
 
63
- if token != false && token != "" && token != " " && !token.nil?
63
+ if token != "" && token != " " && !token.nil?
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.14
4
+ version: 0.0.4.pre.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raghu Betina