github-to-canvas 0.1.9 → 0.1.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3bc9a9619a7d1f9433a60066075fe8e41c7a5f10c44dc54ace52615c9e5776d
|
4
|
+
data.tar.gz: a39592e83cb79c15807d8acd075e9fbe263fff61a1e1e4260a7763eb795f9ae1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3a439ee1a1d689877192742011d3e4bdf43c5cc8d7b754487280830321056a796dee3c30113816b539d23fd3fe5f7132f5ae52fcca76704ee026e913de0705f
|
7
|
+
data.tar.gz: 24b47002d831b7389eced1a76fc120a9164a692f37be3984a8b078f253b2343204d5bcd8a767138d34168822291e240b5397e8ad20c001ed3ec8e1c6773e0873
|
@@ -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 =
|
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$/,"")
|