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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dff4b10d00388a29ae1c48f98fdbde7802390732
4
- data.tar.gz: 0f8b4b61f93d6d46ce1042da7fc71569e99d4a81
3
+ metadata.gz: cd9a42b49631aeee8a18cb2d39f2ac858e240683
4
+ data.tar.gz: 42b9650890f4d798fb6c75b7a2b9f51c4c1e102e
5
5
  SHA512:
6
- metadata.gz: 457014ed8aa2d91aadb45dbd25b773258f3e2c05c58d73dc564968b3ef73aac40c1ac3d79d54c1e52444b90b13fb67726cfccb7c1f05687bce548a23e7a61945
7
- data.tar.gz: e6af432a1963d96a3ee76044f3c12393a1d3fcafc30516e4583a78c9b2f72ed577c1bf6d651404985c446c6d697ee77166ce872dacefa3c87daec97b86abaa49
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
@@ -1,3 +1,3 @@
1
1
  module LearnSubmit
2
- VERSION = '1.0.6'
2
+ VERSION = '1.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: learn-submit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flatiron School