sitediff 1.2.6 → 1.2.8
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +7 -6
- data/lib/sitediff/config.rb +8 -3
- data/lib/sitediff/presets/drupal.yaml +4 -4
- data/package-lock.json +3 -3
- data/sitediff.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8ada20fc6a7f1adad1a21601dd0ffb9d8391f6a939296339cec3eb1b0104aba
|
|
4
|
+
data.tar.gz: 899e79721748ec176b0ce6bd602c521cd94689ce0d28806f77d495effa92f57e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70cff17823e4244a3ce2d148b8ebbc707ae7b38d1a9ea7c90ea622520d730d13fd0b4efd2733784e0fd806f39afee835c4536b0c6fc2bf749aa9a3ab77c6afa0
|
|
7
|
+
data.tar.gz: da2a6294e02c1a1badb93c04af8d5bf7f21f05c976e902463f2d8ffe3bad53ef6aae79e5ee9373ae949f35cce883098b7081b5d482dc78dab1b929665c4968f6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# SiteDiff Change Log
|
|
2
2
|
|
|
3
3
|
Contains noteworthy changes made to SiteDiff.
|
|
4
|
+
## Version 1.2.8
|
|
5
|
+
- Dependency updates.
|
|
6
|
+
|
|
7
|
+
## Version 1.2.7
|
|
8
|
+
- Diff performance improvement. Preset rules were being repeatedly re-added to the list of rules.
|
|
9
|
+
|
|
4
10
|
## Version 1.2.5
|
|
5
11
|
- Fix issue with whitespace in URLs.
|
|
6
12
|
- Updates for Drupal preset for Drupal 8, 9, 10.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
sitediff (1.2.
|
|
4
|
+
sitediff (1.2.7)
|
|
5
5
|
addressable (>= 2.5.2, < 2.9.0)
|
|
6
6
|
diffy (~> 3.4.0)
|
|
7
7
|
minitar (~> 0.9)
|
|
@@ -26,7 +26,9 @@ GEM
|
|
|
26
26
|
fileutils (1.1.0)
|
|
27
27
|
json (2.6.2)
|
|
28
28
|
minitar (0.9)
|
|
29
|
-
nokogiri (1.
|
|
29
|
+
nokogiri (1.15.2-aarch64-linux)
|
|
30
|
+
racc (~> 1.4)
|
|
31
|
+
nokogiri (1.15.2-x86_64-linux)
|
|
30
32
|
racc (~> 1.4)
|
|
31
33
|
parallel (1.22.1)
|
|
32
34
|
parser (3.1.2.0)
|
|
@@ -64,13 +66,12 @@ GEM
|
|
|
64
66
|
parser (>= 3.1.1.0)
|
|
65
67
|
ruby-progressbar (1.11.0)
|
|
66
68
|
thor (1.2.1)
|
|
67
|
-
typhoeus (1.4.
|
|
68
|
-
ethon (
|
|
69
|
+
typhoeus (1.4.0)
|
|
70
|
+
ethon (>= 0.9.0)
|
|
69
71
|
unicode-display_width (2.2.0)
|
|
70
72
|
webrick (1.8.1)
|
|
71
73
|
|
|
72
74
|
PLATFORMS
|
|
73
|
-
ruby
|
|
74
75
|
x86_64-linux
|
|
75
76
|
|
|
76
77
|
DEPENDENCIES
|
|
@@ -81,4 +82,4 @@ DEPENDENCIES
|
|
|
81
82
|
thor
|
|
82
83
|
|
|
83
84
|
BUNDLED WITH
|
|
84
|
-
2.
|
|
85
|
+
2.3.26
|
data/lib/sitediff/config.rb
CHANGED
|
@@ -255,6 +255,7 @@ class SiteDiff
|
|
|
255
255
|
@file = file
|
|
256
256
|
@directory = directory
|
|
257
257
|
|
|
258
|
+
@preset_applied = { 'before' => false, 'after' => false }
|
|
258
259
|
# Validate configurations.
|
|
259
260
|
validate
|
|
260
261
|
end
|
|
@@ -512,10 +513,14 @@ class SiteDiff
|
|
|
512
513
|
# Merge plugins with array values.
|
|
513
514
|
# TODO: This won't be required after plugin declarations are improved.
|
|
514
515
|
# See https://rm.ewdev.ca/issues/18301
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
516
|
+
unless @preset_applied[name]
|
|
517
|
+
Sanitizer::TOOLS[:array].each do |key|
|
|
518
|
+
if preset_config[key]
|
|
519
|
+
result[key] = (result[key] || []) + preset_config[key]
|
|
520
|
+
end
|
|
518
521
|
end
|
|
522
|
+
|
|
523
|
+
@preset_applied[name] = true
|
|
519
524
|
end
|
|
520
525
|
end
|
|
521
526
|
|
|
@@ -20,10 +20,10 @@ sanitization:
|
|
|
20
20
|
selector: script
|
|
21
21
|
pattern: '(src="[^"]*/files/js/js_)[-\w]{40,43}\.js"'
|
|
22
22
|
substitute: '\1DRUPAL_AGGREGATED_JS.js"'
|
|
23
|
-
- title: Strip CSS/JS cache IDs
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
# - title: Strip CSS/JS cache IDs
|
|
24
|
+
# selector: style, script
|
|
25
|
+
# pattern: '("[^"]*\.(js|css))\?[a-z0-9]{6}"'
|
|
26
|
+
# substitute: '\1'
|
|
27
27
|
- title: Strip Drupal JS version tags
|
|
28
28
|
selector: script
|
|
29
29
|
pattern: '(src="[^"]*/misc/\w+\.js)?v=\d+\.\d+"'
|
data/package-lock.json
CHANGED
|
@@ -854,9 +854,9 @@
|
|
|
854
854
|
}
|
|
855
855
|
},
|
|
856
856
|
"word-wrap": {
|
|
857
|
-
"version": "1.2.
|
|
858
|
-
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.
|
|
859
|
-
"integrity": "sha512-
|
|
857
|
+
"version": "1.2.4",
|
|
858
|
+
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.4.tgz",
|
|
859
|
+
"integrity": "sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA==",
|
|
860
860
|
"dev": true
|
|
861
861
|
},
|
|
862
862
|
"wrappy": {
|
data/sitediff.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sitediff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex Dergachev
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2023-
|
|
13
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: pkg-config
|
|
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
229
229
|
- !ruby/object:Gem::Version
|
|
230
230
|
version: '0'
|
|
231
231
|
requirements: []
|
|
232
|
-
rubygems_version: 3.4.
|
|
232
|
+
rubygems_version: 3.4.14
|
|
233
233
|
signing_key:
|
|
234
234
|
specification_version: 4
|
|
235
235
|
summary: Compare two versions of a site with ease!
|