github-to-canvas 0.0.16 → 0.0.17
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/bin/github-to-canvas +1 -1
- 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: 4c34f751012912f2dab63047ccb3d988f7f2c072f72ef10fe197a11b65ef3ce4
|
|
4
|
+
data.tar.gz: 8a8c5c2b21ff81708fb56d75154e1d286f2a6f4ec76f58b42b862b90dde26982
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39e7585eb2b1f01dd30dda410abaad6b6440c377d573535e1bec44e9950136c46e89016a4d62449ae6c466956bff7ec78097e62576165cbbec007041dce6f767
|
|
7
|
+
data.tar.gz: 327074a131b23b3ec67b7f21fe782894674eee079009eb637af9758e0992d30eeaf0093d86a931280ce968da2e6194bcfcb7ded701c68c9b25cd8860f83845e2
|
data/bin/github-to-canvas
CHANGED
|
@@ -48,7 +48,7 @@ OptionParser.new do |opts|
|
|
|
48
48
|
end
|
|
49
49
|
opts.on("-tTYPE", "--type TYPE",
|
|
50
50
|
"Sets the type Canvas lesson to be created (page or assignment). If no type, type decided based on repository structure") do |type|
|
|
51
|
-
if
|
|
51
|
+
if type == 'page' || type == 'assignment'
|
|
52
52
|
options[:type] = type
|
|
53
53
|
else
|
|
54
54
|
puts "Invalid type. Defaulting to page"
|