jquery-textileToolbar-rails 0.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 (31) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +50 -0
  6. data/Rakefile +1 -0
  7. data/app/assets/images/textileToolbar/bt_bq.png +0 -0
  8. data/app/assets/images/textileToolbar/bt_bq_remove.png +0 -0
  9. data/app/assets/images/textileToolbar/bt_code.png +0 -0
  10. data/app/assets/images/textileToolbar/bt_del.png +0 -0
  11. data/app/assets/images/textileToolbar/bt_em.png +0 -0
  12. data/app/assets/images/textileToolbar/bt_h1.png +0 -0
  13. data/app/assets/images/textileToolbar/bt_h2.png +0 -0
  14. data/app/assets/images/textileToolbar/bt_h3.png +0 -0
  15. data/app/assets/images/textileToolbar/bt_help.png +0 -0
  16. data/app/assets/images/textileToolbar/bt_img.png +0 -0
  17. data/app/assets/images/textileToolbar/bt_ins.png +0 -0
  18. data/app/assets/images/textileToolbar/bt_link.png +0 -0
  19. data/app/assets/images/textileToolbar/bt_ol.png +0 -0
  20. data/app/assets/images/textileToolbar/bt_pre.png +0 -0
  21. data/app/assets/images/textileToolbar/bt_precode.png +0 -0
  22. data/app/assets/images/textileToolbar/bt_strong.png +0 -0
  23. data/app/assets/images/textileToolbar/bt_ul.png +0 -0
  24. data/app/assets/javascripts/textileToolbar/jquery.textileToolbar.js +348 -0
  25. data/app/assets/stylesheets/textileToolbar/_textileToolbar.scss +82 -0
  26. data/jquery-textileToolbar-rails.gemspec +30 -0
  27. data/lib/jquery-textileToolbar-rails.rb +2 -0
  28. data/lib/jquery/textileToolbar/rails.rb +2 -0
  29. data/lib/jquery/textileToolbar/rails/engine.rb +8 -0
  30. data/lib/jquery/textileToolbar/rails/version.rb +7 -0
  31. metadata +115 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 47008a684294c0a6230dc0e9cc35b44c5aabeaa0
4
+ data.tar.gz: d05ab274383a9ca66fc27293bc311cbf20cd41e6
5
+ SHA512:
6
+ metadata.gz: 355c02ba2ffc19fe89ae98470e34921d86d2e4b1a412a825b9a8bc74b1125d4e5c7c0b2ed4eef419da0d008df2fccfbd425e53714935911e9eebb7445927a5a2
7
+ data.tar.gz: 0ecfc7246d584ca3608c13c99b58853b6ee62a611f1e81678de834756df0a2eba4c336f7157d6638d1421a34b133b9e96aa55ef55c78758c44e859ecde57e368
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /bin/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in jquery-textileToolbar-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Maurizio Manetti
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,50 @@
1
+ # jquery-textileToolbar-rails
2
+
3
+ This gem provides the jquery textileToolbar plugin found at https://github.com/mauntrelio/jquery-textileToolbar/ for the Rails asset pipeline.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'jquery-textileToolbar-rails'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```bash
16
+ $ bundle install
17
+ ```
18
+
19
+ Add this to 'app/assets/javascripts/application.js':
20
+
21
+ ```
22
+ //= require textileToolbar/jquery.textileToolbar
23
+ ```
24
+
25
+ Add this to 'app/assets/stylesheets/application.css':
26
+
27
+ ```
28
+ *= require textileToolbar/_textileToolbar
29
+ ```
30
+
31
+ Or, if you use scss:
32
+
33
+ ```scss
34
+ @import 'textileToolbar/textileToolbar';
35
+ ```
36
+
37
+ to 'app/assets/stylesheets/application.scss'.
38
+
39
+ That's it!
40
+
41
+ Now, to apply the textile toolbar, you need to manage from your JavaScript code, for instance:
42
+
43
+ ```javascript
44
+ $(document).ready(function(){
45
+ $('textarea.textile').textileToolbar();
46
+ });
47
+
48
+ ```
49
+
50
+ Please have a look to https://github.com/mauntrelio/jquery-textileToolbar/ for further information.
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,348 @@
1
+ /*
2
+ Textile Toolbar jQuery plugin
3
+
4
+ Based on Redmine reStructuredText Formatter
5
+ developed by William Melody
6
+ https://github.com/alphabetum/redmine_restructuredtext_formatter
7
+
8
+ Adapted as generic jQuery plugin by Maurizio Manetti
9
+
10
+ */
11
+
12
+ ;(function( $, window, document, undefined ) {
13
+
14
+ "use strict";
15
+
16
+ var pluginName = "textileToolbar";
17
+
18
+ // available buttons
19
+ var buttons = {
20
+ spacer: {
21
+ type: "spacer"
22
+ },
23
+ strong: {
24
+ type: "singleTag",
25
+ title: "Strong",
26
+ class: "strong",
27
+ tag: "*"
28
+ },
29
+ italic: {
30
+ type: "singleTag",
31
+ title: "Italic",
32
+ class: "em",
33
+ tag: "_"
34
+ },
35
+ underline: {
36
+ type: "singleTag",
37
+ title: "Underline",
38
+ class: "ins",
39
+ tag: "+"
40
+ },
41
+ deleted: {
42
+ type: "singleTag",
43
+ title: "Deleted",
44
+ class: "del",
45
+ tag: "-"
46
+ },
47
+ code: {
48
+ type: "singleTag",
49
+ title: "Code",
50
+ class: "code",
51
+ tag: "@"
52
+ },
53
+ h1: {
54
+ type: "encloseLine",
55
+ title: "Heading 1",
56
+ class: "h1",
57
+ startTag: "h1. ",
58
+ endTag: "",
59
+ searchExpression: /^h\d+\.\s+/,
60
+ replacement: ""
61
+ },
62
+ h2: {
63
+ type: "encloseLine",
64
+ title: "Heading 2",
65
+ class: "h2",
66
+ startTag: "h2. ",
67
+ endTag: "",
68
+ searchExpression: /^h\d+\.\s+/,
69
+ replacement: ""
70
+ },
71
+ h3: {
72
+ type: "encloseLine",
73
+ title: "Heading 3",
74
+ class: "h3",
75
+ startTag: "h3. ",
76
+ endTag: "",
77
+ searchExpression: /^h\d+\.\s+/,
78
+ replacement: ""
79
+ },
80
+ ul: {
81
+ type: "encloseLine",
82
+ title: "Unordered list",
83
+ class: "ul",
84
+ startTag: "",
85
+ endTag: "",
86
+ searchExpression: /(\n|^)[*-]?\s*/g,
87
+ replacement: "$1* "
88
+ },
89
+ ol: {
90
+ type: "encloseLine",
91
+ title: "Ordered list",
92
+ class: "ol",
93
+ startTag: "",
94
+ endTag: "",
95
+ searchExpression: /(\n|^)[*-]?\s*/g,
96
+ replacement: "$1# "
97
+ },
98
+ pre: {
99
+ type: "encloseLine",
100
+ title: "Preformatted text",
101
+ class: "pre",
102
+ startTag: "<pre>\n",
103
+ endTag: "\n</pre>",
104
+ searchExpression: false,
105
+ replacement: ""
106
+ },
107
+ img: {
108
+ type: "singleTag",
109
+ title: "Image",
110
+ class: "img",
111
+ tag: "!"
112
+ },
113
+ link: {
114
+ type: "insertLink",
115
+ title: "Link",
116
+ class: "link"
117
+ },
118
+ url: {
119
+ type: "link",
120
+ title: "Help",
121
+ class: "help",
122
+ url: "about:blank",
123
+ window_properties: "resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes"
124
+ }
125
+ }
126
+
127
+ // default toolbar
128
+ var defaults = {
129
+ toolbar: [
130
+ "strong",
131
+ "italic",
132
+ "underline",
133
+ "deleted",
134
+ "code",
135
+ "spacer",
136
+ "h1",
137
+ "h2",
138
+ "h3",
139
+ "spacer",
140
+ "ul",
141
+ "ol",
142
+ "spacer",
143
+ "pre",
144
+ "spacer",
145
+ "img",
146
+ "link"
147
+ ]
148
+ };
149
+
150
+ function TextileToolbar( element, options ) {
151
+ this.textarea = element;
152
+ this.settings = $.extend( {}, defaults, options);
153
+ this._defaults = defaults;
154
+ this._name = pluginName;
155
+ this.init();
156
+ }
157
+
158
+ TextileToolbar.defaultToolbar = defaults.toolbar;
159
+
160
+ TextileToolbar.prototype.getSelection = function(line) {
161
+ var textarea = this.textarea;
162
+ line = line || "";
163
+ var i, o ,s, l;
164
+
165
+ if ("undefined" !== typeof document.selection) {
166
+ s = document.selection.createRange().text;
167
+ } else if ("undefined" !== typeof textarea.setSelectionRange) {
168
+ o = textarea.selectionStart;
169
+ i = textarea.selectionEnd;
170
+ l = textarea.scrollTop;
171
+ if (line) {
172
+ o = textarea.value.substring(0, o).replace(/[^\r\n]*$/g, "").length;
173
+ i = textarea.value.length - textarea.value.substring(i, textarea.value.length).replace(/^[^\r\n]*/, "").length;
174
+ }
175
+ s = textarea.value.substring(o, i);
176
+ }
177
+
178
+ return {o: o, i:i, s: s, l: l};
179
+ };
180
+
181
+ TextileToolbar.prototype.myEncloseSelection = function(e, t, n, line) {
182
+ var textarea = this.textarea;
183
+ textarea.focus();
184
+ e = e || "";
185
+ t = t || "";
186
+
187
+ var selection, a, r;
188
+ selection = this.getSelection(line);
189
+
190
+ if (selection.s.match(/ $/)) {
191
+ selection.s = selection.s.substring(0, selection.s.length - 1);
192
+ t += " ";
193
+ }
194
+
195
+ if ("function" === typeof n) {
196
+ r = selection.s ? n.call(this, selection.s) : n("");
197
+ } else {
198
+ r = selection.s ? selection.s : "";
199
+ }
200
+
201
+ a = e + r + t;
202
+
203
+ if ("undefined" !== typeof document.selection) {
204
+ document.selection.createRange().text = a;
205
+ var c = textarea.createTextRange();
206
+ c.collapse(!1);
207
+ c.move("character", -t.length);
208
+ c.select();
209
+ } else if ("undefined" !== typeof textarea.setSelectionRange) {
210
+ textarea.value = textarea.value.substring(0, selection.o) + a + textarea.value.substring(selection.i);
211
+ if (selection.s) {
212
+ textarea.setSelectionRange(selection.o + a.length, selection.o + a.length);
213
+ } else {
214
+ textarea.setSelectionRange(selection.o + e.length, selection.o + e.length);
215
+ }
216
+ textarea.scrollTop = selection.l;
217
+ }
218
+ };
219
+
220
+ TextileToolbar.prototype.encloseLineSelection = function(e, t, n) {
221
+ this.myEncloseSelection(e, t, n, true);
222
+ };
223
+
224
+ TextileToolbar.prototype.encloseSelection = function(e, t, n) {
225
+ this.myEncloseSelection(e, t, n, false);
226
+ };
227
+
228
+ TextileToolbar.prototype.singleTag = function(e, t) {
229
+ e = e || null;
230
+ t = t || e;
231
+ if (e && t) {
232
+ this.encloseSelection(e, t);
233
+ }
234
+ };
235
+
236
+ TextileToolbar.prototype.init = function () {
237
+ var settings = this.settings;
238
+ var textarea = this.textarea;
239
+ var toolbar = this;
240
+
241
+ var toolbarDiv = $("<div class=\"textile-toolbar\"></div>");
242
+ var htmlButton;
243
+
244
+ // create buttons based on the configuration
245
+ $.each(settings.toolbar, function(index, buttonName) {
246
+ var button = buttons[buttonName];
247
+ if (!button) return;
248
+ if (button.type === "spacer") {
249
+ htmlButton = $("<span class=\"tt-spacer\"></span>");
250
+ } else {
251
+ htmlButton = $("<button type=\"button\" class=\"tt-" + button.class + "\" title=\"" + button.title + "\"></button>");
252
+ switch (button.type) {
253
+ case "singleTag":
254
+ htmlButton.on("click", function() { toolbar.singleTag(button.tag); });
255
+ break;
256
+ case "enclose":
257
+ htmlButton.on("click", function() { toolbar.encloseSelection(button.startTag, button.endTag); });
258
+ break;
259
+ case "encloseLine":
260
+ htmlButton.on("click", function() {
261
+ if (button.searchExpression) {
262
+ toolbar.encloseLineSelection(button.startTag, button.endTag, function(e) {
263
+ e = e.replace(/\r/g, "");
264
+ e = e.replace(button.searchExpression, button.replacement);
265
+ return e;
266
+ });
267
+ } else {
268
+ toolbar.encloseLineSelection(button.startTag, button.endTag);
269
+ }
270
+ });
271
+ break;
272
+ case "insertLink":
273
+ htmlButton.on("click", function() {
274
+ var url = prompt("Please provide URL address: ", "");
275
+ if (url) {
276
+ toolbar.encloseSelection("\"", "\":"+url);
277
+ }
278
+ });
279
+ break;
280
+ case "link":
281
+ htmlButton.on("click", function() {
282
+ if (button.callback) {
283
+ button.callback();
284
+ } else if (button.url) {
285
+ window.open(button.url, "", button.window_properties);
286
+ }
287
+ });
288
+ break;
289
+ }
290
+ }
291
+ toolbarDiv.append(htmlButton);
292
+ });
293
+
294
+ $(textarea).before(toolbarDiv);
295
+
296
+ };
297
+
298
+ TextileToolbar.prototype._reset = function(){
299
+ // remove added dom elements and event bindings
300
+ // method should never be called alone
301
+ var textarea = this.textarea;
302
+ // reset interface and event binding
303
+ $(textarea).prev(".textile-toolbar").remove();
304
+ };
305
+
306
+ TextileToolbar.prototype.destroy = function(){
307
+ var textarea = this.textarea;
308
+ this._reset();
309
+ // remove data attributes (we are deleting the instance completely)
310
+ $(textarea).removeData("plugin_" + this._name);
311
+ };
312
+
313
+ TextileToolbar.prototype.repaint = function(){
314
+ // reset and re-apply
315
+ this._reset();
316
+ this.init();
317
+ };
318
+
319
+ // evaluate method call or creation (similar to jQuery UI widget factory)
320
+ // prevent against multiple instantiations
321
+ // attach the plugin in the data-attribute of matched elements
322
+ $.fn[pluginName] = function ( options ) {
323
+ var isMethodCall = typeof options === "string";
324
+ if ( isMethodCall ) {
325
+ return this.each( function() {
326
+ var instance = $.data(this, "plugin_" + pluginName);
327
+ if (!instance) {
328
+ // error: instance not initialized
329
+ console.error("Cannot call methods on " + pluginName + " prior to initialization; attempted to call method '" + options + "'" );
330
+ } else if ( !$.isFunction(instance[options]) ) {
331
+ // error: method not defined
332
+ console.error("No such method '" + options + "' for " + pluginName);
333
+ } else {
334
+ // finally call the desired method
335
+ instance[options].call(instance);
336
+ }
337
+ });
338
+ } else {
339
+ return this.each(function () {
340
+ if (!$.data(this, "plugin_" + pluginName)) {
341
+ $.data(this, "plugin_" + pluginName,
342
+ new TextileToolbar( this, options ));
343
+ }
344
+ });
345
+ }
346
+ };
347
+
348
+ }( jQuery, window, document ));
@@ -0,0 +1,82 @@
1
+ /*
2
+ Textile Toolbar jQuery plugin
3
+
4
+ Based on Redmine reStructuredText Formatter
5
+ developed by William Melody
6
+ https://github.com/alphabetum/redmine_restructuredtext_formatter
7
+
8
+ Adapted as generic jQuery plugin by Maurizio Manetti
9
+
10
+ */
11
+
12
+ .textile-toolbar {
13
+
14
+ margin-bottom: 5px;
15
+
16
+ button {
17
+ margin-right: 4px;
18
+ width: 24px;
19
+ height: 24px;
20
+ padding: 4px;
21
+ border-style: solid;
22
+ border-width: 1px;
23
+ border-color: #ddd;
24
+ background-color: #f7f7f7;
25
+ background-position: 50% 50%;
26
+ background-repeat: no-repeat;
27
+ }
28
+
29
+ button:hover {
30
+ border-color: #bbb;
31
+ background-color: #e5e5e5;
32
+ }
33
+
34
+ .tt-spacer {
35
+ width : 0;
36
+ font-size: 1px;
37
+ margin-right: 6px;
38
+ }
39
+ .tt-strong {
40
+ background-image: image-url('textileToolbar/bt_strong.png');
41
+ }
42
+ .tt-em {
43
+ background-image: image-url('textileToolbar/bt_em.png');
44
+ }
45
+ .tt-ins {
46
+ background-image: image-url('textileToolbar/bt_ins.png');
47
+ }
48
+ .tt-del {
49
+ background-image: image-url('textileToolbar/bt_del.png');
50
+ }
51
+ .tt-code {
52
+ background-image: image-url('textileToolbar/bt_code.png');
53
+ }
54
+ .tt-h1 {
55
+ background-image: image-url('textileToolbar/bt_h1.png');
56
+ }
57
+ .tt-h2 {
58
+ background-image: image-url('textileToolbar/bt_h2.png');
59
+ }
60
+ .tt-h3 {
61
+ background-image: image-url('textileToolbar/bt_h3.png');
62
+ }
63
+ .tt-ul {
64
+ background-image: image-url('textileToolbar/bt_ul.png');
65
+ }
66
+ .tt-ol {
67
+ background-image: image-url('textileToolbar/bt_ol.png');
68
+ }
69
+ .tt-pre {
70
+ background-image: image-url('textileToolbar/bt_pre.png');
71
+ }
72
+ .tt-link {
73
+ background-image: image-url('textileToolbar/bt_link.png');
74
+ }
75
+ .tt-img {
76
+ background-image: image-url('textileToolbar/bt_img.png');
77
+ }
78
+ .tt-help {
79
+ background-image: image-url('textileToolbar/bt_help.png');
80
+ }
81
+
82
+ }
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'jquery/textileToolbar/rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "jquery-textileToolbar-rails"
8
+ spec.version = Jquery::TextileToolbar::Rails::VERSION
9
+ spec.authors = ["Maurizio Manetti"]
10
+ spec.email = ["maurizio@imanetti.net"]
11
+
12
+ spec.homepage = "https://github.com/mauntrelio/jquery-textileToolbar-rails"
13
+ spec.summary = %q{Use jQuery textileToolbar with Rails > 3.1}
14
+ spec.description = %q{This gem provides jQuery textileToolbar for Rails > 3.1 applications}
15
+
16
+ spec.license = "MIT"
17
+
18
+ spec.add_dependency "railties", "> 3.1"
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
21
+ f.match(%r{^(test|spec|features)/})
22
+ end
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+
27
+ spec.add_development_dependency "bundler", "~> 1.13"
28
+ spec.add_development_dependency "rake", "~> 10.0"
29
+
30
+ end
@@ -0,0 +1,2 @@
1
+ require "jquery/textileToolbar/rails/version"
2
+ require "jquery/textileToolbar/rails/engine"
@@ -0,0 +1,2 @@
1
+ require 'jquery/textileToolbar/rails/engine'
2
+ require 'jquery/textileToolbar/rails/version'
@@ -0,0 +1,8 @@
1
+ module Jquery
2
+ module TextileToolbar
3
+ module Rails
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ module Jquery
2
+ module TextileToolbar
3
+ module Rails
4
+ VERSION = "0.0.1"
5
+ end
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,115 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jquery-textileToolbar-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Maurizio Manetti
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-03-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.13'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.13'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description: This gem provides jQuery textileToolbar for Rails > 3.1 applications
56
+ email:
57
+ - maurizio@imanetti.net
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.md
66
+ - Rakefile
67
+ - app/assets/images/textileToolbar/bt_bq.png
68
+ - app/assets/images/textileToolbar/bt_bq_remove.png
69
+ - app/assets/images/textileToolbar/bt_code.png
70
+ - app/assets/images/textileToolbar/bt_del.png
71
+ - app/assets/images/textileToolbar/bt_em.png
72
+ - app/assets/images/textileToolbar/bt_h1.png
73
+ - app/assets/images/textileToolbar/bt_h2.png
74
+ - app/assets/images/textileToolbar/bt_h3.png
75
+ - app/assets/images/textileToolbar/bt_help.png
76
+ - app/assets/images/textileToolbar/bt_img.png
77
+ - app/assets/images/textileToolbar/bt_ins.png
78
+ - app/assets/images/textileToolbar/bt_link.png
79
+ - app/assets/images/textileToolbar/bt_ol.png
80
+ - app/assets/images/textileToolbar/bt_pre.png
81
+ - app/assets/images/textileToolbar/bt_precode.png
82
+ - app/assets/images/textileToolbar/bt_strong.png
83
+ - app/assets/images/textileToolbar/bt_ul.png
84
+ - app/assets/javascripts/textileToolbar/jquery.textileToolbar.js
85
+ - app/assets/stylesheets/textileToolbar/_textileToolbar.scss
86
+ - jquery-textileToolbar-rails.gemspec
87
+ - lib/jquery-textileToolbar-rails.rb
88
+ - lib/jquery/textileToolbar/rails.rb
89
+ - lib/jquery/textileToolbar/rails/engine.rb
90
+ - lib/jquery/textileToolbar/rails/version.rb
91
+ homepage: https://github.com/mauntrelio/jquery-textileToolbar-rails
92
+ licenses:
93
+ - MIT
94
+ metadata: {}
95
+ post_install_message:
96
+ rdoc_options: []
97
+ require_paths:
98
+ - lib
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ requirements: []
110
+ rubyforge_project:
111
+ rubygems_version: 2.6.8
112
+ signing_key:
113
+ specification_version: 4
114
+ summary: Use jQuery textileToolbar with Rails > 3.1
115
+ test_files: []