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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1ee18040cb7cad571450e2e17f9144bdab9965b0c52f84199a8eecb7d046e71
4
- data.tar.gz: 7d3744b782caae37bbb7fc7789e9fd3d0ae600849dbd13c9d77f60201af56792
3
+ metadata.gz: 5dbab719d51bbf4922bbf90d806fab06801a8c29d1e0697655121a16634f84d7
4
+ data.tar.gz: cc42c00cd4d36393723bc28cb204851bdf86535cee30519d1cd9367c6f6e06b9
5
5
  SHA512:
6
- metadata.gz: 7c3fc26f34f94fcacee9a8d87d7cdda3ea0c9a79aa40b8ff82d8a1f19b677fdda2fee147d6b91a3a9df0c4dc80541b9ae516778abc72fb4046399c18eefafb0d
7
- data.tar.gz: 7f615aed415a0f313badb5a32873b611200b878587d40c5d5498d06a05088bb91531d4130c7f0f64261c6e9d33a167943b00b3023c2e9ef14c524cc2dc3d9aae
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)
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 (~> 1.4.1)
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.10.0)
24
- ffi (>= 1.3.0)
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.10.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"]'
@@ -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}: #{@uri.password}" if @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.4'
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', '~> 1.4.1'
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
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.4.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.4.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: '0'
230
+ version: 1.3.1
231
231
  requirements: []
232
- rubygems_version: 3.4.8
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!