Skip to content

Commit

Permalink
Merge upstream changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoppe committed Dec 20, 2019
2 parents 0503d72 + dd811b0 commit 3072f0c
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
spec/dummy
Gemfile.lock
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gem "refinerycms-testing"

gem 'sqlite3'
gem 'pry'
gem 'listen'

group :development, :test do
gem 'selenium-webdriver', '~> 3.0'
Expand Down
11 changes: 11 additions & 0 deletions bin/rails
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails gems
# installed from the root of your application.

begin
load File.join(File.expand_path('../../', __FILE__), 'spec/dummy/bin/rails')
rescue LoadError => load_error
warn "No dummy Rails application found! \n" \
"To create one in spec/dummy, please run: \n\n" \
" rake refinery:testing:dummy_app"
end
1 change: 1 addition & 0 deletions lib/refinery/tinymce.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module Refinery
module Tinymce
require 'refinery/tinymce/engine'
require 'refinery/tinymce/configuration'

class << self
def root
Expand Down
9 changes: 9 additions & 0 deletions lib/refinery/tinymce/configuration.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module Refinery
module Tinymce
include ActiveSupport::Configurable

config_accessor :extra_plugins

self.extra_plugins = []
end
end
1 change: 1 addition & 0 deletions lib/refinery/tinymce/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Engine < ::Rails::Engine
tinymce/plugins/stylebuttons/*
tinymce/plugins/refineryimage/*
tinymce/plugins/refinerylink/*
refinery/tinymce_manifest.js
)
end

Expand Down
2 changes: 1 addition & 1 deletion refinerycms-tinymce.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Gem::Specification.new do |s|
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- spec/*`.split("\n")

s.add_dependency 'refinerycms-core', '~> 4.0.3'
s.add_dependency 'refinerycms-core', '>= 3.0.0'
end

0 comments on commit 3072f0c

Please sign in to comment.