datastory 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/datastory.rb +1 -1
- data/lib/datastory/markdown_renderer.rb +1 -1
- data/lib/datastory/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 597d62d36d556759ee55b78bd308719fb7e5d731
|
4
|
+
data.tar.gz: b46e5cd5fe5bbfa2a3bb80a70bace67b7bdaa0e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e084cbf03e852d6173b1b34a60209c70442b42e75121e11d365bb45f91416ade3d3376964c0a2acd64284a31b5d5b982a479a101033920880633dc1fac8027d
|
7
|
+
data.tar.gz: 217248d6782fdc4117f4ad2c599c9403601ce6b7c527124fbdc78fd6802cf33c6f5de5534e3768b27fdb28f0a696133957a1960265488d33b68f7abed507d2aa
|
data/lib/datastory.rb
CHANGED
@@ -86,7 +86,7 @@ module DataStory
|
|
86
86
|
<footer>
|
87
87
|
<p>
|
88
88
|
<em>Generated by <a href="http://github.com/commondream/datastory">DataStory</a> on
|
89
|
-
#{Time.now}</em>. <a href="#{DataURI.
|
89
|
+
#{Time.now}</em>. <a href="#{DataURI.from_data("text/plain", markdown_data)}">Original Source</a>
|
90
90
|
</p>
|
91
91
|
</footer>
|
92
92
|
</div>
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require "redcarpet"
|
2
2
|
require "cgi"
|
3
|
+
require "pry"
|
3
4
|
|
4
5
|
module DataStory
|
5
6
|
class MarkdownRenderer < Redcarpet::Render::HTML
|
@@ -25,7 +26,6 @@ module DataStory
|
|
25
26
|
output
|
26
27
|
end
|
27
28
|
|
28
|
-
|
29
29
|
# Inserts an image. If the image is relative to the current path it'll load it as a data
|
30
30
|
# URI to make the resulting report self contained.
|
31
31
|
def image(link, title, alt_text)
|
data/lib/datastory/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datastory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alan Johnson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|