sitediff 1.2.4 → 1.2.5a
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 +6 -5
- data/lib/sitediff/presets/drupal.yaml +21 -1
- data/lib/sitediff/uriwrapper.rb +1 -1
- data/sitediff.gemspec +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dbab719d51bbf4922bbf90d806fab06801a8c29d1e0697655121a16634f84d7
|
4
|
+
data.tar.gz: cc42c00cd4d36393723bc28cb204851bdf86535cee30519d1cd9367c6f6e06b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed9dfaad56b3a52761a6df4fee893d871931632cb32bc526574d0988ac5599ff09b352c785ed35f8a8717844438b65ef432f9c6a4258c756b3518a12c3b3f6da
|
7
|
+
data.tar.gz: 011c5c381479cbd7fc95b8a82de66708f503b649f6b840b32d1cb06b4e50471bb92eb34ee426f5b879863a949fe339a5d3f9e317f9286401b6666fa12de7d6ee
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
Contains noteworthy changes made to SiteDiff.
|
4
4
|
## Version 1.2.5
|
5
5
|
- Fix issue with whitespace in URLs.
|
6
|
+
- Updates for Drupal preset for Drupal 8, 9, 10.
|
7
|
+
- Bump nokogiri from 1.14.2 to 1.14.3
|
8
|
+
- Fix basic auth derived from URL syntax
|
6
9
|
|
7
10
|
## Version 1.2.4
|
8
11
|
- Fix issue with 'store' command.
|
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.5a)
|
5
5
|
addressable (>= 2.5.2, < 2.9.0)
|
6
6
|
diffy (~> 3.4.0)
|
7
7
|
minitar (~> 0.9)
|
@@ -9,7 +9,7 @@ PATH
|
|
9
9
|
pkg-config (~> 1.4)
|
10
10
|
rainbow (~> 3.1.1)
|
11
11
|
thor (~> 1.2.1)
|
12
|
-
typhoeus (
|
12
|
+
typhoeus (>= 1.1.1)
|
13
13
|
webrick (>= 1.7)
|
14
14
|
|
15
15
|
GEM
|
@@ -20,8 +20,8 @@ GEM
|
|
20
20
|
ast (2.4.2)
|
21
21
|
diff-lcs (1.5.0)
|
22
22
|
diffy (3.4.2)
|
23
|
-
ethon (0.
|
24
|
-
ffi (>= 1.
|
23
|
+
ethon (0.16.0)
|
24
|
+
ffi (>= 1.15.0)
|
25
25
|
ffi (1.15.5)
|
26
26
|
fileutils (1.1.0)
|
27
27
|
json (2.6.2)
|
@@ -65,12 +65,13 @@ GEM
|
|
65
65
|
ruby-progressbar (1.11.0)
|
66
66
|
thor (1.2.1)
|
67
67
|
typhoeus (1.4.1)
|
68
|
-
ethon (= 0.
|
68
|
+
ethon (= 0.16.0)
|
69
69
|
unicode-display_width (2.2.0)
|
70
70
|
webrick (1.8.1)
|
71
71
|
|
72
72
|
PLATFORMS
|
73
73
|
ruby
|
74
|
+
x86_64-linux
|
74
75
|
|
75
76
|
DEPENDENCIES
|
76
77
|
fileutils (= 1.1.0)
|
@@ -61,7 +61,27 @@ sanitization:
|
|
61
61
|
selector: script
|
62
62
|
pattern: 'js_[-\w]{40,43}\\?\.js'
|
63
63
|
substitute: 'js__ID__.js'
|
64
|
+
- pattern: ' data-contextual-token="[^\"]*"'
|
65
|
+
selector: 'div'
|
66
|
+
substitute: ''
|
67
|
+
- pattern: ' data-drupal-selector="[^\"]*"'
|
68
|
+
selector: 'div'
|
69
|
+
substitute: ''
|
70
|
+
- pattern: ' title="[^\"]*"'
|
71
|
+
selector: 'input'
|
72
|
+
substitute: ''
|
73
|
+
- pattern: 'js-view-dom-id-[a-zA-Z0-9]+'
|
74
|
+
selector: 'div'
|
75
|
+
substitute: 'js-view-dom-id-__HASH__'
|
76
|
+
- pattern: 'value="[^\"]*"'
|
77
|
+
selector: 'input'
|
78
|
+
substitute: 'value="HASH"'
|
79
|
+
- pattern: 'itok=[A-Za-z0-9\-_]+'
|
80
|
+
substitute: ''
|
81
|
+
- pattern: 'hash=[^"]+"'
|
82
|
+
selector: 'iframe'
|
83
|
+
substitute: 'hash=HASH'
|
64
84
|
dom_transform:
|
65
85
|
# Strip Drupal.settings (>8.0)
|
66
86
|
- type: remove
|
67
|
-
selector: 'script[data-drupal-selector="drupal-settings-json"]'
|
87
|
+
selector: 'script[data-drupal-selector="drupal-settings-json"]'
|
data/lib/sitediff/uriwrapper.rb
CHANGED
@@ -117,7 +117,7 @@ class SiteDiff
|
|
117
117
|
def typhoeus_request
|
118
118
|
params = @curl_opts.dup
|
119
119
|
# Allow basic auth
|
120
|
-
params[:userpwd] = "#{@uri.user}
|
120
|
+
params[:userpwd] = "#{@uri.user}:#{@uri.password}" if @uri.user
|
121
121
|
|
122
122
|
# params['verbose'] = true
|
123
123
|
# params['ssl_verifypeer'] = false
|
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.
|
5
|
+
s.version = '1.2.5a'
|
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
|
@@ -35,7 +35,7 @@ DESC
|
|
35
35
|
|
36
36
|
s.add_dependency 'minitar', '~> 0.9'
|
37
37
|
s.add_dependency 'thor', '~> 1.2.1'
|
38
|
-
s.add_dependency 'typhoeus', '
|
38
|
+
s.add_dependency 'typhoeus', '>= 1.1.1'
|
39
39
|
|
40
40
|
# A bug in rubygems can break rainbow 2.2
|
41
41
|
# https://github.com/bundler/bundler/issues/5357
|
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.5a
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dergachev
|
@@ -58,16 +58,16 @@ dependencies:
|
|
58
58
|
name: typhoeus
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- - "
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 1.
|
63
|
+
version: 1.1.1
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - "
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 1.
|
70
|
+
version: 1.1.1
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: rainbow
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -225,11 +225,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
225
225
|
version: 3.1.2
|
226
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
227
|
requirements:
|
228
|
-
- - "
|
228
|
+
- - ">"
|
229
229
|
- !ruby/object:Gem::Version
|
230
|
-
version:
|
230
|
+
version: 1.3.1
|
231
231
|
requirements: []
|
232
|
-
rubygems_version: 3.4.
|
232
|
+
rubygems_version: 3.4.13
|
233
233
|
signing_key:
|
234
234
|
specification_version: 4
|
235
235
|
summary: Compare two versions of a site with ease!
|