github-to-canvas 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/github-to-canvas/canvas_interface.rb +0 -3
- data/lib/github-to-canvas/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b94622944d8bc1fca2bf802c4fcb9705c8fb9e51072b363cfe8be85c5304680
|
4
|
+
data.tar.gz: ba10efd6629d42c8bf53d729c4a739f7ee5954c978357382841079020d32386f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc71149053f243875c46622f376a13996b16b892e09153af2d6189652f082d1fa5b4d6d2cd5adb920484f30bb91e303d3d89b50aa3ccacb2a0885570b548ea61
|
7
|
+
data.tar.gz: facf3dbde83c5d033f08aadbcf399d9112364e57da18056da6c0fbd65634df6718fc3ae41c16d7e84252369dbeca57e1b8c151d13f8135ffc0b70273993e68b6
|
@@ -98,9 +98,6 @@ class CanvasInterface
|
|
98
98
|
lesson_info = lesson_info[0] if lesson_info.kind_of?(Array)
|
99
99
|
url = url.sub(/[^\/]+$/, lesson_info["page_id"].to_s)
|
100
100
|
end
|
101
|
-
puts url
|
102
|
-
puts payload
|
103
|
-
puts headers
|
104
101
|
response = RestClient.put(url, payload, headers)
|
105
102
|
rescue Exception => e
|
106
103
|
puts "Something went wrong while pushing lesson #{options[:id]} to course #{options[:course_id]}"
|