markdown-scaffold 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7442183b119c79bf6af1f12a0daddeb84a9757c7
4
+ data.tar.gz: 5d8a2a0746605f92cfebf5303093a2460350cc58
5
+ SHA512:
6
+ metadata.gz: 5503d3ff17150c115648fb280ea5e74663e13fec36266e6541d1d8ab73a77f8afa8910314d8779a7b24ff890b2ec0ae1b719373202e62f279bbe0c8937ecd0b2
7
+ data.tar.gz: ee65aafe6b566a4daa980730e68336c922de4ef29ed3bb3814e6f6b9e5d17cadf78952ea634a2660097d4ebd1f7f2b3e85949e40b2732cb9ccb148e8df704a04
data/README.md CHANGED
@@ -8,10 +8,7 @@ Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
10
  # For Markdown
11
- gem 'markdown-scaffold', :group => :development
12
- gem 'redcarpet'
13
- gem "pygments.rb" # => 0.2.3
14
- gem "rubypython", "0.5.1" # For Heroku
11
+ gem 'markdown-scaffold'
15
12
  ```
16
13
 
17
14
  And then execute:
@@ -35,7 +32,7 @@ rails g markdown:scaffold
35
32
  View
36
33
 
37
34
  ```erb
38
- <%= raw show_markdown( "markdown_text" ) %>
35
+ <%=raw show_markdown( "markdown_text" ) %>
39
36
  ```
40
37
 
41
38
  ## Contributing
@@ -33,9 +33,8 @@ module Markdown
33
33
  content += " html_render = HtmlWithPygments.new( hard_wrap: true, filter_html: true )\n"
34
34
  content += " markdown = Redcarpet::Markdown.new( html_render, autolink: true, fenced_code_blocks: true, space_after_headers: true )\n"
35
35
  content += "\n"
36
- content += " return markdown.render( text )\n"
36
+ content += " return markdown.render( text.to_s )\n"
37
37
  content += " end\n"
38
- content += "\n"
39
38
  content += " helper_method :show_markdown\n"
40
39
 
41
40
  insert_into_file( "app/controllers/application_controller.rb", content.force_encoding('ASCII-8BIT'), after: "private\n" )
@@ -1,5 +1,5 @@
1
1
  module Markdown
2
2
  module Scaffold
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown-scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Shun Matsumoto
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-23 00:00:00.000000000 Z
11
+ date: 2013-03-13 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: redcarpet
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: pygments.rb
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - '='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - '='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rubypython
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - '='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - '='
60
53
  - !ruby/object:Gem::Version
@@ -79,26 +72,25 @@ files:
79
72
  - markdown-scaffold.gemspec
80
73
  homepage: https://github.com/shu0115/markdown-scaffold
81
74
  licenses: []
75
+ metadata: {}
82
76
  post_install_message:
83
77
  rdoc_options: []
84
78
  require_paths:
85
79
  - lib
86
80
  required_ruby_version: !ruby/object:Gem::Requirement
87
- none: false
88
81
  requirements:
89
- - - ! '>='
82
+ - - '>='
90
83
  - !ruby/object:Gem::Version
91
84
  version: '0'
92
85
  required_rubygems_version: !ruby/object:Gem::Requirement
93
- none: false
94
86
  requirements:
95
- - - ! '>='
87
+ - - '>='
96
88
  - !ruby/object:Gem::Version
97
89
  version: '0'
98
90
  requirements: []
99
91
  rubyforge_project:
100
- rubygems_version: 1.8.24
92
+ rubygems_version: 2.0.0
101
93
  signing_key:
102
- specification_version: 3
94
+ specification_version: 4
103
95
  summary: Markdown Scaffold
104
96
  test_files: []