github-to-canvas 0.0.57 → 0.0.58

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: 700beff2aa372bc0ddd7f8faf571f512530fbcaf554ce723c8906e3c4537fd89
4
- data.tar.gz: acd4476c34e0e79b4b042e8760be95ab80e8d88a44a6c425bbd351328ea01a1c
3
+ metadata.gz: ef90c29bdb5096d81deb8c51acdf5e53ff2c58da6c968f220d9be7df5eef795a
4
+ data.tar.gz: dfdd350bcc6877d9e3c2d42b76096c6b6ac8abe9f4e96c77d48726cf5aa51748
5
5
  SHA512:
6
- metadata.gz: 4e2717eb284c2521c05507a63e1de6f9e54ebac23cc37b06967857ce8f669a78355eaa33da631dddf06257167f5f21e871eefe7025ed9a2b8f3891e86570e744
7
- data.tar.gz: b5579232cc6a7f69f0c0e6dfcf9cc46f1a2078a7478c845e0f5f9db3c20710d67eb55b4861d0bd3c0357612f11fd841634c898bd962a7d339a832c2dda85c779
6
+ metadata.gz: 82c2f07ef261dccdabc60c938b0165a92d5f9853e2c1cb1f80783784918ea177b5c681093c6e4004211beee622e060afa2b760cc1f8ba56718b6513044008032
7
+ data.tar.gz: 71d0b3e3de82994df654e595a6d9e0a9f6bc8c6c3d81e404f7991cac47795109ec73f2d6f04a853e624e4bf7c83c3b7c7cb092220e8d9175331139478f058ef7
@@ -115,7 +115,7 @@ class CanvasInterface
115
115
  })
116
116
  rescue
117
117
  puts "Something went wrong while pushing lesson #{id} to course #{course_id}"
118
- nil
118
+ ""
119
119
  end
120
120
  end
121
121
 
@@ -84,7 +84,7 @@ class RepositoryConverter
84
84
 
85
85
  def self.create_github_link_header(repo_path, forkable)
86
86
  # add link to associated repository
87
- # github_repo_link = "<a class='fis-git-link' href='#{repo_path}' target='_blank' rel='noopener'><img id='repo-img' title='Open GitHub Repo' alt='GitHub Repo' /></a>"
87
+ github_repo_link = "<a class='fis-git-link' href='#{repo_path}' target='_blank' rel='noopener'><img id='repo-img' title='Open GitHub Repo' alt='GitHub Repo' /></a>"
88
88
 
89
89
  # add link to new issue form
90
90
  github_issue_link = "<a class='fis-git-link' href='#{repo_path}/issues/new' target='_blank' rel='noopener'><img id='issue-img' title='Create New Issue' alt='Create New Issue' /></a>"
@@ -94,7 +94,7 @@ class RepositoryConverter
94
94
  github_fork_link = "<a class='fis-fork-link' id='fork-link' href='#' target='_blank' rel='noopener'><img id='fork-img' title='Fork This Assignment' alt='Fork This Assignment' /></a>"
95
95
  "<header class='fis-header' style='visibility: hidden;'>#{github_fork_link}#{github_issue_link}</header>"
96
96
  else
97
- "<header class='fis-header' style='visibility: hidden;'>#{github_issue_link}</header>"
97
+ "<header class='fis-header' style='visibility: hidden;'>#{github_repo_link}#{github_issue_link}</header>"
98
98
  end
99
99
  end
100
100
 
@@ -1,3 +1,3 @@
1
1
  class GithubToCanvas
2
- VERSION = "0.0.57"
2
+ VERSION = "0.0.58"
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.57
4
+ version: 0.0.58
5
5
  platform: ruby
6
6
  authors:
7
7
  - maxwellbenton