tinymce-rails4 4.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/app/assets/javascripts/langs/readme.md +3 -0
- data/app/assets/javascripts/license.txt +504 -0
- data/app/assets/javascripts/plugins/advlist/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/anchor/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/autolink/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/autoresize/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/autosave/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/bbcode/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/charmap/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/code/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/contextmenu/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/directionality/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-cool.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-cry.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-embarassed.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-frown.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-innocent.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-kiss.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-laughing.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-sealed.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-smile.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-surprised.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-undecided.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-wink.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/img/smiley-yell.gif +0 -0
- data/app/assets/javascripts/plugins/emoticons/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/example/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/example_dependency/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/fullpage/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/fullscreen/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/hr/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/image/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/importcss/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/insertdatetime/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/layer/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/legacyoutput/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/link/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/lists/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/media/moxieplayer.swf +0 -0
- data/app/assets/javascripts/plugins/media/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/nonbreaking/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/noneditable/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/pagebreak/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/paste/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/preview/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/print/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/save/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/searchreplace/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/spellchecker/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/tabfocus/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/table/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/template/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/textcolor/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/visualblocks/css/visualblocks.css +128 -0
- data/app/assets/javascripts/plugins/visualblocks/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/visualchars/plugin.min.js +1 -0
- data/app/assets/javascripts/plugins/wordcount/plugin.min.js +1 -0
- data/app/assets/javascripts/skins/lightgray/content.inline.min.css +1 -0
- data/app/assets/javascripts/skins/lightgray/content.min.css +1 -0
- data/app/assets/javascripts/skins/lightgray/fonts/icomoon-small.eot +0 -0
- data/app/assets/javascripts/skins/lightgray/fonts/icomoon-small.svg +175 -0
- data/app/assets/javascripts/skins/lightgray/fonts/icomoon-small.ttf +0 -0
- data/app/assets/javascripts/skins/lightgray/fonts/icomoon-small.woff +0 -0
- data/app/assets/javascripts/skins/lightgray/fonts/icomoon.eot +0 -0
- data/app/assets/javascripts/skins/lightgray/fonts/icomoon.svg +153 -0
- data/app/assets/javascripts/skins/lightgray/fonts/icomoon.ttf +0 -0
- data/app/assets/javascripts/skins/lightgray/fonts/icomoon.woff +0 -0
- data/app/assets/javascripts/skins/lightgray/fonts/readme.md +1 -0
- data/app/assets/javascripts/skins/lightgray/img/anchor.gif +0 -0
- data/app/assets/javascripts/skins/lightgray/img/loader.gif +0 -0
- data/app/assets/javascripts/skins/lightgray/img/object.gif +0 -0
- data/app/assets/javascripts/skins/lightgray/img/trans.gif +0 -0
- data/app/assets/javascripts/skins/lightgray/img/wline.gif +0 -0
- data/app/assets/javascripts/skins/lightgray/skin.ie7.min.css +1 -0
- data/app/assets/javascripts/skins/lightgray/skin.min.css +1 -0
- data/app/assets/javascripts/themes/modern/theme.min.js +1 -0
- data/app/assets/javascripts/tinymce.min.js +10 -0
- data/lib/generators/tinymce/install/install_generator.rb +13 -0
- data/lib/tinymce/rails4/version.rb +5 -0
- data/lib/tinymce/rails4.rb +8 -0
- data/tinymce-rails4.gemspec +24 -0
- metadata +187 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
module Tinymce
|
4
|
+
module Generators
|
5
|
+
class InstallGenerator < Rails::Generators::Base
|
6
|
+
desc "This generator load tinymce into the application.css and application.js"
|
7
|
+
|
8
|
+
def load_tinymce
|
9
|
+
inject_into_file "app/assets/javascripts/application.js", "//= require tinymce.min\n", before: "//= require_tree"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'tinymce/rails4/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "tinymce-rails4"
|
8
|
+
spec.version = Tinymce::Rails4::VERSION
|
9
|
+
spec.authors = ["Oscar Hugo Cardenas Lopez"]
|
10
|
+
spec.email = ["ohcl87@hotmail.com"]
|
11
|
+
spec.description = %q{this gem is to load a tinymce into the rails application using the generator rails g tinymce:install this action put into the application.css and application.js files require tinymce.min}
|
12
|
+
spec.summary = spec.description
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_runtime_dependency "rails", ">= 3.2"
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
23
|
+
spec.add_development_dependency "rake"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,187 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tinymce-rails4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.0.6
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Oscar Hugo Cardenas Lopez
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-10-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.2'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: bundler
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '1.3'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.3'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '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: '0'
|
62
|
+
description: this gem is to load a tinymce into the rails application using the generator
|
63
|
+
rails g tinymce:install this action put into the application.css and application.js
|
64
|
+
files require tinymce.min
|
65
|
+
email:
|
66
|
+
- ohcl87@hotmail.com
|
67
|
+
executables: []
|
68
|
+
extensions: []
|
69
|
+
extra_rdoc_files: []
|
70
|
+
files:
|
71
|
+
- .gitignore
|
72
|
+
- Gemfile
|
73
|
+
- LICENSE.txt
|
74
|
+
- README.md
|
75
|
+
- Rakefile
|
76
|
+
- app/assets/javascripts/langs/readme.md
|
77
|
+
- app/assets/javascripts/license.txt
|
78
|
+
- app/assets/javascripts/plugins/advlist/plugin.min.js
|
79
|
+
- app/assets/javascripts/plugins/anchor/plugin.min.js
|
80
|
+
- app/assets/javascripts/plugins/autolink/plugin.min.js
|
81
|
+
- app/assets/javascripts/plugins/autoresize/plugin.min.js
|
82
|
+
- app/assets/javascripts/plugins/autosave/plugin.min.js
|
83
|
+
- app/assets/javascripts/plugins/bbcode/plugin.min.js
|
84
|
+
- app/assets/javascripts/plugins/charmap/plugin.min.js
|
85
|
+
- app/assets/javascripts/plugins/code/plugin.min.js
|
86
|
+
- app/assets/javascripts/plugins/contextmenu/plugin.min.js
|
87
|
+
- app/assets/javascripts/plugins/directionality/plugin.min.js
|
88
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-cool.gif
|
89
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-cry.gif
|
90
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-embarassed.gif
|
91
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-foot-in-mouth.gif
|
92
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-frown.gif
|
93
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-innocent.gif
|
94
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-kiss.gif
|
95
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-laughing.gif
|
96
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-money-mouth.gif
|
97
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-sealed.gif
|
98
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-smile.gif
|
99
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-surprised.gif
|
100
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-tongue-out.gif
|
101
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-undecided.gif
|
102
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-wink.gif
|
103
|
+
- app/assets/javascripts/plugins/emoticons/img/smiley-yell.gif
|
104
|
+
- app/assets/javascripts/plugins/emoticons/plugin.min.js
|
105
|
+
- app/assets/javascripts/plugins/example/plugin.min.js
|
106
|
+
- app/assets/javascripts/plugins/example_dependency/plugin.min.js
|
107
|
+
- app/assets/javascripts/plugins/fullpage/plugin.min.js
|
108
|
+
- app/assets/javascripts/plugins/fullscreen/plugin.min.js
|
109
|
+
- app/assets/javascripts/plugins/hr/plugin.min.js
|
110
|
+
- app/assets/javascripts/plugins/image/plugin.min.js
|
111
|
+
- app/assets/javascripts/plugins/importcss/plugin.min.js
|
112
|
+
- app/assets/javascripts/plugins/insertdatetime/plugin.min.js
|
113
|
+
- app/assets/javascripts/plugins/layer/plugin.min.js
|
114
|
+
- app/assets/javascripts/plugins/legacyoutput/plugin.min.js
|
115
|
+
- app/assets/javascripts/plugins/link/plugin.min.js
|
116
|
+
- app/assets/javascripts/plugins/lists/plugin.min.js
|
117
|
+
- app/assets/javascripts/plugins/media/moxieplayer.swf
|
118
|
+
- app/assets/javascripts/plugins/media/plugin.min.js
|
119
|
+
- app/assets/javascripts/plugins/nonbreaking/plugin.min.js
|
120
|
+
- app/assets/javascripts/plugins/noneditable/plugin.min.js
|
121
|
+
- app/assets/javascripts/plugins/pagebreak/plugin.min.js
|
122
|
+
- app/assets/javascripts/plugins/paste/plugin.min.js
|
123
|
+
- app/assets/javascripts/plugins/preview/plugin.min.js
|
124
|
+
- app/assets/javascripts/plugins/print/plugin.min.js
|
125
|
+
- app/assets/javascripts/plugins/save/plugin.min.js
|
126
|
+
- app/assets/javascripts/plugins/searchreplace/plugin.min.js
|
127
|
+
- app/assets/javascripts/plugins/spellchecker/plugin.min.js
|
128
|
+
- app/assets/javascripts/plugins/tabfocus/plugin.min.js
|
129
|
+
- app/assets/javascripts/plugins/table/plugin.min.js
|
130
|
+
- app/assets/javascripts/plugins/template/plugin.min.js
|
131
|
+
- app/assets/javascripts/plugins/textcolor/plugin.min.js
|
132
|
+
- app/assets/javascripts/plugins/visualblocks/css/visualblocks.css
|
133
|
+
- app/assets/javascripts/plugins/visualblocks/plugin.min.js
|
134
|
+
- app/assets/javascripts/plugins/visualchars/plugin.min.js
|
135
|
+
- app/assets/javascripts/plugins/wordcount/plugin.min.js
|
136
|
+
- app/assets/javascripts/skins/lightgray/content.inline.min.css
|
137
|
+
- app/assets/javascripts/skins/lightgray/content.min.css
|
138
|
+
- app/assets/javascripts/skins/lightgray/fonts/icomoon-small.eot
|
139
|
+
- app/assets/javascripts/skins/lightgray/fonts/icomoon-small.svg
|
140
|
+
- app/assets/javascripts/skins/lightgray/fonts/icomoon-small.ttf
|
141
|
+
- app/assets/javascripts/skins/lightgray/fonts/icomoon-small.woff
|
142
|
+
- app/assets/javascripts/skins/lightgray/fonts/icomoon.eot
|
143
|
+
- app/assets/javascripts/skins/lightgray/fonts/icomoon.svg
|
144
|
+
- app/assets/javascripts/skins/lightgray/fonts/icomoon.ttf
|
145
|
+
- app/assets/javascripts/skins/lightgray/fonts/icomoon.woff
|
146
|
+
- app/assets/javascripts/skins/lightgray/fonts/readme.md
|
147
|
+
- app/assets/javascripts/skins/lightgray/img/anchor.gif
|
148
|
+
- app/assets/javascripts/skins/lightgray/img/loader.gif
|
149
|
+
- app/assets/javascripts/skins/lightgray/img/object.gif
|
150
|
+
- app/assets/javascripts/skins/lightgray/img/trans.gif
|
151
|
+
- app/assets/javascripts/skins/lightgray/img/wline.gif
|
152
|
+
- app/assets/javascripts/skins/lightgray/skin.ie7.min.css
|
153
|
+
- app/assets/javascripts/skins/lightgray/skin.min.css
|
154
|
+
- app/assets/javascripts/themes/modern/theme.min.js
|
155
|
+
- app/assets/javascripts/tinymce.min.js
|
156
|
+
- lib/generators/tinymce/install/install_generator.rb
|
157
|
+
- lib/tinymce/rails4.rb
|
158
|
+
- lib/tinymce/rails4/version.rb
|
159
|
+
- tinymce-rails4.gemspec
|
160
|
+
homepage: ''
|
161
|
+
licenses:
|
162
|
+
- MIT
|
163
|
+
post_install_message:
|
164
|
+
rdoc_options: []
|
165
|
+
require_paths:
|
166
|
+
- lib
|
167
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
175
|
+
requirements:
|
176
|
+
- - ! '>='
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
179
|
+
requirements: []
|
180
|
+
rubyforge_project:
|
181
|
+
rubygems_version: 1.8.25
|
182
|
+
signing_key:
|
183
|
+
specification_version: 3
|
184
|
+
summary: this gem is to load a tinymce into the rails application using the generator
|
185
|
+
rails g tinymce:install this action put into the application.css and application.js
|
186
|
+
files require tinymce.min
|
187
|
+
test_files: []
|