mustdown 0.0.1 → 0.0.2

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.
@@ -0,0 +1,13 @@
1
+ module Mustdown
2
+ module Generators
3
+ class InstallGenerator < Rails::Generators::Base
4
+ source_root File.expand_path("../../templates", __FILE__)
5
+
6
+ desc 'Creates a default initializer for Mustdown'
7
+
8
+ def copy_initializer
9
+ template "mustdown.rb", "config/initializers/mustdown.rb"
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,25 @@
1
+ Mustdown.configure do |config|
2
+
3
+ # Read more about available options on the Redcarpet github page:
4
+ # https://github.com/vmg/redcarpet
5
+
6
+ # Markdown extensions
7
+ # see: https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use
8
+ #
9
+ # config.markdown_extensions = {
10
+ # no_intra_emphasis: true,
11
+ # tables: true,
12
+ # fenced_code_blocks: true,
13
+ # autolink: true,
14
+ # strikethrough: true
15
+ # }
16
+
17
+ # HTML renderer options
18
+ # see: https://github.com/vmg/redcarpet#darling-i-packed-you-a-couple-renderers-for-lunch-
19
+ #
20
+ # config.renderer_options = {
21
+ # no_styles: true,
22
+ # safe_links_only: true
23
+ # }
24
+
25
+ end
@@ -1,3 +1,3 @@
1
1
  module Mustdown
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mustdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -99,10 +99,11 @@ extensions: []
99
99
  extra_rdoc_files: []
100
100
  files:
101
101
  - app/helpers/mustdown/mustdown_helper.rb
102
+ - lib/generators/mustdown/install_generator.rb
103
+ - lib/generators/templates/mustdown.rb
102
104
  - lib/mustdown/engine.rb
103
105
  - lib/mustdown/version.rb
104
106
  - lib/mustdown.rb
105
- - lib/tasks/mustdown_tasks.rake
106
107
  - MIT-LICENSE
107
108
  - Rakefile
108
109
  - README.md
@@ -120,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
121
  version: '0'
121
122
  segments:
122
123
  - 0
123
- hash: -1835839034427795028
124
+ hash: -3051764860609270774
124
125
  required_rubygems_version: !ruby/object:Gem::Requirement
125
126
  none: false
126
127
  requirements:
@@ -129,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
130
  version: '0'
130
131
  segments:
131
132
  - 0
132
- hash: -1835839034427795028
133
+ hash: -3051764860609270774
133
134
  requirements: []
134
135
  rubyforge_project:
135
136
  rubygems_version: 1.8.23
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :mustdown do
3
- # # Task goes here
4
- # end