grade_runner 0.0.3.pre.4.pls.work.3.4 → 0.0.3.pre.4.pls.work.3.5

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 +5 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3f8ca6228442f74b1d32cb9a5bf1ba906f15b75b37e12549143a46555923e0c
4
- data.tar.gz: a7cf66e20559ce1074b5f8c7ed421b2db2050745a28d74bd7b90a5d48894c79e
3
+ metadata.gz: a3070707b4f8ce0045216305de0ebd9368876774487688607f5e93b820843b6c
4
+ data.tar.gz: 556eda5ee02b146fdffe3ae46675e9a7cd03170be7c7f19dc0100eb6323a8b66
5
5
  SHA512:
6
- metadata.gz: fc8858e0aaa83abe7adacefd2df8d96f1d829e00cca2b18805f3ee4c1428d9e848e39de597d444296924bbbd589b56b4799d0afb65ae9cc4cb3802c2a8b7c302
7
- data.tar.gz: 976e6f73f3e37fca6618621854bae630b40121012f99ec78a23533ae3d2a8685ef71c220bb23abaa0860c7de8ef50a6fda6ca821e26c1c751f2e54dede587980
6
+ metadata.gz: e98cde3b8ecfd9c32f91737e0ef1197594c4fc1043902483980514ad4d2beaecadcb937f3c852bf4203ea71c828ab5ebba3fe076c675b003cdf2d856b7e06ba0
7
+ data.tar.gz: 20a9a0e04210f4ae7844ae969858f8c051588131e5a25869098041a530b78e2248ee41ed94acbaf40637fd3610d8d8a4294df755331cffa209847fa7739240f5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3.pre.4.pls.work.3.4
1
+ 0.0.3.pre.4.pls.work.3.5
data/lib/tasks/grade.rake CHANGED
@@ -58,6 +58,8 @@ namespace :grade do
58
58
 
59
59
  if new_personal_access_token!= "" && is_valid_token?(submission_url, new_personal_access_token) == false
60
60
  p "You entered: #{new_personal_access_token}"
61
+ p submission_url
62
+ p "---"
61
63
  puts "Please enter valid token"
62
64
  new_personal_access_token = ""
63
65
  end
@@ -121,7 +123,10 @@ end
121
123
  def is_valid_token?(root_url, token)
122
124
  return false unless token.is_a?(String) && !(token =~ /^[1-9A-Za-z][^OIl]{23}$/).nil?
123
125
  p "remove me later"
126
+ p token.is_a?(String) && !(token =~ /^[1-9A-Za-z][^OIl]{23}$/).nil?
127
+ p root_url
124
128
  url = "#{root_url}/submissions/validate_token?token=#{token}"
129
+ p url
125
130
  p "url: #{url}"
126
131
  uri = URI.parse(url)
127
132
  p "uri: #{uri.to_s}"
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.3.pre.4.pls.work.3.4
4
+ version: 0.0.3.pre.4.pls.work.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raghu Betina