github-to-canvas 0.0.8 → 0.0.9
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/README.md +1 -1
- 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: 22e9d0258dc0813b99121938b37d82311ffb922ff0ffbcf4b222640e748f8659
|
|
4
|
+
data.tar.gz: b804e8f2a65a4d733409cfd3af3d3528bb696f3b458d9a1e30225b2d6f9cc5b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91ab69410efd3b89570ca9484942fd20799a2b2d074e7bd34de95c3bbd50606a435d11ab3d127021d7c4a4f460904644c0ded04f807725b9041681ed6f4b0710
|
|
7
|
+
data.tar.gz: 1757de283f3ad403cf3c49b3b89ea842b4f05cd9a075061e601f45690d597885b8d26bee069a5976236670eeb27af9aa731c73fdd35082f179ec4d59c699ea7c
|
data/README.md
CHANGED
|
@@ -71,7 +71,7 @@ page id, and the Canvas URL to the lesson for future reference.
|
|
|
71
71
|
You can override the default behaviors with the following arguments:
|
|
72
72
|
|
|
73
73
|
* `--name NAME` uses the provided name instead of the repository's folder name
|
|
74
|
-
* `--branch BRANCH` uses the provided git branch instead of `master`
|
|
74
|
+
* `--branch BRANCH` uses the provided git branch instead of `master`
|
|
75
75
|
* `--type TYPE` will accept either `'page'` or `'assignment'` and create the
|
|
76
76
|
appropriate Canvas lesson type instead of relying on the repository's
|
|
77
77
|
directory structure
|
data/bin/github-to-canvas
CHANGED
|
@@ -74,7 +74,7 @@ if options[:version]
|
|
|
74
74
|
GithubToCanvas.new(mode: 'version', course: nil)
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
if Dir.
|
|
77
|
+
if Dir.glob("**/*/").empty?
|
|
78
78
|
options[:type] = "page"
|
|
79
79
|
else
|
|
80
80
|
options[:type] = "assignment"
|