lcms-engine 0.4.2 → 0.5.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
2
  SHA256:
3
- metadata.gz: f62a92500b6de3f3297fad22f2883475be96122185eee2f171556bebf5f441c2
4
- data.tar.gz: 9b9755e44e422b3ed1168e49505900810bce1ac20317e7e24d85bdb1521fe65b
3
+ metadata.gz: aa522908e0892715f7b2fa01f4563e143f96504d6323a30c44ad136fd35506db
4
+ data.tar.gz: fcdcffc89fc90071562dfd454ac700b3ffd25906fe9ebe6377475b2a9c5fdbd4
5
5
  SHA512:
6
- metadata.gz: 71a158b6aa734fd82ca1bb95294353fa22a95093178c26bcc086873b395dbaff1bbaaa62cb034dc68eead231fa05160e269f971e409a1d36d217cef29bae9926
7
- data.tar.gz: e779924ac23fc221fee963365937893b411922a8bca9fdcf9ed21441076fc2940995f1af45f4d119fc4b0a723833e4cddde365237212729eb4b13727c428e8d3
6
+ metadata.gz: e3670c15ccc335e9a39178446629cd76d52d8df7f0c51540a5eb4d8b1b39fa194bd5df1e025f08005ae63bc7038e05eb7b27be9ec735c7a67ee543fa7acd4a67
7
+ data.tar.gz: 7766b9cbe3be659ca6ac4ea3b5e0633a99f6ac85347165b9fe5dea07591f2e10d021b6bb5b7fe97d28e0708f1b8ac3146b8cc19ea083581e95acb722b3eab629
data/CHANGELOG.md CHANGED
@@ -4,7 +4,18 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [Unreleased](https://github.com/learningtapestry/lcms-engine/compare/v0.4.2...HEAD)
7
+ ## [Unreleased](https://github.com/learningtapestry/lcms-engine/compare/v0.5.0...HEAD)
8
+
9
+ ## [0.5.0](https://github.com/learningtapestry/lcms-engine/compare/v0.4.2...v0.5.0) - 2022.10.21
10
+
11
+ ### Changed
12
+
13
+ - [BREAKING] - Force use jQuery v3.x - [@paranoicsan](https://github.com/paranoicsan)
14
+ - [BREAKING] - Bump CKEditor to v4.20. Changed the behavior how we load ckeditor4 sources from CDN - [@paranoicsan](https://github.com/paranoicsan)
15
+
16
+ ### Fixed
17
+
18
+ - Fix wrong URL on edit button on Standards index page - [@paranoicsan](https://github.com/paranoicsan)
8
19
 
9
20
  ## [0.4.2](https://github.com/learningtapestry/lcms-engine/compare/v0.4.1...v0.4.2) - 2022.10.18
10
21
 
@@ -1,6 +1,5 @@
1
1
  //= require turbolinks
2
- //= require jquery2
3
- //= require jquery_ujs
2
+ //= require jquery3
4
3
  //= require jquery_nested_form
5
4
  //= require foundation
6
5
  //= require html.sortable.min
@@ -13,4 +12,10 @@ document.addEventListener('turbolinks:load', function () {
13
12
  allowEmptyOption: true,
14
13
  plugins: ['remove_button'],
15
14
  });
15
+
16
+ if (typeof CKEDITOR === 'undefined' && document.getElementsByClassName('ckeditor').length) {
17
+ let script = document.createElement('script');
18
+ script.src = 'https://cdn.ckeditor.com/4.20.0/standard/ckeditor.js';
19
+ document.head.append(script);
20
+ }
16
21
  });
@@ -1,6 +1,5 @@
1
1
  //= require turbolinks
2
- //= require jquery2
3
- //= require jquery_ujs
2
+ //= require jquery3
4
3
  //= require foundation
5
4
  //= require js-routes
6
5
  //= require './initializers/foundation'
@@ -1,7 +1,5 @@
1
1
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jstree/3.2.1/themes/default/style.min.css" />
2
2
 
3
- <%= javascript_include_tag Ckeditor.cdn_url %>
4
-
5
3
  <%= f.input :title %>
6
4
 
7
5
  <%= f.input :short_title %>
@@ -1,5 +1,3 @@
1
- <%= javascript_include_tag Ckeditor.cdn_url %>
2
-
3
1
  <%= simple_form_for @standard, as: :standard, url: lcms_engine.admin_standard_path(@standard), html: { class: 'o-standard-form' } do |f| %>
4
2
 
5
3
  <div class="row o-admin-standard-readonly">
@@ -22,7 +22,7 @@
22
22
  <td><%= std.subject %></td>
23
23
  <td><%= std.grades.join(', ') %></td>
24
24
  <td><%= std.alt_names.join(' / ') %></td>
25
- <td><%= link_to 'edit', edit_admin_standard_path(std), class: 'button btn o-btn' %></td>
25
+ <td><%= link_to 'edit', lcms_engine.edit_admin_standard_path(std), class: 'button btn o-btn' %></td>
26
26
  </tr>
27
27
  <% end %>
28
28
  <% end %>
@@ -2,5 +2,5 @@
2
2
 
3
3
  Ckeditor.setup do |config|
4
4
  # //cdn.ckeditor.com/<version.number>/<distribution>/ckeditor.js
5
- config.cdn_url = '//cdn.ckeditor.com/4.6.1/basic/ckeditor.js'
5
+ config.cdn_url = '//cdn.ckeditor.com/4.20.0/standard/ckeditor.js'
6
6
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Lcms
4
4
  module Engine
5
- VERSION = '0.4.2'
5
+ VERSION = '0.5.0'
6
6
  RAILS_5_VERSION = 5.2
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lcms-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kuznetsov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-10-18 00:00:00.000000000 Z
13
+ date: 2022-10-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activejob-retry