downr 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 84ecbe56fb9a1150235d7408839f8c71799f8e16
4
- data.tar.gz: 403894201e86c3273e06aecc1d48275b47c80096
3
+ metadata.gz: 47a1548672b69a130d1bb41662828bf269fd2616
4
+ data.tar.gz: 67261c8eb08efbe1fd396293763976dd96007928
5
5
  SHA512:
6
- metadata.gz: 16bdf37263ea1cd280ac5125a2c8adf591c0b484fe0d1aee6f5beb709f2937c58b44f92d00a0f2925114e808c311000d3b5332da07408fbc8afee4dcbce742c5
7
- data.tar.gz: c3610136e9c286b1b09f9d46fa97b6acddd7232167992045881b7f6e8a7fd2679e2644ba864c17650a4c337e533261eaaaf1acb8fc78afec63ffdf914cb3ba2a
6
+ metadata.gz: 24abd6a022e98213f8f1b6abb196b5cee51ed79b9405f9ada7cc994f14b20e9fe671438e281ad2a2b932c42b049e8131e47098abd55e53c18ffc0af78e7018b1
7
+ data.tar.gz: b7045e0c5f3f71fe01c8b4d79a4b7260198ac714c7b43b580d96bbb146ce5e144a628f6f0285400fbba04b53c353ef65180f860d57716da1ea7565a70a9476bb
@@ -1,3 +1,3 @@
1
1
  module Downr
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,9 +1,9 @@
1
1
  module Downr
2
- class InstallGenerator < Rails::Generators::NameBase
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: true,
11
- superscript: true,
12
- underline: true,
13
- highlight: true,
14
-
15
- filter_html: false, #do not allow any user-inputted HTML in the output.
16
- no_images: false,
17
- no_links: false,
18
- no_styles: true,
19
- safe_links_only: false,
20
- with_toc_data: true,
21
- hard_wrap: false,
22
- xhtml: false,
23
- prettify: true
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.2
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-09 00:00:00.000000000 Z
11
+ date: 2014-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler