sitediff 1.2.8 → 1.2.10

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: d8ada20fc6a7f1adad1a21601dd0ffb9d8391f6a939296339cec3eb1b0104aba
4
- data.tar.gz: 899e79721748ec176b0ce6bd602c521cd94689ce0d28806f77d495effa92f57e
3
+ metadata.gz: ab520718523d4e005957a83f55acd796bd5b137116f521081b77c58b463baaf0
4
+ data.tar.gz: 56e0a77d977cc02380d2930cb8cb23306c72a1a7db1482592ac33a80332ba3ad
5
5
  SHA512:
6
- metadata.gz: 70cff17823e4244a3ce2d148b8ebbc707ae7b38d1a9ea7c90ea622520d730d13fd0b4efd2733784e0fd806f39afee835c4536b0c6fc2bf749aa9a3ab77c6afa0
7
- data.tar.gz: da2a6294e02c1a1badb93c04af8d5bf7f21f05c976e902463f2d8ffe3bad53ef6aae79e5ee9373ae949f35cce883098b7081b5d482dc78dab1b929665c4968f6
6
+ metadata.gz: 339c6c24dd6fac5576a1fb43a6556ea03b603589f743946d97b2da38440a1b41f4965edda13f096edec8aa788c7e1a51a8d68de2bb709002c39d80438e68f8c9
7
+ data.tar.gz: f71d74e7e450154169fe90572845703d0038e2c8a42201fda5e56795839f01c39682fbf9b701bd0c3830ed72b4c728aafb8f1502c4484d484ab38fa6534a1e0c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
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
+
4
12
  ## Version 1.2.8
5
13
  - Dependency updates.
6
14
 
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,16 +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-aarch64-linux)
29
+ nokogiri (1.16.5-arm64-darwin)
30
30
  racc (~> 1.4)
31
- nokogiri (1.15.2-x86_64-linux)
31
+ nokogiri (1.16.5-x86_64-linux)
32
32
  racc (~> 1.4)
33
33
  parallel (1.22.1)
34
34
  parser (3.1.2.0)
35
35
  ast (~> 2.4.1)
36
- pkg-config (1.5.1)
37
- public_suffix (5.0.1)
38
- racc (1.6.2)
36
+ pkg-config (1.5.5)
37
+ public_suffix (5.0.3)
38
+ racc (1.7.3)
39
39
  rainbow (3.1.1)
40
40
  regexp_parser (2.5.0)
41
41
  rexml (3.2.5)
@@ -72,6 +72,7 @@ GEM
72
72
  webrick (1.8.1)
73
73
 
74
74
  PLATFORMS
75
+ arm64-darwin-22
75
76
  x86_64-linux
76
77
 
77
78
  DEPENDENCIES
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
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.8'
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.8
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-09-07 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.14
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!