github-to-canvas 0.0.25 → 0.0.26

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: a4ebf48161f0c0ac7ad012460961650eba100d006aa84a945a863278238a27a5
4
- data.tar.gz: 1316e7036aa3032cbe4fa0d883b32f9c2bb142f585915d3045acbcb884e326b5
3
+ metadata.gz: 49af565aafcbebe3151fdf8546a6153600e6425afcf1af8034fdc914d4003b51
4
+ data.tar.gz: 01a5ac504f7d905394f1eb42f2cec5b89237f1e2af7f7e42fad3bacd6001b0de
5
5
  SHA512:
6
- metadata.gz: a7005054aae77a3c0212c6be57e9ecd1a6c6066d3882a25ef2fef6bafd96abf71b2ad2283bde23a80830379adfffb5dd56913d56709d8ed4ecd9b4c7aa5a745f
7
- data.tar.gz: d3516690ddcbec8c8df013530c399a38f8d8ddb4f69513385dc1339eb1a04dac141446931000a6aa37daea1b74905fafa8793657107aea9075d41c1d6bf1d988
6
+ metadata.gz: 535eeae8522d06b60b35a5f26a7a427fecd28cfa4c89f8d359b472e290a34ef58b5a7532f79c28219a20a8333bdd643052b497052b853749ecfc9ff0ba91c174
7
+ data.tar.gz: c7dc94133876c712d5e3f0fc1003553d2ea3f21b967d8ffa742fa98be1147f09f7024f0f0baa5ffc6f286a64dc9bbb6f7ab90b480da59449956fba0faf69aec5
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # GitHub to Canvas Gem
2
2
 
3
+ ## Objectives
4
+
5
+ 1. test
6
+ 2. test 2
7
+
3
8
  ## Introduction
4
9
 
5
10
  The `github-to-canvas` gem is designed to enable GitHub to Canvas LMS
@@ -1,4 +1,3 @@
1
- require 'byebug'
2
1
  class GithubInterface
3
2
 
4
3
  def self.cd_into_and(filepath, command)
@@ -5,13 +5,14 @@ class RepositoryConverter
5
5
  if remove_header_and_footer
6
6
  readme = self.remove_header(readme)
7
7
  readme = self.remove_footer(readme)
8
+ p readme
8
9
  end
9
10
  self.fix_local_images(filepath, readme, branch)
10
11
  self.convert_to_html(filepath, readme)
11
12
  end
12
13
 
13
14
  def self.remove_header(readme)
14
- readme.gsub(/^# .+\n\n/,"")
15
+ readme.gsub(/^# .+?\n\n/,"")
15
16
  end
16
17
 
17
18
  def self.remove_footer(readme)
@@ -1,3 +1,3 @@
1
1
  class GithubToCanvas
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
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.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - maxwellbenton