sitediff 1.2.7 → 1.2.10

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: f12bf02008bba308761092ba93972855014bd4f34e420010a5902605b66b9de3
4
- data.tar.gz: 777c61cc9a382f2fcbc6a2cec98ed7d1d31cff4ba848a145c89353a4ca5ae8fd
3
+ metadata.gz: ab520718523d4e005957a83f55acd796bd5b137116f521081b77c58b463baaf0
4
+ data.tar.gz: 56e0a77d977cc02380d2930cb8cb23306c72a1a7db1482592ac33a80332ba3ad
5
5
  SHA512:
6
- metadata.gz: d56704caf1c203a55a749992c2d2d63ee6004f072d088cef63f58ecf4bbd157edd51a4601b43e93f980e0308c6c3e288d41d03ea4fa2ab292df0bdff10ab95a1
7
- data.tar.gz: 2f678741730cd1f369004fad98d675b7636470cf0e58c328494f13fb5d97d4d4a1d3d788f62654b9fcca78e25880c8850df0246f641444d897ed757974025ac4
6
+ metadata.gz: 339c6c24dd6fac5576a1fb43a6556ea03b603589f743946d97b2da38440a1b41f4965edda13f096edec8aa788c7e1a51a8d68de2bb709002c39d80438e68f8c9
7
+ data.tar.gz: f71d74e7e450154169fe90572845703d0038e2c8a42201fda5e56795839f01c39682fbf9b701bd0c3830ed72b4c728aafb8f1502c4484d484ab38fa6534a1e0c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # SiteDiff Change Log
2
2
 
3
3
  Contains noteworthy changes made to SiteDiff.
4
+
5
+ ## Version 1.2.10
6
+ - Updated deployment to get Docker build.
7
+ - Removed some debug code.
8
+
9
+ ## Version 1.2.9
10
+ - Fixing bug with version command within the Docker image.
11
+
12
+ ## Version 1.2.8
13
+ - Dependency updates.
14
+
4
15
  ## Version 1.2.7
5
16
  - Diff performance improvement. Preset rules were being repeatedly re-added to the list of rules.
6
17
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sitediff (1.2.7)
4
+ sitediff (1.2.10)
5
5
  addressable (>= 2.5.2, < 2.9.0)
6
6
  diffy (~> 3.4.0)
7
7
  minitar (~> 0.9)
@@ -15,7 +15,7 @@ PATH
15
15
  GEM
16
16
  remote: https://rubygems.org/
17
17
  specs:
18
- addressable (2.8.1)
18
+ addressable (2.8.5)
19
19
  public_suffix (>= 2.0.2, < 6.0)
20
20
  ast (2.4.2)
21
21
  diff-lcs (1.5.0)
@@ -26,14 +26,16 @@ GEM
26
26
  fileutils (1.1.0)
27
27
  json (2.6.2)
28
28
  minitar (0.9)
29
- nokogiri (1.15.2-x86_64-linux)
29
+ nokogiri (1.16.5-arm64-darwin)
30
+ racc (~> 1.4)
31
+ nokogiri (1.16.5-x86_64-linux)
30
32
  racc (~> 1.4)
31
33
  parallel (1.22.1)
32
34
  parser (3.1.2.0)
33
35
  ast (~> 2.4.1)
34
- pkg-config (1.5.1)
35
- public_suffix (5.0.1)
36
- racc (1.6.2)
36
+ pkg-config (1.5.5)
37
+ public_suffix (5.0.3)
38
+ racc (1.7.3)
37
39
  rainbow (3.1.1)
38
40
  regexp_parser (2.5.0)
39
41
  rexml (3.2.5)
@@ -64,12 +66,13 @@ 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.1)
68
- ethon (= 0.16.0)
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
75
+ arm64-darwin-22
73
76
  x86_64-linux
74
77
 
75
78
  DEPENDENCIES
@@ -80,4 +83,4 @@ DEPENDENCIES
80
83
  thor
81
84
 
82
85
  BUNDLED WITH
83
- 2.1.4
86
+ 2.3.26
data/lib/sitediff/cli.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'bundler'
3
4
  require 'thor'
4
5
  require 'sitediff'
5
6
  require 'sitediff/api'
@@ -40,7 +41,11 @@ class SiteDiff
40
41
  ##
41
42
  # Show version information.
42
43
  def version
43
- gemspec = SiteDiff.gemspec
44
+ filename = '../../sitediff.gemspec'
45
+ filename = '/sitediff/sitediff.gemspec' if !File.exist?(File.expand_path(filename, __dir__)) && File.exist?(File.expand_path('/sitediff/sitediff.gemspec', __dir__))
46
+
47
+ gemspec = Bundler.load_gemspec(File.expand_path(filename, __dir__))
48
+
44
49
  output = []
45
50
  output.push("Sitediff CLI #{gemspec.version}")
46
51
  if options[:verbose]
@@ -134,7 +134,7 @@ class SiteDiff
134
134
  is_included = @include_regex.nil? ? false : @include_regex.match(u.path)
135
135
  is_excluded = @exclude_regex.nil? ? false : @exclude_regex.match(u.path)
136
136
  if is_excluded && !is_included
137
- SiteDiff.log "Ignoring excluded URL #{u.path}", :info
137
+ SiteDiff.log "Ignoring excluded URL #{u.path}", :debug
138
138
  end
139
139
  is_included || !is_excluded
140
140
  end
@@ -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
- selector: style, script
25
- pattern: '("[^"]*\.(js|css))\?[a-z0-9]{6}"'
26
- substitute: '\1'
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.3",
858
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
859
- "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'sitediff'
5
- s.version = '1.2.7'
5
+ s.version = '1.2.10'
6
6
  s.required_ruby_version = '>= 3.1.2'
7
7
  s.summary = 'Compare two versions of a site with ease!'
8
8
  s.description = <<DESC
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.7
4
+ version: 1.2.10
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-31 00:00:00.000000000 Z
13
+ date: 2024-08-05 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.13
232
+ rubygems_version: 3.4.19
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Compare two versions of a site with ease!