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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4861a46c50bef032bf82c689696c59598026e0bedbc33193aa4b0de02623834
4
- data.tar.gz: 7b0e51084cabefd077604953efe64d1851ec36cc0c3107d9d7d80c16bd206c3f
3
+ metadata.gz: 99f0a63496ccf1f16ab115aefb24cdb57e4afbbd80d024670a321bc0326d57e7
4
+ data.tar.gz: 1b003dd2a7b4d1c407128096515995ce054b7b7f7f1e076c7b4be2a1ba9c4939
5
5
  SHA512:
6
- metadata.gz: 2ab89301eca8714d257dc4bfcbae2e660c6370e493a6e61a069e5276d7830f4bddf2958595aa4d629cac1def7f783973ad76cb8e3a5a778ecaf14b4a54d53c6c
7
- data.tar.gz: e67e9a9fdd0a365961af24e8292704c83d26043456f0a681ec6dcf6ec5deecbc8f1d74f3df7b8cc4dc3e7b75eb2d47de9578e7857a7e6a16b7201a3b0ab1ec31
6
+ metadata.gz: db63097232b3fd61cc6f8882f3eb378ea39bec90d3cd59604f45b122b6b8d4b0e944c72cae8b7f623cdf183b2729d4ca67f9277049fda072189adc161d17358e
7
+ data.tar.gz: d20225a48382c3b8bac013e6d78508e2096aebce1d247cd204d95d443ea8a0e3b99751134fb3c618c5f20ec966b58ccd792df6d9516dc5faaa5a5854fbb64557
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in trestle-tinymce.gemspec
4
4
  gemspec
5
+
6
+ gem "rake", "~> 13.0"
@@ -0,0 +1 @@
1
+ //= link_tree ../../javascripts
@@ -1,5 +1,3 @@
1
- require "trestle/tinymce/field"
2
-
3
1
  Trestle.configure do |config|
4
2
  config.tinymce.default.configure do |c|
5
3
  c.skin = "trestle"
@@ -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
- Trestle::Configuration.option :tinymce, Trestle::TinyMCE::Configuration.new
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
@@ -1,5 +1,5 @@
1
1
  module Trestle
2
2
  module TinyMCE
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -1,7 +1,4 @@
1
- # coding: utf-8
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.0
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: 2019-11-13 00:00:00.000000000 Z
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.6
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