maple 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in maple.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/lib/maple.rb ADDED
@@ -0,0 +1,12 @@
1
+ require "maple/version"
2
+
3
+ module Maple
4
+ def self.compile(markup)
5
+ markup.gsub(/^>$/){"<strong>"}
6
+ markup.gsub(/^<$/){"</strong>"}
7
+ markup.gsub(/^_$/){"<u>"}
8
+ markup.gsub(/^__$/){"</u>"}
9
+ markup.gsub(/^-$/){"<del>"}
10
+ markup.gsub(/^--$/){"</del>"}
11
+ end
12
+ end
@@ -0,0 +1,3 @@
1
+ module Maple
2
+ VERSION = "0.0.1"
3
+ end
data/maple.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "maple/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "maple"
7
+ s.version = Maple::VERSION
8
+ s.authors = ["cookiebatch"]
9
+ s.email = ["keymint1498@gmail.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{Markup}
12
+ s.description = %q{Markup}
13
+
14
+ s.rubyforge_project = "maple"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ # specify any dependencies here; for example:
22
+ s.add_development_dependency "rspec"
23
+ # s.add_runtime_dependency "rest-client"
24
+ end
metadata ADDED
@@ -0,0 +1,62 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: maple
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - cookiebatch
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-12-14 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec
16
+ requirement: &2153558220 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *2153558220
25
+ description: Markup
26
+ email:
27
+ - keymint1498@gmail.com
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - .gitignore
33
+ - Gemfile
34
+ - Rakefile
35
+ - lib/maple.rb
36
+ - lib/maple/version.rb
37
+ - maple.gemspec
38
+ homepage: ''
39
+ licenses: []
40
+ post_install_message:
41
+ rdoc_options: []
42
+ require_paths:
43
+ - lib
44
+ required_ruby_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ requirements: []
57
+ rubyforge_project: maple
58
+ rubygems_version: 1.8.12
59
+ signing_key:
60
+ specification_version: 3
61
+ summary: Markup
62
+ test_files: []