octodown 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octodown/renderer/server.rb +8 -2
- data/lib/octodown/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbe19169a3a245b83da43ee47b1606fc634bb5c0
|
4
|
+
data.tar.gz: e323059ba601455377c2c60032216a946e10eae9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 319e9f38f35f994a439796183681a7bde5fbbd87891d044898bb3bb999214cd8a58262dae4d8d354f77c421e02aad627c66e11a03805834b7ef9a385cc1a8a8d
|
7
|
+
data.tar.gz: 012333c6768d5ed6aba996fc72ea2903c0d82c1923efa36b9b66d24ac66971bfa8a13f573afd888e5ba769f8913b044aac6a2652f09d6fb577092a2f771f8379
|
@@ -120,8 +120,14 @@ module Octodown
|
|
120
120
|
end
|
121
121
|
|
122
122
|
def render_md(f)
|
123
|
-
|
124
|
-
|
123
|
+
begin
|
124
|
+
file_to_render = File.new(f.path, 'r')
|
125
|
+
f.close
|
126
|
+
rescue Errno::ENOENT
|
127
|
+
puts '[WARN] failed to read changes'
|
128
|
+
return
|
129
|
+
end
|
130
|
+
Renderer::GithubMarkdown.render file_to_render, options
|
125
131
|
end
|
126
132
|
end
|
127
133
|
end # Support
|
data/lib/octodown/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octodown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Ker-Seymer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-markup
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 3.
|
159
|
+
version: 3.10.0
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 3.
|
166
|
+
version: 3.10.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rspec
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
294
|
version: '0'
|
295
295
|
requirements: []
|
296
296
|
rubyforge_project:
|
297
|
-
rubygems_version: 2.
|
297
|
+
rubygems_version: 2.5.2
|
298
298
|
signing_key:
|
299
299
|
specification_version: 4
|
300
300
|
summary: GitHub Markdown straight from your shell.
|