github-to-canvas 0.0.15 → 0.0.16

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: 98f8ae0d915a1a0812d6b4777358098785861ffd4117bdc4836e86a2a8301aad
4
- data.tar.gz: a50127f7f2f5281e3eaf736fdc37097c8de795b4b2bfb7532cf1a97db113d816
3
+ metadata.gz: 3152fc876a1490ceeb473de2839518c2ced04e535ea246de7fd49c0a07003ff6
4
+ data.tar.gz: d13329c8279a5b6cc971b6d3ef75a34bec6c4a4f329aba35f34a1bb7eb59a337
5
5
  SHA512:
6
- metadata.gz: d067f9cfcf558b43bafc5c304ed806c7529d8de179148a84030982c39681d973e3dda04333db5dce52928a9faf13946ae63d152bf6ca8d194397d0d3ffbdfde9
7
- data.tar.gz: f78da19c7dee06b800e78bde25bff91a582e5bbbc611b2f016b30836ada9b9dcb7ad90c5bbaaeb51335360033c06a973ce20fb5471696d79559c6524bb0be2bf
6
+ metadata.gz: 208aa644d3bcdec1c7f393c12cacaee4ad80b16ec818603cca5ff97f75d1414d7743219430e28d00a49b66d27caa9afbed49e00ecca31f1ae1df6442006866bc
7
+ data.tar.gz: e7539b042e5650952e1880da35a8b16b50da481eb59902e9012c2e3f964e2aacb8c3ec06f180c321bf256a8744e30c367e4f14566f62312cbb4c5006c08e5963
data/README.md CHANGED
@@ -106,8 +106,14 @@ You can override the default behaviors with the following arguments:
106
106
  appropriate Canvas lesson type instead of relying on the repository's
107
107
  directory structure
108
108
 
109
+ ## Examples of Valid Images This Gem Can Convert
110
+
111
+ Inline Markdown:
112
+
109
113
  ![example in-line image](https://curriculum-content.s3.amazonaws.com/fewpjs/fewpjs-fetch-lab/Image_25_AsynchronousJavaScript.png)
110
114
 
115
+ HTML:
116
+
111
117
  <p align="center">
112
118
  <img src="https://curriculum-content.s3.amazonaws.com/fewpjs/fewpjs-fetch-lab/Image_25_AsynchronousJavaScript.png" width="500">
113
119
  </p>
@@ -26,7 +26,7 @@ class RepositoryConverter
26
26
  image.gsub!(/\(.+\)/) { |path|
27
27
  path.delete_prefix!("(")
28
28
  path.delete_suffix!(")")
29
- "(" + remote + "/#{branch}/" + path + ")"
29
+ "(" + raw_remote_url + "/#{branch}/" + path + ")"
30
30
  }
31
31
  end
32
32
  image
@@ -1,3 +1,3 @@
1
1
  class GithubToCanvas
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
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.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - maxwellbenton