refinerycms-wymeditor 1.1.0 → 3.0.0

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
- SHA1:
3
- metadata.gz: 83d8a5a5bfcdf9a4164c01c6f621814cf160e8fa
4
- data.tar.gz: 536e8062394ee3e28d0a3613a794c537955c557c
2
+ SHA256:
3
+ metadata.gz: 4cf82ac55ad6df4c5c63fcf711573086542f02880f1b7e573fdf6fb136b946d7
4
+ data.tar.gz: 9724b930c20a5ae8d0449691de5df60e0caa35b457aa730f6325ebea93d94f8a
5
5
  SHA512:
6
- metadata.gz: fbff1287b96f08cf2442a4b48db4bada01320286864d49e75bec98cd7712ece7799bb815aac0c3535c6827f3b086ca206c481ebbe230f3a5f36cde84211186ac
7
- data.tar.gz: 82eb770ca02778a316de2a17839c8749037473fceeb4af75b9b615ef6f6320d4d69b771cbd3609b7979a3369f1793030964e8e0b7434d2a2f1f94c1221a853e6
6
+ metadata.gz: 8f3e7376bca8860cff2d51b7dea404f9a7fb935da6a216642219fd082e953ab196c1c75c4e2af36ae58fff66c1c664fb582c3f29889297116f313efb06cce322
7
+ data.tar.gz: 846f6ab81a80e761f05b0696f89b99638d3024509c60afdae39a2249ff033dfca192e508fb6e0679cf376c0c132affc1da57eb4000153233945b12b5ec0b1e88
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1 @@
1
+ github: [parndt, bricesanchez]
@@ -0,0 +1,52 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+
9
+ jobs:
10
+ test:
11
+ strategy:
12
+ matrix:
13
+ database: [ mysql, postgresql ]
14
+ ruby: [ 2.7, 2.6 ]
15
+ fail-fast: false
16
+ max-parallel: 20
17
+ runs-on: ubuntu-latest
18
+
19
+ env:
20
+ CI: true
21
+ DB: ${{ matrix.database }}
22
+ MYSQL_PASSWORD: root
23
+ PGHOST: localhost
24
+ PGPASSWORD: runner
25
+ PGUSER: runner
26
+ RAILS_ENV: test
27
+ RETRY_COUNT: 3
28
+
29
+ name: rspec ${{ matrix.ruby }} ${{ matrix.database }}
30
+ steps:
31
+ - run: sudo apt-get update && sudo apt-get install libsqlite3-dev -y
32
+ - uses: actions/checkout@v2
33
+ - uses: ruby/setup-ruby@v1
34
+ with:
35
+ bundler-cache: true
36
+ ruby-version: ${{ matrix.ruby }}
37
+
38
+ - name: "Set up MySQL using VM's server"
39
+ if: ${{ env.DB == 'mysql' }}
40
+ run: |
41
+ sudo apt-get install libmysqlclient-dev -y
42
+ sudo systemctl start mysql.service
43
+
44
+ - name: "Set up PostgreSQL using VM's server"
45
+ if: ${{ env.DB == 'postgresql' }}
46
+ run: |
47
+ sudo apt-get install libpq-dev -y
48
+ sudo systemctl start postgresql.service
49
+ sudo -u postgres psql -c "CREATE USER runner WITH SUPERUSER PASSWORD 'runner'"
50
+
51
+ - run: bin/rake refinery:testing:dummy_app
52
+ - run: bin/rake
@@ -0,0 +1,9 @@
1
+ //= link wymeditor.css
2
+ //= link theme.css
3
+
4
+ //= link refinery/wymeditor.js
5
+
6
+ //= link wymeditor/skins/refinery/skin.js
7
+ //= link wymeditor/skins/refinery/skin.css
8
+
9
+ //= link wymeditor/skins/refinery/wymiframe.css
@@ -33,6 +33,7 @@
33
33
  *= require wymeditor/classes
34
34
  *= require wymeditor/validators
35
35
  *= require_tree ../wymeditor/browsers
36
+ *= require_tree ../wymeditor/lang
36
37
  *= require wymeditor/init_interface
37
38
  *= require refinery/boot_wym
38
39
  *= require_self
@@ -1177,7 +1177,9 @@ WYMeditor.XhtmlSaxListener.prototype.joinRepeatedEntities = function(xhtml)
1177
1177
 
1178
1178
  WYMeditor.XhtmlSaxListener.prototype.removeEmptyTags = function(xhtml)
1179
1179
  {
1180
- return xhtml.replace(new RegExp('<('+this.block_tags.join("|").replace(/\|td/,'').replace(/\|th/, '')+')>(<br \/>|&#160;|&nbsp;|\\s)*<\/\\1>' ,'g'),'');
1180
+ var tags = this.block_tags.join("|").replace(/\|td/,'').replace(/\|th/, '');
1181
+ var emptyTags = '<(' + tags + ')>(<br \/>|&#160;|&nbsp;|\\s)*<\/\\1>';
1182
+ return xhtml.replace(new RegExp(emptyTags ,'g'),'').trim();
1181
1183
  };
1182
1184
 
1183
1185
  WYMeditor.XhtmlSaxListener.prototype.removeBrInPre = function(xhtml)
@@ -42,6 +42,8 @@ WYMeditor.STRINGS['zh-CN'] = {
42
42
  Status: '状态',
43
43
  Source_Code: '源代码',
44
44
  Attachment: '附件',
45
- NewParagraph: '新段落'
45
+ NewParagraph: '新段落',
46
+ Apply_Style: '应用样式',
47
+ Insert: '插入'
46
48
  };
47
49
 
@@ -556,7 +556,7 @@ WYMeditor.editor.prototype.replaceStrings = function(sVal) {
556
556
  var wym = this;
557
557
  if(!WYMeditor.STRINGS[wym._options.lang]) {
558
558
  try {
559
- eval($.ajax({url:wym._options.langPath + wym._options.lang + '.js', async:false}).responseText);
559
+ eval($.ajax({url:"<%= asset_path("wymeditor/lang/#{I18n.locale}") %>", async:false}).responseText);
560
560
  } catch(e) {
561
561
  if (WYMeditor.console) {
562
562
  WYMeditor.console.error("WYMeditor: error while parsing language file.");
@@ -26,7 +26,8 @@ WYMeditor.XhtmlValidator = {
26
26
  "accesskey",
27
27
  "tabindex",
28
28
  "data",
29
- "^data-.*"
29
+ "^data-.*",
30
+ "^aria-.*"
30
31
  ]
31
32
  },
32
33
  "language":
@@ -0,0 +1,11 @@
1
+ module AssetHelper
2
+ module_function
3
+
4
+ def asset_exists?(path)
5
+ if Rails.configuration.assets.compile
6
+ Rails.application.precompiled_assets.include? path
7
+ else
8
+ Rails.application.assets_manifest.assets[path].present?
9
+ end
10
+ end
11
+ end
@@ -5,7 +5,7 @@
5
5
  <meta charset='<%= ::Rails.application.config.encoding %>' />
6
6
  <meta httpequiv="XUACompatible" content="IE=edge,chrome=1" />
7
7
  <%= stylesheet_link_tag "wymeditor/skins/refinery/wymiframe", :media => "all" %>
8
- <%= stylesheet_link_tag "formatting", :media => "all" if Rails.application.assets.find_asset('formatting.css') %>
8
+ <%= stylesheet_link_tag "formatting", :media => "all" if AssetHelper.asset_exists?('formatting.css') %>
9
9
  <%= stylesheet_link_tag "theme", :media => "all" %>
10
10
  <%= javascript_include_tag 'modernizr-min' %>
11
11
  </head>
@@ -1,3 +1,6 @@
1
+ require 'refinery/wymeditor/engine'
2
+ require 'refinery/wymeditor/configuration'
3
+
1
4
  module Refinery
2
5
  module Wymeditor
3
6
  class << self
@@ -5,8 +8,5 @@ module Refinery
5
8
  @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
6
9
  end
7
10
  end
8
-
9
- require 'refinery/wymeditor/engine'
10
- require 'refinery/wymeditor/configuration'
11
11
  end
12
12
  end
@@ -1,20 +1,14 @@
1
1
  module Refinery
2
2
  module Wymeditor
3
3
  class Engine < ::Rails::Engine
4
- include Refinery::Engine
4
+ extend Refinery::Engine
5
5
 
6
6
  isolate_namespace Refinery
7
7
  engine_name :refinery_wymeditor
8
8
 
9
9
  # set the manifests and assets to be precompiled
10
10
  config.to_prepare do
11
- Rails.application.config.assets.precompile += %w(
12
- wymeditor.css
13
- theme.css
14
- wymeditor/lang/*
15
- wymeditor/skins/refinery/*
16
- wymeditor/skins/refinery/**/*
17
- )
11
+ Rails.application.config.assets.precompile << 'refinery_wymeditor_manifest.js'
18
12
  end
19
13
 
20
14
  before_inclusion do
@@ -35,7 +29,7 @@ module Refinery
35
29
  Refinery::Core.config.register_visual_editor_stylesheet stylesheet
36
30
  end
37
31
 
38
- %W(refinery/wymeditor wymeditor/lang/#{::I18n.locale} wymeditor/skins/refinery/skin).each do |javascript|
32
+ %w(refinery/wymeditor wymeditor/skins/refinery/skin).each do |javascript|
39
33
  Refinery::Core.config.register_visual_editor_javascript javascript
40
34
  end
41
35
 
data/readme.md CHANGED
@@ -19,7 +19,7 @@ You can also switch to "source" view and edit HTML manually if the visual editor
19
19
  Simply put this in the Gemfile of your Refinery application:
20
20
 
21
21
  ```ruby
22
- gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.7']
22
+ gem 'refinerycms-wymeditor', ['~> 3.0', '>= 3.0.0']
23
23
  ```
24
24
 
25
25
  Now, run `bundle install`
@@ -1,23 +1,24 @@
1
- # Encoding: UTF-8
1
+ # frozen_string_literal: true
2
+
2
3
  Gem::Specification.new do |s|
3
4
  s.platform = Gem::Platform::RUBY
4
- s.name = %q{refinerycms-wymeditor}
5
- s.version = '1.1.0'
6
- s.summary = %q{WYMeditor support for Refinery CMS}
7
- s.description = %q{This extension adds WYMeditor support to Refinery CMS for visual editing.}
8
- s.email = %q{gems@p.arndt.io}
9
- s.homepage = %q{https://manuka.co}
5
+ s.name = 'refinerycms-wymeditor'
6
+ s.version = '3.0.0'
7
+ s.summary = 'WYMeditor support for Refinery CMS'
8
+ s.description = 'This extension adds WYMeditor support to Refinery CMS for visual editing.'
9
+ s.email = 'gems@p.arndt.io'
10
+ s.homepage = 'https://manuka.co'
10
11
  s.authors = ['Philip Arndt']
11
- s.license = %q{MIT}
12
- s.require_paths = %w(lib)
12
+ s.license = 'MIT'
13
+ s.require_paths = %w[lib]
13
14
 
14
15
  s.files = `git ls-files -- '*[^.pem]'`.split("\n")
15
16
  s.test_files = `git ls-files -- spec/*`.split("\n")
16
17
 
17
- s.add_dependency 'refinerycms-core', ['>= 3.0.0', '< 5.0']
18
+ s.add_dependency 'refinerycms-core', ['>= 4.0.0', '< 5.0']
18
19
 
19
- s.cert_chain = ['certs/parndt.pem']
20
- if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
21
- s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
20
+ s.cert_chain = ['certs/parndt.pem']
21
+ if $PROGRAM_NAME =~ /gem\z/ && ARGV.include?('build') && ARGV.include?(__FILE__)
22
+ s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
22
23
  end
23
24
  end
@@ -5,7 +5,7 @@ module Refinery
5
5
  it "should render the wymiframe template" do
6
6
  get :wymiframe
7
7
 
8
- expect(response).to be_success
8
+ expect(response).to be_successful
9
9
  expect(response).to render_template(:wymiframe)
10
10
  end
11
11
  end
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe 'wymeditor', :type => :feature do
3
+ describe 'wymeditor', type: :system do
4
4
  refinery_login
5
5
  # see https://github.com/refinery/refinerycms/pull/1583
6
6
  context "when switching locales" do
@@ -8,11 +8,11 @@ describe 'wymeditor', :type => :feature do
8
8
  allow(Refinery::I18n).to receive(:frontend_locales).and_return [:en, :ru]
9
9
 
10
10
  # Create a page in both locales
11
- about_page = Globalize.with_locale(:en) do
11
+ about_page = Mobility.with_locale(:en) do
12
12
  Refinery::Page.create :title => 'About'
13
13
  end
14
14
 
15
- Globalize.with_locale(:ru) do
15
+ Mobility.with_locale(:ru) do
16
16
  about_page.title = 'About Ru'
17
17
  about_page.save
18
18
  end
@@ -27,7 +27,7 @@ describe 'wymeditor', :type => :feature do
27
27
  page
28
28
  end
29
29
 
30
- specify "dialog has correct links", js: true do
30
+ specify "dialog has correct links", :js do
31
31
  visit refinery.edit_admin_page_path(about_page)
32
32
 
33
33
  find("#page_part_body .wym_tools_link a").click
@@ -5,7 +5,7 @@ module Refinery
5
5
 
6
6
  subject { Page.create title: "wymiframe" }
7
7
  it "treats wymiframe as a reserved word" do
8
- expect(subject.url[:path]).to eq(["wymiframe-page"])
8
+ expect(subject.url[:path]).to be_any {|f| f.start_with?("wymiframe-page")}
9
9
  end
10
10
 
11
11
  end
data/spec/spec_helper.rb CHANGED
@@ -7,18 +7,63 @@ require File.expand_path("../dummy/config/environment", __FILE__)
7
7
 
8
8
  require 'rspec/rails'
9
9
  require 'capybara/rspec'
10
+ require 'webdrivers/chromedriver'
11
+
12
+ if ENV['RETRY_COUNT']
13
+ require 'rspec/retry'
14
+ RSpec.configure do |config|
15
+ # rspec-retry
16
+ config.verbose_retry = true
17
+ config.default_sleep_interval = 0.33
18
+ config.clear_lets_on_failure = true
19
+ config.default_retry_count = ENV["RETRY_COUNT"]
20
+ end
21
+ end
10
22
 
11
23
  Rails.backtrace_cleaner.remove_silencers!
12
24
 
13
25
  RSpec.configure do |config|
14
26
  config.mock_with :rspec
15
27
  config.filter_run :focus => true
28
+ config.filter_run :js => true if ENV['JS'] == 'true'
29
+ config.filter_run :js => nil if ENV['JS'] == 'false'
16
30
  config.run_all_when_everything_filtered = true
17
- end
31
+ config.include ActionView::TestCase::Behavior, :file_path => %r{spec/presenters}
32
+ config.infer_spec_type_from_file_location!
33
+
34
+ config.use_transactional_fixtures = true
35
+
36
+ config.when_first_matching_example_defined(type: :system) do
37
+ config.before :suite do
38
+ # Preload assets
39
+ # This should avoid capybara timeouts, and avoid counting asset compilation
40
+ # towards the timing of the first feature spec.
41
+ Rails.application.precompiled_assets
42
+ end
43
+ end
18
44
 
19
- # set javascript driver for capybara
20
- require 'selenium-webdriver'
21
- Capybara.javascript_driver = :selenium
45
+ config.before(:each) do
46
+ ::I18n.default_locale = I18n.locale = Mobility.locale = :en
47
+ end
48
+
49
+ config.before(:each, type: :system) do
50
+ driven_by :rack_test
51
+ end
52
+
53
+ config.before(:each, type: :system, js: true) do
54
+ driven_by :selenium, using: :headless_chrome, screen_size: [1400, 1080]
55
+ end
56
+
57
+ unless ENV['FULL_BACKTRACE']
58
+ config.backtrace_exclusion_patterns = %w(
59
+ rails actionpack railties capybara activesupport rack warden rspec actionview
60
+ activerecord dragonfly benchmark quiet_assets rubygems
61
+ ).map { |noisy| /\b#{noisy}\b/ }
62
+ end
63
+
64
+ # Store last errors so we can run rspec with --only-failures
65
+ config.example_status_persistence_file_path = ".rspec_failures"
66
+ end
22
67
 
23
68
  # Requires supporting files with custom matchers and macros, etc,
24
69
  # in ./support/ and its subdirectories including factories.
metadata CHANGED
@@ -1,36 +1,40 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-wymeditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Arndt
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z
14
- 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
- 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
- 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
- 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
- A4IBDwAwggEKAoIBAQDMLLiiRX/NrRDQxcNO/bPNe51IhKeyACDjTTx0VGCG696t
19
- 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
- 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
- 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
- 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
- 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
- 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
- BgNVHREEEzARgQ9nZW1zQHAuYXJuZHQuaW8wGgYDVR0SBBMwEYEPZ2Vtc0BwLmFy
26
- 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
- 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
- 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
- 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
- +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
- rE1h12GTgwaC3r9FOkdnSpClgPYAzTTCJ8kD74qO2zC9pGegrUXdWFM6
13
+ MIIEMjCCApqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhnZW1z
14
+ L0RDPXAvREM9YXJuZHQvREM9aW8wHhcNMjEwNjIzMDkyNzU2WhcNMjIwNjIzMDky
15
+ NzU2WjAjMSEwHwYDVQQDDBhnZW1zL0RDPXAvREM9YXJuZHQvREM9aW8wggGiMA0G
16
+ CSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQD0CYnD37uLlJ3Urla2EnnUQ8S6s16k
17
+ AGMpAzpmARo8YwSqtYMJVGyBzUeI7y93Fk9ncswhIFSH/hnh/Ouat/ki9flHlZ+w
18
+ anv0M+9v3wCLyZSC5BQIWpoduFM/fuvLoDUJDWxL50RjwMS0qo2x2LvfQdHN8gn3
19
+ JdSIV5WLJKIvlmIl9S3pw0JO5KRUGn1PcBO7C0S0SlbhVjRHtlao1ycWUULsX109
20
+ hCh39MPGtnZpdCcxheh0TH/UA/jV0/du9/rQdoidkNHkaC24pPfBJ3nS+rAbWaHP
21
+ WmP+0rjfk/XnGBu/HZpKvlnwQjP3QdK4UMtWl8zewqFMNcIiBRALQugnL/SfrP/4
22
+ CSlha9LwkiE6ByeY4WGnNjNqpi5J3IzjEkZRAxG7u9gCB3FzTaBTyXZYI6jplYNw
23
+ TcCJIBHuoPaa+m9brpjb3Uv94nfM97ZP+OmpGYCCAMq4TT7OOV+t8wJc0w8bb0FO
24
+ ROhmVNTxrBaNcl6MkZn88EMRCsGgoWklOG0CAwEAAaNxMG8wCQYDVR0TBAIwADAL
25
+ BgNVHQ8EBAMCBLAwHQYDVR0OBBYEFGu7pbmeILyHnBmannuaNRfdN8MsMBoGA1Ud
26
+ EQQTMBGBD2dlbXNAcC5hcm5kdC5pbzAaBgNVHRIEEzARgQ9nZW1zQHAuYXJuZHQu
27
+ aW8wDQYJKoZIhvcNAQELBQADggGBANlxc4uAnkPC3zbztG7uZfBfn4HSuvv655Pa
28
+ UaYZ6hNETFrqg78mGs3PkFe2Ru7cVWwckbmH46aq50QoNnx4ClxT03vr03n76Jg1
29
+ 8WWHkf0+rcINFlbtIFcmcFrois5Ow3n7pH+xstDtzoWcbh41WwuZStNhrIYsnjAK
30
+ /ovz8D5JlboxceOpVLB/0NiqNEWltK+EMQHmX25Sqf/r5o5rAL9zwEKPFp1Y5X+z
31
+ t2jBjYt2ymr1eMWxux6e+N2uKZL4MblHawxvKlI8UHsIiV9xrc4BwlwlbitcvNIL
32
+ ZykdSlpTJd0Guy92iYjCJMC09tMRUNxiVBwD3jRGSeW9YAPIZGXIcVlm6srIRDjJ
33
+ o8wB6oOvHAkRXnntOo/4bBDH+ehmgvhh/O/mI+au6C0M430fv+ooH0w08LEXLx1k
34
+ e17ZNASZffbQRP09MH2GZ2AOlkildTX6looWRforZEZi+qamognrozd3MI5QHi1W
35
+ UAZUzHLrrFu7gnkFvLVpxOUf4ItOkA==
32
36
  -----END CERTIFICATE-----
33
- date: 2016-09-09 00:00:00.000000000 Z
37
+ date: 2021-07-14 00:00:00.000000000 Z
34
38
  dependencies:
35
39
  - !ruby/object:Gem::Dependency
36
40
  name: refinerycms-core
@@ -38,7 +42,7 @@ dependencies:
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
41
- version: 3.0.0
45
+ version: 4.0.0
42
46
  - - "<"
43
47
  - !ruby/object:Gem::Version
44
48
  version: '5.0'
@@ -48,7 +52,7 @@ dependencies:
48
52
  requirements:
49
53
  - - ">="
50
54
  - !ruby/object:Gem::Version
51
- version: 3.0.0
55
+ version: 4.0.0
52
56
  - - "<"
53
57
  - !ruby/object:Gem::Version
54
58
  version: '5.0'
@@ -58,7 +62,9 @@ executables: []
58
62
  extensions: []
59
63
  extra_rdoc_files: []
60
64
  files:
61
- - ".travis.yml"
65
+ - ".github/FUNDING.yml"
66
+ - ".github/workflows/main.yml"
67
+ - app/assets/config/refinery_wymeditor_manifest.js
62
68
  - app/assets/images/wymeditor/skins/refinery/arrow_redo.png
63
69
  - app/assets/images/wymeditor/skins/refinery/arrow_undo.png
64
70
  - app/assets/images/wymeditor/skins/refinery/eye.png
@@ -182,6 +188,7 @@ files:
182
188
  - app/assets/stylesheets/wymeditor/skins/refinery/wymiframe.css.scss
183
189
  - app/controllers/refinery/wymeditor_controller.rb
184
190
  - app/decorators/controllers/refinery/fast_controller_decorator.rb
191
+ - app/helpers/asset_helper.rb
185
192
  - app/views/refinery/admin/dialogs/show.html.erb
186
193
  - app/views/refinery/wymiframe.html.erb
187
194
  - bin/rails
@@ -191,7 +198,7 @@ files:
191
198
  - lib/refinery/wymeditor.rb
192
199
  - lib/refinery/wymeditor/configuration.rb
193
200
  - lib/refinery/wymeditor/engine.rb
194
- - lib/refinerycms-wymeditor.rb
201
+ - lib/refinerycms/wymeditor.rb
195
202
  - public/wymeditor/GPL-license.txt
196
203
  - public/wymeditor/MIT-license.txt
197
204
  - public/wymeditor/README
@@ -205,7 +212,7 @@ homepage: https://manuka.co
205
212
  licenses:
206
213
  - MIT
207
214
  metadata: {}
208
- post_install_message:
215
+ post_install_message:
209
216
  rdoc_options: []
210
217
  require_paths:
211
218
  - lib
@@ -220,9 +227,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
227
  - !ruby/object:Gem::Version
221
228
  version: '0'
222
229
  requirements: []
223
- rubyforge_project:
224
- rubygems_version: 2.6.4
225
- signing_key:
230
+ rubygems_version: 3.1.6
231
+ signing_key:
226
232
  specification_version: 4
227
233
  summary: WYMeditor support for Refinery CMS
228
234
  test_files:
@@ -230,4 +236,3 @@ test_files:
230
236
  - spec/features/refinery/admin/wymeditor_feature_spec.rb
231
237
  - spec/models/refinery/page_spec.rb
232
238
  - spec/spec_helper.rb
233
- has_rdoc:
metadata.gz.sig CHANGED
Binary file
data/.travis.yml DELETED
@@ -1,19 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- bundler_args: --without development
4
- before_script:
5
- - sh -e /etc/init.d/xvfb start
6
- - bin/rake refinery:testing:dummy_app
7
- - export DISPLAY=:99.0
8
- env:
9
- - DB=postgresql
10
- - DB=mysql
11
- notifications:
12
- webhooks:
13
- - https://webhooks.gitter.im/e/b5d48907cdc89864b874
14
- rvm:
15
- - 2.3.1
16
- - 2.2
17
- - 2.1
18
- - 2.0.0
19
- sudo: false