redrug 0.1

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.
Files changed (5) hide show
  1. data/COPYING +12 -0
  2. data/README +3 -0
  3. data/lib/red_rug.rb +10 -0
  4. data/owl.txt +23 -0
  5. metadata +64 -0
data/COPYING ADDED
@@ -0,0 +1,12 @@
1
+ RedRug is distributed under the terms of the Open Works License. The Open
2
+ Works License is a copyfree license.
3
+
4
+ RedRug depends on Redcarpet, which is distributed under the terms of the ISC
5
+ License. The ISC License is a copyfree license.
6
+
7
+ See http://copyfree.org for more information about copyfree licensing.
8
+
9
+ See https://github.com/vmg/redcarpet for more information about Redcarpet.
10
+
11
+ See http://owl.apotheon.org/ for more information about the Open Works License,
12
+ and the `owl.txt` file for the text of the Open Works License.
data/README ADDED
@@ -0,0 +1,3 @@
1
+ # redrug
2
+
3
+ The redcarpet library can be a bit cumbersome to use, and redrug aims to rectify this problem by wrapping it with simpler interfaces for common use cases.
@@ -0,0 +1,10 @@
1
+ require 'redcarpet'
2
+
3
+ module RedRug
4
+ def self.version; '0.1'; end
5
+
6
+ def self.to_html(mstring)
7
+ markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML)
8
+ markdown.render(mstring)
9
+ end
10
+ end
data/owl.txt ADDED
@@ -0,0 +1,23 @@
1
+ # Open Works License
2
+
3
+ This is version 0.9.2 of the Open Works License.
4
+
5
+ ## Terms
6
+
7
+ Permission is hereby granted by the copyright holder(s), author(s), and
8
+ contributor(s) of this work, to any person who obtains a copy of this work in
9
+ any form, to reproduce, modify, distribute, publish, sell, use, or otherwise
10
+ deal in the licensed material without restriction, provided the following
11
+ conditions are met:
12
+
13
+ Redistributions, modified or unmodified, in whole or in part, must retain
14
+ applicable copyright notices, the above license notice, these conditions, and
15
+ the following disclaimer.
16
+
17
+ NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS LICENSE
18
+ OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, INCLUDING BUT NOT
19
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
20
+ AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
+ LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF
22
+ CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE
23
+ WORK, OR THE USE OF OR OTHER DEALINGS IN THE WORK.
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: redrug
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.1'
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Chad Perrin
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-09-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: redcarpet
16
+ requirement: &10869340 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *10869340
25
+ description: ! " RedRug is a wrapper for Redcarpet, intended to provide more convenient\n
26
+ \ interfaces for common Markdown parsing use cases.\n"
27
+ email: code@apotheon.net
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - COPYING
33
+ - README
34
+ - owl.txt
35
+ - lib/red_rug.rb
36
+ homepage: http://redrug.fossrec.com
37
+ licenses:
38
+ - OWL
39
+ post_install_message: ! ' Thank you for using RedRug. Require "red_rug" to load
40
+ this library.
41
+
42
+ '
43
+ rdoc_options: []
44
+ require_paths:
45
+ - lib
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ! '>='
50
+ - !ruby/object:Gem::Version
51
+ version: 1.9.3
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ! '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubyforge_project:
60
+ rubygems_version: 1.8.15
61
+ signing_key:
62
+ specification_version: 3
63
+ summary: RedRug - Simple Markdown Interface
64
+ test_files: []