sitediff 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +2 -3
- data/lib/sitediff/config.rb +8 -3
- data/sitediff.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f12bf02008bba308761092ba93972855014bd4f34e420010a5902605b66b9de3
|
4
|
+
data.tar.gz: 777c61cc9a382f2fcbc6a2cec98ed7d1d31cff4ba848a145c89353a4ca5ae8fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d56704caf1c203a55a749992c2d2d63ee6004f072d088cef63f58ecf4bbd157edd51a4601b43e93f980e0308c6c3e288d41d03ea4fa2ab292df0bdff10ab95a1
|
7
|
+
data.tar.gz: 2f678741730cd1f369004fad98d675b7636470cf0e58c328494f13fb5d97d4d4a1d3d788f62654b9fcca78e25880c8850df0246f641444d897ed757974025ac4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# SiteDiff Change Log
|
2
2
|
|
3
3
|
Contains noteworthy changes made to SiteDiff.
|
4
|
+
## Version 1.2.7
|
5
|
+
- Diff performance improvement. Preset rules were being repeatedly re-added to the list of rules.
|
6
|
+
|
4
7
|
## Version 1.2.5
|
5
8
|
- Fix issue with whitespace in URLs.
|
6
9
|
- 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,7 @@ 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-x86_64-linux)
|
30
30
|
racc (~> 1.4)
|
31
31
|
parallel (1.22.1)
|
32
32
|
parser (3.1.2.0)
|
@@ -70,7 +70,6 @@ GEM
|
|
70
70
|
webrick (1.8.1)
|
71
71
|
|
72
72
|
PLATFORMS
|
73
|
-
ruby
|
74
73
|
x86_64-linux
|
75
74
|
|
76
75
|
DEPENDENCIES
|
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
|
|
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.7
|
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-05-
|
13
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pkg-config
|