lcms-engine 0.4.2 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f62a92500b6de3f3297fad22f2883475be96122185eee2f171556bebf5f441c2
4
- data.tar.gz: 9b9755e44e422b3ed1168e49505900810bce1ac20317e7e24d85bdb1521fe65b
3
+ metadata.gz: 29899e01425a60c7ad9477e9a9d790ccf733368990f2563c836ab4195bcb77a5
4
+ data.tar.gz: 9547214fa89d172998f86718bd2db9acd8fa5f9e6e82e769c0bc07166c7d2075
5
5
  SHA512:
6
- metadata.gz: 71a158b6aa734fd82ca1bb95294353fa22a95093178c26bcc086873b395dbaff1bbaaa62cb034dc68eead231fa05160e269f971e409a1d36d217cef29bae9926
7
- data.tar.gz: e779924ac23fc221fee963365937893b411922a8bca9fdcf9ed21441076fc2940995f1af45f4d119fc4b0a723833e4cddde365237212729eb4b13727c428e8d3
6
+ metadata.gz: a3912c329a05e2c7cc6b03d1a005f4b2e30308dade0ccef25f405a920c368cf4dbbce8de6748705512a27ef60b8c313bedc089f46bd4a988720c1b3cc297eb6b
7
+ data.tar.gz: a777f70d071a29efb3546674d960b4f39333dc517ea0e170d91fc2fb6d1637e3c3133d1d973f229b93375a3162d8534f4c617d7b39b62ba37717cf3301f5f301
data/CHANGELOG.md CHANGED
@@ -4,7 +4,24 @@ 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.1...HEAD)
8
+
9
+ ## [0.5.1](https://github.com/learningtapestry/lcms-engine/compare/v0.5.0...v0.5.1) - 2022.10.25
10
+
11
+ ### Fixed
12
+
13
+ - Fix JS to remove ES6 keyword - [@paranoicsan](https://github.com/paranoicsan)
14
+
15
+ ## [0.5.0](https://github.com/learningtapestry/lcms-engine/compare/v0.4.2...v0.5.0) - 2022.10.21
16
+
17
+ ### Changed
18
+
19
+ - [BREAKING] - Force use jQuery v3.x - [@paranoicsan](https://github.com/paranoicsan)
20
+ - [BREAKING] - Bump CKEditor to v4.20. Changed the behavior how we load ckeditor4 sources from CDN - [@paranoicsan](https://github.com/paranoicsan)
21
+
22
+ ### Fixed
23
+
24
+ - Fix wrong URL on edit button on Standards index page - [@paranoicsan](https://github.com/paranoicsan)
8
25
 
9
26
  ## [0.4.2](https://github.com/learningtapestry/lcms-engine/compare/v0.4.1...v0.4.2) - 2022.10.18
10
27
 
data/Gemfile.lock CHANGED
@@ -10,7 +10,7 @@ GIT
10
10
  PATH
11
11
  remote: .
12
12
  specs:
13
- lcms-engine (0.4.2)
13
+ lcms-engine (0.5.1)
14
14
  active_model_serializers (~> 0.10.10)
15
15
  activejob-retry (~> 0.6.3)
16
16
  acts-as-taggable-on (~> 7.0)
@@ -162,10 +162,10 @@ GEM
162
162
  autoprefixer-rails (9.8.6.5)
163
163
  execjs
164
164
  aws-eventstream (1.2.0)
165
- aws-partitions (1.646.0)
165
+ aws-partitions (1.650.0)
166
166
  aws-record (2.8.0)
167
167
  aws-sdk-dynamodb (~> 1.18)
168
- aws-sdk-core (3.160.0)
168
+ aws-sdk-core (3.164.0)
169
169
  aws-eventstream (~> 1, >= 1.0.2)
170
170
  aws-partitions (~> 1, >= 1.525.0)
171
171
  aws-sigv4 (~> 1.1)
@@ -183,7 +183,7 @@ GEM
183
183
  aws-sessionstore-dynamodb (~> 2)
184
184
  concurrent-ruby (~> 1)
185
185
  railties (>= 5.2.0)
186
- aws-sdk-s3 (1.114.0)
186
+ aws-sdk-s3 (1.116.0)
187
187
  aws-sdk-core (~> 3, >= 3.127.0)
188
188
  aws-sdk-kms (~> 1)
189
189
  aws-sigv4 (~> 1.4)
@@ -303,7 +303,7 @@ GEM
303
303
  erubi (1.11.0)
304
304
  et-orbi (1.2.7)
305
305
  tzinfo
306
- excon (0.93.0)
306
+ excon (0.93.1)
307
307
  execjs (2.8.1)
308
308
  factory_bot (5.2.0)
309
309
  activesupport (>= 4.2.0)
@@ -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
+ var 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.1'
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.1
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-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activejob-retry