github-to-canvas 0.1.9 → 0.1.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71e183a1ea3659fdc71af9af4c1ce0370be119f4241e8773ac82fdee9400cf48
4
- data.tar.gz: ce08e0ec8f3f64471a4966a955e454d8a25cd95e9b9555dd61ca550ec77fe41b
3
+ metadata.gz: d3bc9a9619a7d1f9433a60066075fe8e41c7a5f10c44dc54ace52615c9e5776d
4
+ data.tar.gz: a39592e83cb79c15807d8acd075e9fbe263fff61a1e1e4260a7763eb795f9ae1
5
5
  SHA512:
6
- metadata.gz: 2b04300b61b6301f32512ca328f27affaa186082e0e35d8eeab7c748b77ba3c10a07a7309ba1d3e92563007910da3c9e70a7a1db37ce184b48763cc8d455ffb7
7
- data.tar.gz: 2cbe19f6cd61338619072f9f07e215762ce45ffbd3b3aa0672d3f77a1c3bd3a8e7837b5e237bf6b01bd4058ac05afaf5c547b82c1b829a8787b344c88fc21276
6
+ metadata.gz: a3a439ee1a1d689877192742011d3e4bdf43c5cc8d7b754487280830321056a796dee3c30113816b539d23fd3fe5f7132f5ae52fcca76704ee026e913de0705f
7
+ data.tar.gz: 24b47002d831b7389eced1a76fc120a9164a692f37be3984a8b078f253b2343204d5bcd8a767138d34168822291e240b5397e8ad20c001ed3ec8e1c6773e0873
@@ -1,7 +1,7 @@
1
1
  require 'json'
2
2
  require 'rest-client'
3
3
  require 'yaml'
4
- require 'byebug'
4
+ # require 'byebug'
5
5
  class CanvasInterface
6
6
 
7
7
  def self.create_course(course_info)
@@ -162,7 +162,7 @@ class RepositoryConverter
162
162
  remote = GithubInterface.git_remote(filepath)
163
163
  end
164
164
  raw_remote = remote.gsub("git@github.com:","https://raw.githubusercontent.com/")
165
- raw_remote = raw_remo te.gsub("https://github.com/","https://raw.githubusercontent.com/")
165
+ raw_remote = raw_remote.gsub("https://github.com/","https://raw.githubusercontent.com/")
166
166
  raw_remote = raw_remote.gsub(/\/blob\/master\/.*$/,"")
167
167
  raw_remote = raw_remote.gsub(/\/blob\/main\/.*$/,"")
168
168
  raw_remote = raw_remote.gsub(/.git$/,"")
@@ -1,3 +1,3 @@
1
1
  class GithubToCanvas
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
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.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - maxwellbenton