sitediff 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "sitediff",
3
+ "version": "1.0.0",
4
+ "description": "Sitediff Javascript",
5
+ "main": "./sitediff/files/sitediff.js",
6
+ "directories": {
7
+ "lib": "lib"
8
+ },
9
+ "scripts": {
10
+ "lint": "eslint --debug ./lib/sitediff/files/*.js"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/evolvingweb/sitediff.git"
15
+ },
16
+ "author": "",
17
+ "license": "GPL-2.0-only",
18
+ "bugs": {
19
+ "url": "https://github.com/evolvingweb/sitediff/issues"
20
+ },
21
+ "homepage": "https://github.com/evolvingweb/sitediff#readme",
22
+ "devDependencies": {
23
+ "eslint": "^7.5.0"
24
+ }
25
+ }
data/sitediff.gemspec ADDED
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = 'sitediff'
5
+ s.version = '1.2.0'
6
+ s.required_ruby_version = '>= 3.1.2'
7
+ s.summary = 'Compare two versions of a site with ease!'
8
+ s.description = <<DESC
9
+ SiteDiff makes it easy to see differences between two versions of a website. It accepts a set of paths to compare two versions of the site together with potential normalization/sanitization rules. From the provided paths and configuration SiteDiff generates an HTML report of all the status of HTML comparison between the given paths together with a readable diff-like HTML for each specified path containing the differences between the two versions of the site. It is useful tool for QAing re-deployments, site upgrades, etc.
10
+ DESC
11
+ s.license = 'GPL-2.0'
12
+ s.authors = ['Alex Dergachev', 'Amir Kadivar', 'Dave Vasilevsky']
13
+ s.homepage = 'https://sitediff.io/'
14
+ s.email = 'alex@evolvingweb.ca'
15
+ s.metadata = {
16
+ 'source_code_uri' => 'https://github.com/evolvingweb/sitediff'
17
+ }
18
+
19
+ # Specify which files should be added to the gem when it is released.
20
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
+ s.files = Dir.chdir(File.expand_path(__dir__)) do
22
+ `git ls-files -z`.split("\x0").reject do |f|
23
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
24
+ end
25
+ end
26
+ s.require_paths = ['lib']
27
+ # s.files = Dir.glob('lib/**/*.rb') +
28
+ # Dir.glob('lib/sitediff/files/*') +
29
+ # Dir.glob('lib/sitediff/files/rules/*.yaml')
30
+ s.bindir = 'bin'
31
+ s.executables = 'sitediff'
32
+
33
+ # Apparently we require pkg-config
34
+ s.add_dependency 'pkg-config', '~> 1.4'
35
+
36
+ s.add_dependency 'minitar', '~> 0.9'
37
+ s.add_dependency 'thor', '~> 1.2.1'
38
+ s.add_dependency 'typhoeus', '~> 1.4.0'
39
+
40
+ # A bug in rubygems can break rainbow 2.2
41
+ # https://github.com/bundler/bundler/issues/5357
42
+ s.add_dependency 'rainbow', '~> 3.1.1'
43
+
44
+ # Nokogiri 1.7 is not supported on Ruby 2.0.
45
+ s.add_dependency 'nokogiri', '>= 1.13.6'
46
+
47
+ # Diffy and addressable have a max version for Ruby 1.9.
48
+ s.add_dependency 'addressable', '>= 2.5.2', '< 2.9.0'
49
+ s.add_dependency 'diffy', '~> 3.4.0'
50
+ s.add_dependency 'webrick', '>= 1.7'
51
+ end
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.1.1
4
+ version: 1.2.0
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: 2020-08-06 00:00:00.000000000 Z
13
+ date: 2022-08-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pkg-config
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '1.1'
21
+ version: '1.4'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '1.1'
28
+ version: '1.4'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: minitar
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -46,84 +46,104 @@ dependencies:
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: 0.20.0
49
+ version: 1.2.1
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - "~>"
55
55
  - !ruby/object:Gem::Version
56
- version: 0.20.0
56
+ version: 1.2.1
57
57
  - !ruby/object:Gem::Dependency
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.0'
63
+ version: 1.4.0
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.0'
70
+ version: 1.4.0
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rainbow
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: 3.0.0
77
+ version: 3.1.1
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - "~>"
83
83
  - !ruby/object:Gem::Version
84
- version: 3.0.0
84
+ version: 3.1.1
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: nokogiri
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
90
90
  - !ruby/object:Gem::Version
91
- version: 1.10.4
91
+ version: 1.13.6
92
92
  type: :runtime
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - ">="
97
97
  - !ruby/object:Gem::Version
98
- version: 1.10.4
98
+ version: 1.13.6
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: addressable
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - "~>"
103
+ - - ">="
104
104
  - !ruby/object:Gem::Version
105
105
  version: 2.5.2
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: 2.9.0
106
109
  type: :runtime
107
110
  prerelease: false
108
111
  version_requirements: !ruby/object:Gem::Requirement
109
112
  requirements:
110
- - - "~>"
113
+ - - ">="
111
114
  - !ruby/object:Gem::Version
112
115
  version: 2.5.2
116
+ - - "<"
117
+ - !ruby/object:Gem::Version
118
+ version: 2.9.0
113
119
  - !ruby/object:Gem::Dependency
114
120
  name: diffy
115
121
  requirement: !ruby/object:Gem::Requirement
116
122
  requirements:
117
123
  - - "~>"
118
124
  - !ruby/object:Gem::Version
119
- version: 3.3.0
125
+ version: 3.4.0
120
126
  type: :runtime
121
127
  prerelease: false
122
128
  version_requirements: !ruby/object:Gem::Requirement
123
129
  requirements:
124
130
  - - "~>"
125
131
  - !ruby/object:Gem::Version
126
- version: 3.3.0
132
+ version: 3.4.0
133
+ - !ruby/object:Gem::Dependency
134
+ name: webrick
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '1.7'
140
+ type: :runtime
141
+ prerelease: false
142
+ version_requirements: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '1.7'
127
147
  description: " SiteDiff makes it easy to see differences between two versions of
128
148
  a website. It accepts a set of paths to compare two versions of the site together
129
149
  with potential normalization/sanitization rules. From the provided paths and configuration
@@ -137,7 +157,25 @@ executables:
137
157
  extensions: []
138
158
  extra_rdoc_files: []
139
159
  files:
160
+ - ".eslintignore"
161
+ - ".eslintrc.json"
162
+ - ".project"
163
+ - ".rubocop.yml"
164
+ - ".rubocop_todo.yml"
165
+ - CHANGELOG.md
166
+ - Dockerfile
167
+ - Gemfile
168
+ - Gemfile.lock
169
+ - INSTALLATION.md
170
+ - LICENSE
171
+ - README.md
172
+ - Rakefile
173
+ - Thorfile
140
174
  - bin/sitediff
175
+ - config/.gitkeep
176
+ - config/sanitize_domains.example.yaml
177
+ - config/sitediff.example.yaml
178
+ - docker-compose.test.yml
141
179
  - lib/sitediff.rb
142
180
  - lib/sitediff/api.rb
143
181
  - lib/sitediff/cache.rb
@@ -157,6 +195,7 @@ files:
157
195
  - lib/sitediff/files/sidebyside.html.erb
158
196
  - lib/sitediff/files/sitediff.css
159
197
  - lib/sitediff/files/sitediff.js
198
+ - lib/sitediff/presets/drupal.yaml
160
199
  - lib/sitediff/report.rb
161
200
  - lib/sitediff/result.rb
162
201
  - lib/sitediff/sanitize.rb
@@ -165,6 +204,11 @@ files:
165
204
  - lib/sitediff/uriwrapper.rb
166
205
  - lib/sitediff/webserver.rb
167
206
  - lib/sitediff/webserver/resultserver.rb
207
+ - misc/sitediff - overview report.png
208
+ - misc/sitediff - page report.png
209
+ - package-lock.json
210
+ - package.json
211
+ - sitediff.gemspec
168
212
  homepage: https://sitediff.io/
169
213
  licenses:
170
214
  - GPL-2.0
@@ -178,14 +222,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
222
  requirements:
179
223
  - - ">="
180
224
  - !ruby/object:Gem::Version
181
- version: '2.6'
225
+ version: 3.1.2
182
226
  required_rubygems_version: !ruby/object:Gem::Requirement
183
227
  requirements:
184
228
  - - ">="
185
229
  - !ruby/object:Gem::Version
186
230
  version: '0'
187
231
  requirements: []
188
- rubygems_version: 3.1.2
232
+ rubygems_version: 3.3.7
189
233
  signing_key:
190
234
  specification_version: 4
191
235
  summary: Compare two versions of a site with ease!