multi_markdown 0.1.0.pre1 → 0.1.0

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.
data/ChangeLog.md CHANGED
@@ -1,4 +1,13 @@
1
- ### 0.1.0 / 2012-05-17
1
+ ### 0.1.0 / 2012-05-18
2
2
 
3
3
  * Initial release:
4
+ * Supports:
5
+ * [kramdown]
6
+ * [rdiscount]
7
+ * [redcarpet]
8
+ * [rpeg_markdown]
4
9
 
10
+ [kramdown](http://kramdown.rubyforge.org/)
11
+ [rdiscount](https://github.com/rtomayko/rdiscount#readme)
12
+ [redcarpet](https://github.com/tanoku/redcarpet#readme)
13
+ [rpeg_markdown](https://github.com/rtomayko/rpeg-markdown#readme)
data/gemspec.yml CHANGED
@@ -12,4 +12,5 @@ homepage: https://github.com/postmodern/multi_markdown#readme
12
12
  development_dependencies:
13
13
  rubygems-tasks: ~> 0.2
14
14
  rspec: ~> 2.4
15
+ bundler: ~> 1.0
15
16
  yard: ~> 0.7
@@ -37,6 +37,8 @@ module MultiMarkdown
37
37
  # @raise [NameError]
38
38
  # The constant for the Markdown library could not be found.
39
39
  #
40
+ # @api semipublic
41
+ #
40
42
  def self.find(library)
41
43
  unless CONSTANTS.has_key?(library)
42
44
  raise(ArgumentError,"unknown Markdown library: #{library}")
@@ -63,6 +65,8 @@ module MultiMarkdown
63
65
  # @raise [NameError]
64
66
  # The constant for the Markdown library could not be found.
65
67
  #
68
+ # @api semipublic
69
+ #
66
70
  def self.use(library)
67
71
  unless LIBRARIES.has_key?(library)
68
72
  raise(ArgumentError,"unknown Markdown library: #{library}")
@@ -82,6 +86,8 @@ module MultiMarkdown
82
86
  # @raise [LoadError]
83
87
  # None of the supported Markdown libraries could be found or loaded.
84
88
  #
89
+ # @api semipublic
90
+ #
85
91
  def self.load
86
92
  # attempt to find an already loaded markdown library
87
93
  PRIORITY.each do |library|
@@ -116,6 +122,8 @@ module MultiMarkdown
116
122
  # @return [#to_html]
117
123
  # The Markdown document.
118
124
  #
125
+ # @api public
126
+ #
119
127
  def self.new(text,options={})
120
128
  load unless @@markdown
121
129
 
@@ -1,4 +1,4 @@
1
1
  module MultiMarkdown
2
2
  # multi_markdown version
3
- VERSION = "0.1.0.pre1"
3
+ VERSION = "0.1.0"
4
4
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre1
5
- prerelease: 6
4
+ version: 0.1.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Postmodern
@@ -43,6 +43,22 @@ dependencies:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  version: '2.4'
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '1.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
46
62
  - !ruby/object:Gem::Dependency
47
63
  name: yard
48
64
  requirement: !ruby/object:Gem::Requirement