github-to-canvas 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3bc9a9619a7d1f9433a60066075fe8e41c7a5f10c44dc54ace52615c9e5776d
4
- data.tar.gz: a39592e83cb79c15807d8acd075e9fbe263fff61a1e1e4260a7763eb795f9ae1
3
+ metadata.gz: 25c87f7d039c5d682c061bd089500daa36fbc17944f2b396b7e4e4d09d54d071
4
+ data.tar.gz: f30fae04f6ce01b02b9fb8462eae2bee98504cfcb24a5f56a6642c8cd971d068
5
5
  SHA512:
6
- metadata.gz: a3a439ee1a1d689877192742011d3e4bdf43c5cc8d7b754487280830321056a796dee3c30113816b539d23fd3fe5f7132f5ae52fcca76704ee026e913de0705f
7
- data.tar.gz: 24b47002d831b7389eced1a76fc120a9164a692f37be3984a8b078f253b2343204d5bcd8a767138d34168822291e240b5397e8ad20c001ed3ec8e1c6773e0873
6
+ metadata.gz: f04b54f431b6a6c9b786ec8b4542a3a7f488eadf2c3adb632369e3da38522d38bbb7f51d07ebafee759140421bbf932a5e9f834fbe82a094d637f7ba92c5f86a
7
+ data.tar.gz: 7ad2efd5ddb65d660cb3c0d12fb11d14cac39d2b1495e0eb2eb5e7b73ca8c711fc0064b84f3ef2eb0d7bdd09bd547a95b703832edfbacbb454962caabab38585
@@ -100,9 +100,10 @@ class CanvasInterface
100
100
  end
101
101
 
102
102
  response = RestClient.put(url, payload, headers)
103
- rescue
103
+ rescue Exception => e
104
104
  puts "Something went wrong while pushing lesson #{options[:id]} to course #{options[:course_id]}"
105
105
  puts "Make sure you are working on lessons that are not locked"
106
+ raise e
106
107
  abort
107
108
  end
108
109
  JSON.parse(response.body)
@@ -1,3 +1,3 @@
1
1
  class GithubToCanvas
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-to-canvas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - maxwellbenton