downr 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/downr/version.rb +1 -1
- data/lib/generators/downr/install/install_generator.rb +2 -2
- data/lib/generators/templates/downr.rb +24 -22
- 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: 47a1548672b69a130d1bb41662828bf269fd2616
|
4
|
+
data.tar.gz: 67261c8eb08efbe1fd396293763976dd96007928
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24abd6a022e98213f8f1b6abb196b5cee51ed79b9405f9ada7cc994f14b20e9fe671438e281ad2a2b932c42b049e8131e47098abd55e53c18ffc0af78e7018b1
|
7
|
+
data.tar.gz: b7045e0c5f3f71fe01c8b4d79a4b7260198ac714c7b43b580d96bbb146ce5e144a628f6f0285400fbba04b53c353ef65180f860d57716da1ea7565a70a9476bb
|
data/lib/downr/version.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module Downr
|
2
|
-
class InstallGenerator < Rails::Generators::
|
2
|
+
class InstallGenerator < Rails::Generators::NamedBase
|
3
3
|
source_root File.expand_path('../../../templates', __FILE__)
|
4
4
|
|
5
5
|
def copy_files
|
6
6
|
copy_file 'downr.rb', 'config/initializers/downr.rb'
|
7
7
|
end
|
8
8
|
end
|
9
|
-
end
|
9
|
+
end
|
@@ -1,25 +1,27 @@
|
|
1
1
|
Downr.configure do |config|
|
2
2
|
config.options = {
|
3
|
-
no_intra_emphasis: true,
|
4
|
-
|
5
|
-
fenced_code_blocks: true,
|
6
|
-
autolink: true,
|
7
|
-
disable_indented_code_blocks: false,
|
8
|
-
strikethrough: true,
|
9
|
-
|
10
|
-
space_after_headers:
|
11
|
-
superscript: true,
|
12
|
-
underline: true,
|
13
|
-
highlight: true,
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
3
|
+
no_intra_emphasis: true, # do not parse emphasis inside of words.
|
4
|
+
tables: true, # parse tables, PHP-Markdown style.
|
5
|
+
fenced_code_blocks: true, # parse fenced code blocks, PHP-Markdown style.
|
6
|
+
autolink: true, # parse links even when they are not enclosed in <> characters.
|
7
|
+
disable_indented_code_blocks: false, # do not parse usual markdown code blocks.
|
8
|
+
strikethrough: true, # parse strikethrough, PHP-Markdown style.
|
9
|
+
lax_spacing: true, # HTML blocks do not require to be surrounded by an empty line
|
10
|
+
space_after_headers: false, # A space is always required between the hash at the beginning of a header
|
11
|
+
superscript: true, # parse superscripts after the ^ character;
|
12
|
+
underline: true, # parse underscored emphasis as underlines.
|
13
|
+
highlight: true, # parse highlights. This is ==highlighted==. It looks like this: <mark>highlighted</mark>
|
14
|
+
quote: true, # parse quotes. This is a "quote". It looks like this: <q>quote</q>""
|
15
|
+
footnotes: true, # parse footnotes, PHP-Markdown style.
|
16
|
+
filter_html: false, # do not allow any user-inputted HTML in the output.
|
17
|
+
no_images: false, # do not generate any <img> tags.
|
18
|
+
no_links: false, # do not generate any <a> tags.
|
19
|
+
no_styles: true, # do not generate any <style> tags.
|
20
|
+
safe_links_only: false, # only generate links for protocols which are considered safe.
|
21
|
+
with_toc_data: true, # add HTML anchors to each header in the output HTML, to allow linking to each section.
|
22
|
+
hard_wrap: false, # insert HTML <br> tags
|
23
|
+
xhtml: false, # output XHTML-conformant tags. This option is always enabled in the Render::XHTML renderer.
|
24
|
+
prettify: true, # add prettyprint classes to <code> tags for google-code-prettify.
|
25
|
+
link_attributes: true, # hash of extra attributes to add to links.
|
24
26
|
}
|
25
|
-
end
|
27
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: downr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Rivera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|