markitup_rails 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -2
- data/Gemfile.lock +8 -1
- data/README.rdoc +28 -2
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/app/assets/images/sets/bbcode/bold.png +0 -0
- data/app/assets/images/sets/bbcode/clean.png +0 -0
- data/app/assets/images/sets/bbcode/code.png +0 -0
- data/app/assets/images/sets/bbcode/colors.png +0 -0
- data/app/assets/images/sets/bbcode/fonts.png +0 -0
- data/app/assets/images/sets/bbcode/italic.png +0 -0
- data/app/assets/images/sets/bbcode/link.png +0 -0
- data/app/assets/images/sets/bbcode/list-bullet.png +0 -0
- data/app/assets/images/sets/bbcode/list-item.png +0 -0
- data/app/assets/images/sets/bbcode/list-numeric.png +0 -0
- data/app/assets/images/sets/bbcode/picture.png +0 -0
- data/app/assets/images/sets/bbcode/preview.png +0 -0
- data/app/assets/images/sets/bbcode/quotes.png +0 -0
- data/app/assets/images/sets/bbcode/stroke.png +0 -0
- data/app/assets/images/sets/bbcode/underline.png +0 -0
- data/app/assets/javascripts/sets/bbcode/set.js +60 -0
- data/app/assets/stylesheets/sets/bbcode/style.css.scss +93 -0
- data/app/controllers/markitup/parsers_controller.rb +6 -1
- data/app/views/markitup/parsers/bbcode.html.erb +11 -0
- data/app/views/markitup/parsers/markdown.html.erb +1 -1
- data/lib/markitup_rails.rb +1 -0
- data/markitup_rails.gemspec +33 -12
- metadata +60 -30
data/Gemfile
CHANGED
@@ -7,9 +7,10 @@ source "http://rubygems.org"
|
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
8
|
group :development do
|
9
9
|
gem "shoulda", ">= 0"
|
10
|
-
gem "bundler"
|
10
|
+
gem "bundler"
|
11
11
|
gem "jeweler", "~> 1.6.4"
|
12
12
|
gem "rcov", ">= 0"
|
13
13
|
end
|
14
14
|
gem "rails", "~> 3.1"
|
15
|
-
gem "bluecloth"
|
15
|
+
gem "bluecloth"
|
16
|
+
gem "bb-ruby", :git => "git://github.com/marcandre/bb-ruby.git"
|
data/Gemfile.lock
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/marcandre/bb-ruby.git
|
3
|
+
revision: 77a4b3c63e06e053cfbaf04331d9dc31f505c247
|
4
|
+
specs:
|
5
|
+
bb-ruby (0.9.7)
|
6
|
+
|
1
7
|
GEM
|
2
8
|
remote: http://rubygems.org/
|
3
9
|
specs:
|
@@ -92,8 +98,9 @@ PLATFORMS
|
|
92
98
|
ruby
|
93
99
|
|
94
100
|
DEPENDENCIES
|
101
|
+
bb-ruby!
|
95
102
|
bluecloth
|
96
|
-
bundler
|
103
|
+
bundler
|
97
104
|
jeweler (~> 1.6.4)
|
98
105
|
rails (~> 3.1)
|
99
106
|
rcov
|
data/README.rdoc
CHANGED
@@ -46,6 +46,31 @@ Add the markitup_rails gem to your Gemfile. In Gemfile:
|
|
46
46
|
$("textarea").markItUp(myMarkdownSettings);
|
47
47
|
});
|
48
48
|
|
49
|
+
== BBCode
|
50
|
+
|
51
|
+
/* app/assets/stylesheets/application.css */
|
52
|
+
/* the following directives will include the markitup CSS */
|
53
|
+
/* the skins/markitup CSS will define how the text area will look */
|
54
|
+
/* the sets/bbcode CSS defines the bbcode-specific buttons */
|
55
|
+
|
56
|
+
/*
|
57
|
+
*= require skins/markitup/style.css
|
58
|
+
*= require sets/bbcode/style.css
|
59
|
+
*/
|
60
|
+
|
61
|
+
// in app/assets/javascripts/application.js
|
62
|
+
|
63
|
+
// include the main MarkItUp javascript
|
64
|
+
//= require jquery.markitup
|
65
|
+
|
66
|
+
// include a set, which defines the javascript rules for the particular parser. BBCode is included with this:
|
67
|
+
// The sets/bbcode/set.js file will define a Javascript variable called "myBBCodeSettings".
|
68
|
+
//= require ./sets/bbcode/set.js
|
69
|
+
|
70
|
+
$(document).ready(function(){
|
71
|
+
$("textarea").markItUp(myBBCodeSettings);
|
72
|
+
});
|
73
|
+
|
49
74
|
== HTML
|
50
75
|
|
51
76
|
/* app/assets/stylesheets/application.css */
|
@@ -85,7 +110,8 @@ The engine also comes with a simple controller that MarkItUp can send text to yo
|
|
85
110
|
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
86
111
|
|
87
112
|
== Contributors
|
88
|
-
|
113
|
+
|
114
|
+
Ze Jin, http://www.jinze.info/
|
89
115
|
|
90
116
|
== License
|
91
117
|
|
@@ -97,4 +123,4 @@ Copyright (C) 2007-2011 Jay Salvat http:markitup.jaysalvat.com/
|
|
97
123
|
|
98
124
|
markitup_rails
|
99
125
|
Copyright (C) 2011 Jeff Wigal
|
100
|
-
http://dropkickstudios.com
|
126
|
+
http://dropkickstudios.com
|
data/Rakefile
CHANGED
@@ -20,7 +20,7 @@ Jeweler::Tasks.new do |gem|
|
|
20
20
|
gem.summary = %Q{Rails 3.1 engine that allows you to integrate the markItUp editor into the asset pipeline}
|
21
21
|
gem.description = %Q{Rails 3.1 engine that allows you to integrate the markItUp editor into the asset pipeline}
|
22
22
|
gem.email = "jeff@assignr.com"
|
23
|
-
gem.authors = ["Jeff Wigal"]
|
23
|
+
gem.authors = ["Jeff Wigal", "N4th4", "Ze Jin"]
|
24
24
|
# dependencies defined in Gemfile
|
25
25
|
end
|
26
26
|
Jeweler::RubygemsDotOrgTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,60 @@
|
|
1
|
+
// ----------------------------------------------------------------------------
|
2
|
+
// markItUp!
|
3
|
+
// ----------------------------------------------------------------------------
|
4
|
+
// Copyright (C) 2008 Jay Salvat
|
5
|
+
// http://markitup.jaysalvat.com/
|
6
|
+
// ----------------------------------------------------------------------------
|
7
|
+
// BBCode tags example
|
8
|
+
// http://en.wikipedia.org/wiki/Bbcode
|
9
|
+
// ----------------------------------------------------------------------------
|
10
|
+
// Feel free to add more tags
|
11
|
+
// ----------------------------------------------------------------------------
|
12
|
+
myBBCodeSettings = {
|
13
|
+
nameSpace: 'bbcode', // Useful to prevent multi-instances CSS conflict
|
14
|
+
previewTemplatePath: '/markitup/previews.html',
|
15
|
+
previewParserPath: '/markitup/parsers/bbcode',
|
16
|
+
markupSet: [
|
17
|
+
{name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'},
|
18
|
+
{name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'},
|
19
|
+
{name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'},
|
20
|
+
{separator:'---------------' },
|
21
|
+
{name:'Picture', key:'P', replaceWith:'[img][![Url]!][/img]'},
|
22
|
+
{name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'Your text to link here...'},
|
23
|
+
{separator:'---------------' },
|
24
|
+
{ name:'Colors',
|
25
|
+
className:'colors',
|
26
|
+
openWith:'[color=[![Color]!]]',
|
27
|
+
closeWith:'[/color]',
|
28
|
+
dropMenu: [
|
29
|
+
{name:'Yellow', openWith:'[color=yellow]', closeWith:'[/color]', className:"col1-1" },
|
30
|
+
{name:'Orange', openWith:'[color=orange]', closeWith:'[/color]', className:"col1-2" },
|
31
|
+
{name:'Red', openWith:'[color=red]', closeWith:'[/color]', className:"col1-3" },
|
32
|
+
|
33
|
+
{name:'Blue', openWith:'[color=blue]', closeWith:'[/color]', className:"col2-1" },
|
34
|
+
{name:'Purple', openWith:'[color=purple]', closeWith:'[/color]', className:"col2-2" },
|
35
|
+
{name:'Green', openWith:'[color=green]', closeWith:'[/color]', className:"col2-3" },
|
36
|
+
|
37
|
+
{name:'White', openWith:'[color=white]', closeWith:'[/color]', className:"col3-1" },
|
38
|
+
{name:'Gray', openWith:'[color=gray]', closeWith:'[/color]', className:"col3-2" },
|
39
|
+
{name:'Black', openWith:'[color=black]', closeWith:'[/color]', className:"col3-3" }
|
40
|
+
]
|
41
|
+
},
|
42
|
+
{name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]',
|
43
|
+
dropMenu :[
|
44
|
+
{name:'Big', openWith:'[size=200]', closeWith:'[/size]' },
|
45
|
+
{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
|
46
|
+
{name:'Small', openWith:'[size=50]', closeWith:'[/size]' }
|
47
|
+
]
|
48
|
+
},
|
49
|
+
{separator:'---------------' },
|
50
|
+
{name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'},
|
51
|
+
{name:'Numeric list', openWith:'[list=[![Starting number]!]]\n', closeWith:'\n[/list]'},
|
52
|
+
{name:'List item', openWith:'[*] '},
|
53
|
+
{separator:'---------------' },
|
54
|
+
{name:'Quotes', openWith:'[quote]', closeWith:'[/quote]'},
|
55
|
+
{name:'Code', openWith:'[code]', closeWith:'[/code]'},
|
56
|
+
{separator:'---------------' },
|
57
|
+
{name:'Clean', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
|
58
|
+
{name:'Preview', className:"preview", call:'preview' }
|
59
|
+
]
|
60
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
/* -------------------------------------------------------------------
|
2
|
+
// markItUp!
|
3
|
+
// By Jay Salvat - http://markitup.jaysalvat.com/
|
4
|
+
// ------------------------------------------------------------------*/
|
5
|
+
.bbcode .markItUpButton1 a {
|
6
|
+
background-image:image-url("sets/bbcode/bold.png");
|
7
|
+
}
|
8
|
+
.bbcode .markItUpButton2 a {
|
9
|
+
background-image:image-url("sets/bbcode/italic.png");
|
10
|
+
}
|
11
|
+
.bbcode .markItUpButton3 a {
|
12
|
+
background-image:image-url("sets/bbcode/underline.png");
|
13
|
+
}
|
14
|
+
.bbcode .markItUpButton4 a {
|
15
|
+
background-image:image-url("sets/bbcode/picture.png");
|
16
|
+
}
|
17
|
+
.bbcode .markItUpButton5 a {
|
18
|
+
background-image:image-url("sets/bbcode/link.png");
|
19
|
+
}
|
20
|
+
.bbcode .markItUpButton7 a {
|
21
|
+
background-image:image-url("sets/bbcode/fonts.png");
|
22
|
+
}
|
23
|
+
.bbcode .markItUpButton8 a {
|
24
|
+
background-image:image-url("sets/bbcode/list-bullet.png");
|
25
|
+
}
|
26
|
+
.bbcode .markItUpButton9 a {
|
27
|
+
background-image:image-url("sets/bbcode/list-numeric.png");
|
28
|
+
}
|
29
|
+
.bbcode .markItUpButton10 a {
|
30
|
+
background-image:image-url("sets/bbcode/list-item.png");
|
31
|
+
}
|
32
|
+
.bbcode .markItUpButton11 a {
|
33
|
+
background-image:image-url("sets/bbcode/quotes.png");
|
34
|
+
}
|
35
|
+
.bbcode .markItUpButton12 a {
|
36
|
+
background-image:image-url("sets/bbcode/code.png");
|
37
|
+
}
|
38
|
+
.bbcode .clean a {
|
39
|
+
background-image:image-url("sets/bbcode/clean.png");
|
40
|
+
}
|
41
|
+
.bbcode .preview a {
|
42
|
+
background-image:image-url("sets/bbcode/preview.png");
|
43
|
+
}
|
44
|
+
.bbcode .colors a {
|
45
|
+
background-image:image-url("sets/bbcode/colors.png");
|
46
|
+
}
|
47
|
+
.bbcode .colors ul {
|
48
|
+
width:81px;
|
49
|
+
padding:1px;
|
50
|
+
}
|
51
|
+
.bbcode .colors li {
|
52
|
+
border:1px solid white;
|
53
|
+
width:25px; height:25px;
|
54
|
+
overflow:hidden;
|
55
|
+
padding:0px; margin:0px;
|
56
|
+
float:left;
|
57
|
+
}
|
58
|
+
.bbcode .colors ul a {
|
59
|
+
width:25px; height:25px;
|
60
|
+
}
|
61
|
+
.bbcode .colors ul a:hover {
|
62
|
+
background-color:none;
|
63
|
+
}
|
64
|
+
|
65
|
+
.bbcode .colors .col1-1 a {
|
66
|
+
background:yellow;
|
67
|
+
}
|
68
|
+
.bbcode .colors .col1-2 a {
|
69
|
+
background:orange;
|
70
|
+
}
|
71
|
+
.bbcode .colors .col1-3 a {
|
72
|
+
background:red;
|
73
|
+
}
|
74
|
+
|
75
|
+
.bbcode .colors .col2-1 a {
|
76
|
+
background:blue;
|
77
|
+
}
|
78
|
+
.bbcode .colors .col2-2 a {
|
79
|
+
background:purple;
|
80
|
+
}
|
81
|
+
.bbcode .colors .col2-3 a {
|
82
|
+
background:green;
|
83
|
+
}
|
84
|
+
|
85
|
+
.bbcode .colors .col3-1 a {
|
86
|
+
background:white;
|
87
|
+
}
|
88
|
+
.bbcode .colors .col3-2 a {
|
89
|
+
background:gray;
|
90
|
+
}
|
91
|
+
.bbcode .colors .col3-3 a {
|
92
|
+
background:black;
|
93
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
5
|
+
<title>markItUp! preview template</title>
|
6
|
+
<%= stylesheet_link_tag "templates/preview" %>
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<%= raw @markitup%>
|
10
|
+
</body>
|
11
|
+
</html>
|
data/lib/markitup_rails.rb
CHANGED
data/markitup_rails.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.
|
7
|
+
s.name = "markitup_rails"
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Jeff Wigal"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
11
|
+
s.authors = ["Jeff Wigal", "N4th4", "Ze Jin"]
|
12
|
+
s.date = "2012-07-27"
|
13
|
+
s.description = "Rails 3.1 engine that allows you to integrate the markItUp editor into the asset pipeline"
|
14
|
+
s.email = "jeff@assignr.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
@@ -24,6 +24,21 @@ Gem::Specification.new do |s|
|
|
24
24
|
"README.rdoc",
|
25
25
|
"Rakefile",
|
26
26
|
"VERSION",
|
27
|
+
"app/assets/images/sets/bbcode/bold.png",
|
28
|
+
"app/assets/images/sets/bbcode/clean.png",
|
29
|
+
"app/assets/images/sets/bbcode/code.png",
|
30
|
+
"app/assets/images/sets/bbcode/colors.png",
|
31
|
+
"app/assets/images/sets/bbcode/fonts.png",
|
32
|
+
"app/assets/images/sets/bbcode/italic.png",
|
33
|
+
"app/assets/images/sets/bbcode/link.png",
|
34
|
+
"app/assets/images/sets/bbcode/list-bullet.png",
|
35
|
+
"app/assets/images/sets/bbcode/list-item.png",
|
36
|
+
"app/assets/images/sets/bbcode/list-numeric.png",
|
37
|
+
"app/assets/images/sets/bbcode/picture.png",
|
38
|
+
"app/assets/images/sets/bbcode/preview.png",
|
39
|
+
"app/assets/images/sets/bbcode/quotes.png",
|
40
|
+
"app/assets/images/sets/bbcode/stroke.png",
|
41
|
+
"app/assets/images/sets/bbcode/underline.png",
|
27
42
|
"app/assets/images/sets/default/bold.png",
|
28
43
|
"app/assets/images/sets/default/clean.png",
|
29
44
|
"app/assets/images/sets/default/image.png",
|
@@ -66,14 +81,17 @@ Gem::Specification.new do |s|
|
|
66
81
|
"app/assets/images/skins/simple/menu.png",
|
67
82
|
"app/assets/images/skins/simple/submenu.png",
|
68
83
|
"app/assets/javascripts/jquery.markitup.js",
|
84
|
+
"app/assets/javascripts/sets/bbcode/set.js",
|
69
85
|
"app/assets/javascripts/sets/default/set.js",
|
70
86
|
"app/assets/javascripts/sets/markdown/set.js",
|
87
|
+
"app/assets/stylesheets/sets/bbcode/style.css.scss",
|
71
88
|
"app/assets/stylesheets/sets/default/style.css.scss",
|
72
89
|
"app/assets/stylesheets/sets/markdown/style.css.scss",
|
73
90
|
"app/assets/stylesheets/skins/markitup/style.css.scss",
|
74
91
|
"app/assets/stylesheets/skins/simple/style.css.scss",
|
75
92
|
"app/assets/stylesheets/templates/preview.css",
|
76
93
|
"app/controllers/markitup/parsers_controller.rb",
|
94
|
+
"app/views/markitup/parsers/bbcode.html.erb",
|
77
95
|
"app/views/markitup/parsers/markdown.html.erb",
|
78
96
|
"config/routes.rb",
|
79
97
|
"lib/engine.rb",
|
@@ -82,11 +100,11 @@ Gem::Specification.new do |s|
|
|
82
100
|
"test/helper.rb",
|
83
101
|
"test/test_markitup_rails.rb"
|
84
102
|
]
|
85
|
-
s.homepage =
|
103
|
+
s.homepage = "http://github.com/jwigal/markitup_rails"
|
86
104
|
s.licenses = ["MIT"]
|
87
105
|
s.require_paths = ["lib"]
|
88
|
-
s.rubygems_version =
|
89
|
-
s.summary =
|
106
|
+
s.rubygems_version = "1.8.24"
|
107
|
+
s.summary = "Rails 3.1 engine that allows you to integrate the markItUp editor into the asset pipeline"
|
90
108
|
|
91
109
|
if s.respond_to? :specification_version then
|
92
110
|
s.specification_version = 3
|
@@ -94,23 +112,26 @@ Gem::Specification.new do |s|
|
|
94
112
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
95
113
|
s.add_runtime_dependency(%q<rails>, ["~> 3.1"])
|
96
114
|
s.add_runtime_dependency(%q<bluecloth>, [">= 0"])
|
115
|
+
s.add_runtime_dependency(%q<bb-ruby>, [">= 0"])
|
97
116
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
98
|
-
s.add_development_dependency(%q<bundler>, ["
|
117
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
99
118
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
100
119
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
101
120
|
else
|
102
121
|
s.add_dependency(%q<rails>, ["~> 3.1"])
|
103
122
|
s.add_dependency(%q<bluecloth>, [">= 0"])
|
123
|
+
s.add_dependency(%q<bb-ruby>, [">= 0"])
|
104
124
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
105
|
-
s.add_dependency(%q<bundler>, ["
|
125
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
106
126
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
107
127
|
s.add_dependency(%q<rcov>, [">= 0"])
|
108
128
|
end
|
109
129
|
else
|
110
130
|
s.add_dependency(%q<rails>, ["~> 3.1"])
|
111
131
|
s.add_dependency(%q<bluecloth>, [">= 0"])
|
132
|
+
s.add_dependency(%q<bb-ruby>, [">= 0"])
|
112
133
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
113
|
-
s.add_dependency(%q<bundler>, ["
|
134
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
114
135
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
115
136
|
s.add_dependency(%q<rcov>, [">= 0"])
|
116
137
|
end
|
metadata
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markitup_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jeff Wigal
|
14
|
+
- N4th4
|
15
|
+
- Ze Jin
|
14
16
|
autorequire:
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2012-
|
19
|
-
default_executable:
|
20
|
+
date: 2012-07-27 00:00:00 Z
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
26
|
- - ~>
|
@@ -30,12 +30,26 @@ dependencies:
|
|
30
30
|
- 3
|
31
31
|
- 1
|
32
32
|
version: "3.1"
|
33
|
+
version_requirements: *id001
|
34
|
+
name: rails
|
33
35
|
prerelease: false
|
34
36
|
type: :runtime
|
35
|
-
requirement: *id001
|
36
37
|
- !ruby/object:Gem::Dependency
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
version_requirements: *id002
|
37
48
|
name: bluecloth
|
38
|
-
|
49
|
+
prerelease: false
|
50
|
+
type: :runtime
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
53
|
none: false
|
40
54
|
requirements:
|
41
55
|
- - ">="
|
@@ -44,12 +58,12 @@ dependencies:
|
|
44
58
|
segments:
|
45
59
|
- 0
|
46
60
|
version: "0"
|
61
|
+
version_requirements: *id003
|
62
|
+
name: bb-ruby
|
47
63
|
prerelease: false
|
48
64
|
type: :runtime
|
49
|
-
requirement: *id002
|
50
65
|
- !ruby/object:Gem::Dependency
|
51
|
-
|
52
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
53
67
|
none: false
|
54
68
|
requirements:
|
55
69
|
- - ">="
|
@@ -58,28 +72,26 @@ dependencies:
|
|
58
72
|
segments:
|
59
73
|
- 0
|
60
74
|
version: "0"
|
75
|
+
version_requirements: *id004
|
76
|
+
name: shoulda
|
61
77
|
prerelease: false
|
62
78
|
type: :development
|
63
|
-
requirement: *id003
|
64
79
|
- !ruby/object:Gem::Dependency
|
65
|
-
|
66
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
67
81
|
none: false
|
68
82
|
requirements:
|
69
|
-
- -
|
83
|
+
- - ">="
|
70
84
|
- !ruby/object:Gem::Version
|
71
|
-
hash:
|
85
|
+
hash: 3
|
72
86
|
segments:
|
73
|
-
- 1
|
74
87
|
- 0
|
75
|
-
|
76
|
-
|
88
|
+
version: "0"
|
89
|
+
version_requirements: *id005
|
90
|
+
name: bundler
|
77
91
|
prerelease: false
|
78
92
|
type: :development
|
79
|
-
requirement: *id004
|
80
93
|
- !ruby/object:Gem::Dependency
|
81
|
-
|
82
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
94
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
83
95
|
none: false
|
84
96
|
requirements:
|
85
97
|
- - ~>
|
@@ -90,12 +102,12 @@ dependencies:
|
|
90
102
|
- 6
|
91
103
|
- 4
|
92
104
|
version: 1.6.4
|
105
|
+
version_requirements: *id006
|
106
|
+
name: jeweler
|
93
107
|
prerelease: false
|
94
108
|
type: :development
|
95
|
-
requirement: *id005
|
96
109
|
- !ruby/object:Gem::Dependency
|
97
|
-
|
98
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
110
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
99
111
|
none: false
|
100
112
|
requirements:
|
101
113
|
- - ">="
|
@@ -104,9 +116,10 @@ dependencies:
|
|
104
116
|
segments:
|
105
117
|
- 0
|
106
118
|
version: "0"
|
119
|
+
version_requirements: *id007
|
120
|
+
name: rcov
|
107
121
|
prerelease: false
|
108
122
|
type: :development
|
109
|
-
requirement: *id006
|
110
123
|
description: Rails 3.1 engine that allows you to integrate the markItUp editor into the asset pipeline
|
111
124
|
email: jeff@assignr.com
|
112
125
|
executables: []
|
@@ -124,6 +137,21 @@ files:
|
|
124
137
|
- README.rdoc
|
125
138
|
- Rakefile
|
126
139
|
- VERSION
|
140
|
+
- app/assets/images/sets/bbcode/bold.png
|
141
|
+
- app/assets/images/sets/bbcode/clean.png
|
142
|
+
- app/assets/images/sets/bbcode/code.png
|
143
|
+
- app/assets/images/sets/bbcode/colors.png
|
144
|
+
- app/assets/images/sets/bbcode/fonts.png
|
145
|
+
- app/assets/images/sets/bbcode/italic.png
|
146
|
+
- app/assets/images/sets/bbcode/link.png
|
147
|
+
- app/assets/images/sets/bbcode/list-bullet.png
|
148
|
+
- app/assets/images/sets/bbcode/list-item.png
|
149
|
+
- app/assets/images/sets/bbcode/list-numeric.png
|
150
|
+
- app/assets/images/sets/bbcode/picture.png
|
151
|
+
- app/assets/images/sets/bbcode/preview.png
|
152
|
+
- app/assets/images/sets/bbcode/quotes.png
|
153
|
+
- app/assets/images/sets/bbcode/stroke.png
|
154
|
+
- app/assets/images/sets/bbcode/underline.png
|
127
155
|
- app/assets/images/sets/default/bold.png
|
128
156
|
- app/assets/images/sets/default/clean.png
|
129
157
|
- app/assets/images/sets/default/image.png
|
@@ -166,14 +194,17 @@ files:
|
|
166
194
|
- app/assets/images/skins/simple/menu.png
|
167
195
|
- app/assets/images/skins/simple/submenu.png
|
168
196
|
- app/assets/javascripts/jquery.markitup.js
|
197
|
+
- app/assets/javascripts/sets/bbcode/set.js
|
169
198
|
- app/assets/javascripts/sets/default/set.js
|
170
199
|
- app/assets/javascripts/sets/markdown/set.js
|
200
|
+
- app/assets/stylesheets/sets/bbcode/style.css.scss
|
171
201
|
- app/assets/stylesheets/sets/default/style.css.scss
|
172
202
|
- app/assets/stylesheets/sets/markdown/style.css.scss
|
173
203
|
- app/assets/stylesheets/skins/markitup/style.css.scss
|
174
204
|
- app/assets/stylesheets/skins/simple/style.css.scss
|
175
205
|
- app/assets/stylesheets/templates/preview.css
|
176
206
|
- app/controllers/markitup/parsers_controller.rb
|
207
|
+
- app/views/markitup/parsers/bbcode.html.erb
|
177
208
|
- app/views/markitup/parsers/markdown.html.erb
|
178
209
|
- config/routes.rb
|
179
210
|
- lib/engine.rb
|
@@ -181,7 +212,6 @@ files:
|
|
181
212
|
- markitup_rails.gemspec
|
182
213
|
- test/helper.rb
|
183
214
|
- test/test_markitup_rails.rb
|
184
|
-
has_rdoc: true
|
185
215
|
homepage: http://github.com/jwigal/markitup_rails
|
186
216
|
licenses:
|
187
217
|
- MIT
|
@@ -211,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
241
|
requirements: []
|
212
242
|
|
213
243
|
rubyforge_project:
|
214
|
-
rubygems_version: 1.
|
244
|
+
rubygems_version: 1.8.24
|
215
245
|
signing_key:
|
216
246
|
specification_version: 3
|
217
247
|
summary: Rails 3.1 engine that allows you to integrate the markItUp editor into the asset pipeline
|