github-to-canvas 0.0.17 → 0.0.18

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: 4c34f751012912f2dab63047ccb3d988f7f2c072f72ef10fe197a11b65ef3ce4
4
- data.tar.gz: 8a8c5c2b21ff81708fb56d75154e1d286f2a6f4ec76f58b42b862b90dde26982
3
+ metadata.gz: 1d2401e90c6d9d0c5685f1ddfa95db6eed23ea68d379eadc54b461bd2c9ba402
4
+ data.tar.gz: 0ed088d60d553fb7045b863ebd38f78979697c7f0c7176342831062dc759b404
5
5
  SHA512:
6
- metadata.gz: 39e7585eb2b1f01dd30dda410abaad6b6440c377d573535e1bec44e9950136c46e89016a4d62449ae6c466956bff7ec78097e62576165cbbec007041dce6f767
7
- data.tar.gz: 327074a131b23b3ec67b7f21fe782894674eee079009eb637af9758e0992d30eeaf0093d86a931280ce968da2e6194bcfcb7ded701c68c9b25cd8860f83845e2
6
+ metadata.gz: 47db70465174ff2f61f4c51b0764f897bb43358e22ddabfda94f10c7cd9bd28604e46d4f51f06e88dd523dddc69fbfe026642a3e52dc04a338f784004738dd79
7
+ data.tar.gz: 3d922a6db5ae51824d028e0b00ecc3b6a05f00e4b71ac06bf14a250319ff095af1ceb9de33f1a1756e71afa59d7d6ecde7c68b5966fa0fd99e72f59454fbf3d7
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.glob("**/*/").empty?
77
+ if Dir.glob("**/*/").empty? && !options[:type]
78
78
  options[:type] = "page"
79
79
  else
80
80
  options[:type] = "assignment"
@@ -1,3 +1,3 @@
1
1
  class GithubToCanvas
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.18"
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.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - maxwellbenton