learn-submit 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/learn_submit/submission.rb +2 -0
- data/lib/learn_submit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd9a42b49631aeee8a18cb2d39f2ac858e240683
|
|
4
|
+
data.tar.gz: 42b9650890f4d798fb6c75b7a2b9f51c4c1e102e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9f6ae87964fac107940e135353fad751507126c917b14e0e36dbd2001c9d656ef74bdb357b470817d4a84d2a6fecaa9dc498a8f42a6183166b01b1873c7ce7e
|
|
7
|
+
data.tar.gz: 65ea1e61c81337a0cae275c190a2f5105b554a8c9c4ea594f4976604f4c481d2d249c9f7a32fb7f4df2c4572c80c2f3f2bc39db0963f0e52d19098e51d0cee2f
|
|
@@ -60,6 +60,7 @@ module LearnSubmit
|
|
|
60
60
|
submit!(retries-1)
|
|
61
61
|
else
|
|
62
62
|
puts "Sorry, there's a problem reaching Learn right now. Please try again."
|
|
63
|
+
File.write(file_path, 'ERROR: Error connecting to learn.')
|
|
63
64
|
exit
|
|
64
65
|
end
|
|
65
66
|
end
|
|
@@ -71,6 +72,7 @@ module LearnSubmit
|
|
|
71
72
|
exit
|
|
72
73
|
when 404
|
|
73
74
|
puts 'Sorry, it seems like there was a problem connecting with Learn. Please try again.'
|
|
75
|
+
File.write(file_path, 'ERROR: Error connecting to learn.')
|
|
74
76
|
exit
|
|
75
77
|
else
|
|
76
78
|
puts pr_response.message
|
data/lib/learn_submit/version.rb
CHANGED