trusty-cms 4.3 → 4.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +79 -77
- data/app/assets/config/trusty-cms-manifest.js +6 -0
- data/app/assets/javascripts/ckeditor/config.js +2 -2
- data/app/controllers/admin/assets_controller.rb +1 -1
- data/config/initializers/assets.rb +0 -4
- data/lib/trusty_cms.rb +1 -1
- data/node_modules/hosted-git-info/CHANGELOG.md +10 -0
- data/node_modules/hosted-git-info/index.js +2 -2
- data/node_modules/hosted-git-info/package.json +1 -1
- data/node_modules/lodash/README.md +2 -2
- data/node_modules/lodash/_baseClone.js +2 -1
- data/node_modules/lodash/_baseOrderBy.js +17 -2
- data/node_modules/lodash/_baseSet.js +4 -0
- data/node_modules/lodash/_baseSortedIndexBy.js +7 -4
- data/node_modules/lodash/_baseTrim.js +19 -0
- data/node_modules/lodash/_equalArrays.js +5 -4
- data/node_modules/lodash/_equalObjects.js +5 -4
- data/node_modules/lodash/_trimmedEndIndex.js +19 -0
- data/node_modules/lodash/core.js +48 -6
- data/node_modules/lodash/core.min.js +9 -9
- data/node_modules/lodash/filter.js +4 -0
- data/node_modules/lodash/flake.lock +40 -0
- data/node_modules/lodash/flake.nix +20 -0
- data/node_modules/lodash/lodash.js +59 -11
- data/node_modules/lodash/lodash.min.js +126 -125
- data/node_modules/lodash/matches.js +7 -0
- data/node_modules/lodash/matchesProperty.js +7 -0
- data/node_modules/lodash/overEvery.js +4 -0
- data/node_modules/lodash/overSome.js +7 -0
- data/node_modules/lodash/package.json +1 -1
- data/node_modules/lodash/parseInt.js +1 -1
- data/node_modules/lodash/release.md +48 -0
- data/node_modules/lodash/sortBy.js +3 -3
- data/node_modules/lodash/template.js +24 -5
- data/node_modules/lodash/toNumber.js +3 -5
- data/node_modules/lodash/trim.js +2 -4
- data/node_modules/lodash/trimEnd.js +3 -5
- data/node_modules/lodash/trimStart.js +1 -1
- data/trusty_cms.gemspec +2 -1
- data/yarn.lock +6 -6
- metadata +11 -5
@@ -1,12 +1,10 @@
|
|
1
|
-
var
|
1
|
+
var baseTrim = require('./_baseTrim'),
|
2
|
+
isObject = require('./isObject'),
|
2
3
|
isSymbol = require('./isSymbol');
|
3
4
|
|
4
5
|
/** Used as references for various `Number` constants. */
|
5
6
|
var NAN = 0 / 0;
|
6
7
|
|
7
|
-
/** Used to match leading and trailing whitespace. */
|
8
|
-
var reTrim = /^\s+|\s+$/g;
|
9
|
-
|
10
8
|
/** Used to detect bad signed hexadecimal string values. */
|
11
9
|
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
12
10
|
|
@@ -56,7 +54,7 @@ function toNumber(value) {
|
|
56
54
|
if (typeof value != 'string') {
|
57
55
|
return value === 0 ? value : +value;
|
58
56
|
}
|
59
|
-
value = value
|
57
|
+
value = baseTrim(value);
|
60
58
|
var isBinary = reIsBinary.test(value);
|
61
59
|
return (isBinary || reIsOctal.test(value))
|
62
60
|
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
data/node_modules/lodash/trim.js
CHANGED
@@ -1,13 +1,11 @@
|
|
1
1
|
var baseToString = require('./_baseToString'),
|
2
|
+
baseTrim = require('./_baseTrim'),
|
2
3
|
castSlice = require('./_castSlice'),
|
3
4
|
charsEndIndex = require('./_charsEndIndex'),
|
4
5
|
charsStartIndex = require('./_charsStartIndex'),
|
5
6
|
stringToArray = require('./_stringToArray'),
|
6
7
|
toString = require('./toString');
|
7
8
|
|
8
|
-
/** Used to match leading and trailing whitespace. */
|
9
|
-
var reTrim = /^\s+|\s+$/g;
|
10
|
-
|
11
9
|
/**
|
12
10
|
* Removes leading and trailing whitespace or specified characters from `string`.
|
13
11
|
*
|
@@ -33,7 +31,7 @@ var reTrim = /^\s+|\s+$/g;
|
|
33
31
|
function trim(string, chars, guard) {
|
34
32
|
string = toString(string);
|
35
33
|
if (string && (guard || chars === undefined)) {
|
36
|
-
return string
|
34
|
+
return baseTrim(string);
|
37
35
|
}
|
38
36
|
if (!string || !(chars = baseToString(chars))) {
|
39
37
|
return string;
|
@@ -2,10 +2,8 @@ var baseToString = require('./_baseToString'),
|
|
2
2
|
castSlice = require('./_castSlice'),
|
3
3
|
charsEndIndex = require('./_charsEndIndex'),
|
4
4
|
stringToArray = require('./_stringToArray'),
|
5
|
-
toString = require('./toString')
|
6
|
-
|
7
|
-
/** Used to match leading and trailing whitespace. */
|
8
|
-
var reTrimEnd = /\s+$/;
|
5
|
+
toString = require('./toString'),
|
6
|
+
trimmedEndIndex = require('./_trimmedEndIndex');
|
9
7
|
|
10
8
|
/**
|
11
9
|
* Removes trailing whitespace or specified characters from `string`.
|
@@ -29,7 +27,7 @@ var reTrimEnd = /\s+$/;
|
|
29
27
|
function trimEnd(string, chars, guard) {
|
30
28
|
string = toString(string);
|
31
29
|
if (string && (guard || chars === undefined)) {
|
32
|
-
return string.
|
30
|
+
return string.slice(0, trimmedEndIndex(string) + 1);
|
33
31
|
}
|
34
32
|
if (!string || !(chars = baseToString(chars))) {
|
35
33
|
return string;
|
@@ -4,7 +4,7 @@ var baseToString = require('./_baseToString'),
|
|
4
4
|
stringToArray = require('./_stringToArray'),
|
5
5
|
toString = require('./toString');
|
6
6
|
|
7
|
-
/** Used to match leading
|
7
|
+
/** Used to match leading whitespace. */
|
8
8
|
var reTrimStart = /^\s+/;
|
9
9
|
|
10
10
|
/**
|
data/trusty_cms.gemspec
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require File.expand_path(__FILE__ + '/../lib/trusty_cms.rb')
|
4
4
|
Gem::Specification.new do |s|
|
5
|
+
s.required_ruby_version = '>=2.5.3'
|
5
6
|
s.name = 'trusty-cms'
|
6
7
|
s.version = TrustyCms::VERSION
|
7
8
|
s.platform = Gem::Platform::RUBY
|
@@ -25,7 +26,7 @@ a general purpose content managment system--not merely a blogging engine.'
|
|
25
26
|
|
26
27
|
s.add_dependency 'acts_as_list', '>= 0.9.5', '< 1.1.0'
|
27
28
|
s.add_dependency 'acts_as_tree', '~> 2.9.1'
|
28
|
-
s.add_dependency 'ckeditor', '>= 4.2.2', '< 4.
|
29
|
+
s.add_dependency 'ckeditor', '>= 4.2.2', '< 4.4.0'
|
29
30
|
s.add_dependency 'delocalize', '>= 0.2', '< 2.0'
|
30
31
|
s.add_dependency 'devise'
|
31
32
|
s.add_dependency 'execjs', '~> 2.7'
|
data/yarn.lock
CHANGED
@@ -1255,9 +1255,9 @@ path-is-absolute@^1.0.0:
|
|
1255
1255
|
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
|
1256
1256
|
|
1257
1257
|
path-parse@^1.0.6:
|
1258
|
-
version "1.0.
|
1259
|
-
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.
|
1260
|
-
integrity sha512-
|
1258
|
+
version "1.0.7"
|
1259
|
+
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
1260
|
+
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
1261
1261
|
|
1262
1262
|
path-type@^4.0.0:
|
1263
1263
|
version "4.0.0"
|
@@ -1360,9 +1360,9 @@ postcss-value-parser@^4.0.2, postcss-value-parser@^4.0.3:
|
|
1360
1360
|
integrity sha512-N7h4pG+Nnu5BEIzyeaaIYWs0LI5XC40OrRh5L60z0QjFsqGWcHcbkBvpe1WYpcIS9yQ8sOi/vIPt1ejQCrMVrg==
|
1361
1361
|
|
1362
1362
|
postcss@^7.0.0, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.21, postcss@^7.0.26, postcss@^7.0.27, postcss@^7.0.7:
|
1363
|
-
version "7.0.
|
1364
|
-
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.
|
1365
|
-
integrity sha512-
|
1363
|
+
version "7.0.36"
|
1364
|
+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.36.tgz#056f8cffa939662a8f5905950c07d5285644dfcb"
|
1365
|
+
integrity sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==
|
1366
1366
|
dependencies:
|
1367
1367
|
chalk "^2.4.2"
|
1368
1368
|
source-map "^0.6.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
version: 4.2.2
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 4.
|
56
|
+
version: 4.4.0
|
57
57
|
type: :runtime
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -63,7 +63,7 @@ dependencies:
|
|
63
63
|
version: 4.2.2
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: 4.
|
66
|
+
version: 4.4.0
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: delocalize
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -455,6 +455,7 @@ files:
|
|
455
455
|
- LICENSE.md
|
456
456
|
- README.md
|
457
457
|
- Rakefile
|
458
|
+
- app/assets/config/trusty-cms-manifest.js
|
458
459
|
- app/assets/images/admin/add.png
|
459
460
|
- app/assets/images/admin/add_tab.png
|
460
461
|
- app/assets/images/admin/animated-overlay.gif
|
@@ -5238,6 +5239,7 @@ files:
|
|
5238
5239
|
- node_modules/lodash/_baseToNumber.js
|
5239
5240
|
- node_modules/lodash/_baseToPairs.js
|
5240
5241
|
- node_modules/lodash/_baseToString.js
|
5242
|
+
- node_modules/lodash/_baseTrim.js
|
5241
5243
|
- node_modules/lodash/_baseUnary.js
|
5242
5244
|
- node_modules/lodash/_baseUniq.js
|
5243
5245
|
- node_modules/lodash/_baseUnset.js
|
@@ -5401,6 +5403,7 @@ files:
|
|
5401
5403
|
- node_modules/lodash/_stringToPath.js
|
5402
5404
|
- node_modules/lodash/_toKey.js
|
5403
5405
|
- node_modules/lodash/_toSource.js
|
5406
|
+
- node_modules/lodash/_trimmedEndIndex.js
|
5404
5407
|
- node_modules/lodash/_unescapeHtmlChar.js
|
5405
5408
|
- node_modules/lodash/_unicodeSize.js
|
5406
5409
|
- node_modules/lodash/_unicodeToArray.js
|
@@ -5482,6 +5485,8 @@ files:
|
|
5482
5485
|
- node_modules/lodash/findLastIndex.js
|
5483
5486
|
- node_modules/lodash/findLastKey.js
|
5484
5487
|
- node_modules/lodash/first.js
|
5488
|
+
- node_modules/lodash/flake.lock
|
5489
|
+
- node_modules/lodash/flake.nix
|
5485
5490
|
- node_modules/lodash/flatMap.js
|
5486
5491
|
- node_modules/lodash/flatMapDeep.js
|
5487
5492
|
- node_modules/lodash/flatMapDepth.js
|
@@ -6050,6 +6055,7 @@ files:
|
|
6050
6055
|
- node_modules/lodash/reduce.js
|
6051
6056
|
- node_modules/lodash/reduceRight.js
|
6052
6057
|
- node_modules/lodash/reject.js
|
6058
|
+
- node_modules/lodash/release.md
|
6053
6059
|
- node_modules/lodash/remove.js
|
6054
6060
|
- node_modules/lodash/repeat.js
|
6055
6061
|
- node_modules/lodash/replace.js
|
@@ -8776,7 +8782,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
8776
8782
|
requirements:
|
8777
8783
|
- - ">="
|
8778
8784
|
- !ruby/object:Gem::Version
|
8779
|
-
version:
|
8785
|
+
version: 2.5.3
|
8780
8786
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
8781
8787
|
requirements:
|
8782
8788
|
- - ">"
|