trestle-tinymce 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/app/assets/config/trestle/tinymce.manifest.js +1 -0
- data/config/initializers/trestle.rb +0 -2
- data/lib/trestle/tinymce.rb +11 -4
- data/lib/trestle/tinymce/engine.rb +2 -1
- data/lib/trestle/tinymce/version.rb +1 -1
- data/trestle-tinymce.gemspec +1 -7
- metadata +4 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99f0a63496ccf1f16ab115aefb24cdb57e4afbbd80d024670a321bc0326d57e7
|
4
|
+
data.tar.gz: 1b003dd2a7b4d1c407128096515995ce054b7b7f7f1e076c7b4be2a1ba9c4939
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db63097232b3fd61cc6f8882f3eb378ea39bec90d3cd59604f45b122b6b8d4b0e944c72cae8b7f623cdf183b2729d4ca67f9277049fda072189adc161d17358e
|
7
|
+
data.tar.gz: d20225a48382c3b8bac013e6d78508e2096aebce1d247cd204d95d443ea8a0e3b99751134fb3c618c5f20ec966b58ccd792df6d9516dc5faaa5a5854fbb64557
|
data/Gemfile
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
//= link_tree ../../javascripts
|
data/lib/trestle/tinymce.rb
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
require "trestle"
|
2
|
-
require "trestle/tinymce/version"
|
3
|
-
require "trestle/tinymce/configuration"
|
4
|
-
require "trestle/tinymce/engine"
|
5
2
|
|
6
|
-
|
3
|
+
module Trestle
|
4
|
+
module TinyMCE
|
5
|
+
require_relative "tinymce/version"
|
6
|
+
require_relative "tinymce/configuration"
|
7
|
+
require_relative "tinymce/field"
|
8
|
+
end
|
9
|
+
|
10
|
+
Configuration.option :tinymce, TinyMCE::Configuration.new
|
11
|
+
end
|
12
|
+
|
13
|
+
require_relative "tinymce/engine" if defined?(Rails)
|
@@ -3,7 +3,8 @@ require "tinymce/rails"
|
|
3
3
|
module Trestle
|
4
4
|
module TinyMCE
|
5
5
|
class Engine < Rails::Engine
|
6
|
-
config.assets.precompile << "trestle/tinymce.js"
|
6
|
+
config.assets.precompile << "trestle/tinymce.manifest.js" # Sprockets 4 manifest
|
7
|
+
config.assets.precompile << "trestle/tinymce.js" # Sprockets 3
|
7
8
|
end
|
8
9
|
end
|
9
10
|
end
|
data/trestle-tinymce.gemspec
CHANGED
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "trestle/tinymce/version"
|
1
|
+
require_relative "lib/trestle/tinymce/version"
|
5
2
|
|
6
3
|
Gem::Specification.new do |spec|
|
7
4
|
spec.name = "trestle-tinymce"
|
@@ -20,7 +17,4 @@ Gem::Specification.new do |spec|
|
|
20
17
|
|
21
18
|
spec.add_dependency "trestle", "~> 0.9.0"
|
22
19
|
spec.add_dependency "tinymce-rails", "~> 4.6"
|
23
|
-
|
24
|
-
spec.add_development_dependency "bundler", "~> 1.15"
|
25
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
26
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle-tinymce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pohlenz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trestle
|
@@ -38,34 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '4.6'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.15'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.15'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '10.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '10.0'
|
69
41
|
description: TinyMCE integration plugin for the Trestle admin framework.
|
70
42
|
email:
|
71
43
|
- sam@sampohlenz.com
|
@@ -81,6 +53,7 @@ files:
|
|
81
53
|
- LICENSE
|
82
54
|
- README.md
|
83
55
|
- Rakefile
|
56
|
+
- app/assets/config/trestle/tinymce.manifest.js
|
84
57
|
- app/assets/javascripts/tinymce/skins/trestle/_skin-lightgray.scss
|
85
58
|
- app/assets/javascripts/tinymce/skins/trestle/content.inline.min.css
|
86
59
|
- app/assets/javascripts/tinymce/skins/trestle/content.min.css
|
@@ -192,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
165
|
- !ruby/object:Gem::Version
|
193
166
|
version: '0'
|
194
167
|
requirements: []
|
195
|
-
rubygems_version: 3.0.
|
168
|
+
rubygems_version: 3.0.8
|
196
169
|
signing_key:
|
197
170
|
specification_version: 4
|
198
171
|
summary: TinyMCE integration plugin for the Trestle admin framework
|