capybara-screenshot-diff 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-screenshot-diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uwe Kubosch
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-29 00:00:00.000000000 Z
11
+ date: 2020-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -64,104 +64,6 @@ dependencies:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
66
  version: '1.3'
67
- - !ruby/object:Gem::Dependency
68
- name: bundler
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: '1.11'
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: '1.11'
81
- - !ruby/object:Gem::Dependency
82
- name: minitest
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '5.0'
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '5.0'
95
- - !ruby/object:Gem::Dependency
96
- name: minitest-reporters
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- version: '0'
109
- - !ruby/object:Gem::Dependency
110
- name: rake
111
- requirement: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- version: '0'
116
- type: :development
117
- prerelease: false
118
- version_requirements: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: '0'
123
- - !ruby/object:Gem::Dependency
124
- name: rubocop
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '0.54'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - "~>"
135
- - !ruby/object:Gem::Version
136
- version: '0.54'
137
- - !ruby/object:Gem::Dependency
138
- name: rubocop-performance
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - "~>"
142
- - !ruby/object:Gem::Version
143
- version: '0.0'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - "~>"
149
- - !ruby/object:Gem::Version
150
- version: '0.0'
151
- - !ruby/object:Gem::Dependency
152
- name: simplecov
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '0.11'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '0.11'
165
67
  description: Save screen shots and track changes with graphical diff
166
68
  email:
167
69
  - uwe@kubosch.no
@@ -169,25 +71,31 @@ executables: []
169
71
  extensions: []
170
72
  extra_rdoc_files: []
171
73
  files:
74
+ - ".gitattributes"
75
+ - ".github/workflows/test.yml"
172
76
  - ".gitignore"
173
- - ".rubocop.yml"
174
- - ".rubocop_todo.yml"
175
- - ".travis.yml"
77
+ - ".standard.yml"
176
78
  - CONTRIBUTING.md
177
- - Gemfile
79
+ - Dockerfile
178
80
  - LICENSE.txt
179
81
  - README.md
180
82
  - Rakefile
181
83
  - bin/console
84
+ - bin/install-vips
182
85
  - bin/setup
86
+ - bin/standardrb
183
87
  - capybara-screenshot-diff.gemspec
184
- - gemfiles/common.gemfile
185
88
  - gemfiles/rails42.gemfile
186
89
  - gemfiles/rails50.gemfile
187
90
  - gemfiles/rails51.gemfile
188
91
  - gemfiles/rails52.gemfile
189
- - gemfiles/rails60.gemfile
92
+ - gemfiles/rails60_gems.rb
93
+ - gemfiles/rails61_gems.rb
94
+ - gems.rb
190
95
  - lib/capybara/screenshot/diff.rb
96
+ - lib/capybara/screenshot/diff/drivers/chunky_png_driver.rb
97
+ - lib/capybara/screenshot/diff/drivers/utils.rb
98
+ - lib/capybara/screenshot/diff/drivers/vips_driver.rb
191
99
  - lib/capybara/screenshot/diff/image_compare.rb
192
100
  - lib/capybara/screenshot/diff/os.rb
193
101
  - lib/capybara/screenshot/diff/stabilization.rb
@@ -195,12 +103,13 @@ files:
195
103
  - lib/capybara/screenshot/diff/vcs.rb
196
104
  - lib/capybara/screenshot/diff/version.rb
197
105
  - matrix_test.rb
106
+ - tmp/.keep
198
107
  homepage: https://github.com/donv/capybara-screenshot-diff
199
108
  licenses:
200
109
  - MIT
201
110
  metadata:
202
111
  allowed_push_host: https://rubygems.org/
203
- post_install_message:
112
+ post_install_message:
204
113
  rdoc_options: []
205
114
  require_paths:
206
115
  - lib
@@ -208,15 +117,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
117
  requirements:
209
118
  - - "~>"
210
119
  - !ruby/object:Gem::Version
211
- version: '2.3'
120
+ version: '2.5'
212
121
  required_rubygems_version: !ruby/object:Gem::Requirement
213
122
  requirements:
214
123
  - - ">="
215
124
  - !ruby/object:Gem::Version
216
125
  version: '0'
217
126
  requirements: []
218
- rubygems_version: 3.0.3
219
- signing_key:
127
+ rubygems_version: 3.1.4
128
+ signing_key:
220
129
  specification_version: 4
221
130
  summary: Track your GUI changes with diff assertions
222
131
  test_files: []
@@ -1,65 +0,0 @@
1
- inherit_from: .rubocop_todo.yml
2
- require: rubocop-performance
3
-
4
- AllCops:
5
- TargetRubyVersion: 2.3
6
- DisplayCopNames: true
7
- DisplayStyleGuide: true
8
- Exclude:
9
- - gemfiles/vendor/**/*
10
-
11
- Layout/AlignArguments:
12
- EnforcedStyle: with_fixed_indentation
13
- IndentationWidth: 4
14
-
15
- Layout/AlignParameters:
16
- EnforcedStyle: with_fixed_indentation
17
- IndentationWidth: 4
18
-
19
- Layout/IndentHeredoc:
20
- EnforcedStyle: active_support
21
-
22
- Layout/MultilineMethodCallIndentation:
23
- EnforcedStyle: indented
24
-
25
- Layout/MultilineOperationIndentation:
26
- EnforcedStyle: indented
27
-
28
- Lint/Debugger:
29
- Enabled: false
30
-
31
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
32
- # URISchemes: http, https
33
- Metrics/LineLength:
34
- Max: 107
35
- IgnoreCopDirectives: true
36
-
37
- # Offense count: 2
38
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
39
- # AllowedNames: io, id, to
40
- Naming/UncommunicativeMethodParamName:
41
- AllowedNames:
42
- - x
43
- - y
44
-
45
- Security/Eval:
46
- Exclude:
47
- - gemfiles/*.gemfile
48
-
49
- #Style/AccessModifierDeclarations:
50
- # Enabled: false
51
-
52
- Style/Documentation:
53
- Enabled: false
54
-
55
- Style/DoubleNegation:
56
- Enabled: false
57
-
58
- Style/FormatStringToken:
59
- EnforcedStyle: unannotated
60
-
61
- Style/NumericPredicate:
62
- Enabled: false
63
-
64
- Style/SignalException:
65
- EnforcedStyle: semantic
@@ -1,52 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2019-08-29 00:41:08 +0200 using RuboCop version 0.68.1.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 12
10
- Metrics/AbcSize:
11
- Max: 50
12
-
13
- # Offense count: 2
14
- # Configuration parameters: CountComments, ExcludedMethods.
15
- # ExcludedMethods: refine
16
- Metrics/BlockLength:
17
- Max: 44
18
-
19
- # Offense count: 1
20
- # Configuration parameters: CountComments.
21
- Metrics/ClassLength:
22
- Max: 309
23
-
24
- # Offense count: 5
25
- Metrics/CyclomaticComplexity:
26
- Max: 17
27
-
28
- # Offense count: 15
29
- # Configuration parameters: CountComments, ExcludedMethods.
30
- Metrics/MethodLength:
31
- Max: 49
32
-
33
- # Offense count: 1
34
- # Configuration parameters: CountComments.
35
- Metrics/ModuleLength:
36
- Max: 123
37
-
38
- # Offense count: 1
39
- # Configuration parameters: CountKeywordArgs.
40
- Metrics/ParameterLists:
41
- Max: 7
42
-
43
- # Offense count: 5
44
- Metrics/PerceivedComplexity:
45
- Max: 17
46
-
47
- # Offense count: 2
48
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
49
- # AllowedNames: io, id, to, by, on, in, at, ip, db
50
- Naming/UncommunicativeMethodParamName:
51
- Exclude:
52
- - 'lib/capybara/screenshot/diff/image_compare.rb'
@@ -1,30 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- cache: bundler
4
- rvm:
5
- - jruby-9.2.8.0
6
- - ruby-2.6.3
7
- - ruby-2.5.5
8
- - ruby-2.4.6
9
- - truffleruby
10
-
11
- gemfile:
12
- - gemfiles/rails60.gemfile
13
- - gemfiles/rails52.gemfile
14
- - gemfiles/rails51.gemfile
15
- - gemfiles/rails50.gemfile
16
- - gemfiles/rails42.gemfile
17
-
18
- env:
19
- - JRUBY_OPTS="--dev --debug"
20
-
21
- jdk:
22
- - oraclejdk14
23
-
24
- matrix:
25
- fast_finish: true
26
- exclude:
27
- - rvm: ruby-2.4.6
28
- gemfile: gemfiles/rails60.gemfile
29
- allow_failures:
30
- - rvm: truffleruby-19.2.0
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in capybara-screenshot-diff.gemspec
6
- gemspec
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'capybara', '~> 2.0'
6
- gem 'chunky_png', '~> 1.3'
7
- gem 'minitest', '~> 5.0'
8
- gem 'minitest-reporters'
9
- gem 'rake'
10
- gem 'rubocop', '~> 0.39'
11
- gem 'rubocop-performance', '~> 0.0'
12
- gem 'simplecov', '~> 0.11'
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- eval File.read("#{__dir__}/common.gemfile")
4
-
5
- gem 'actionpack', '~>6.0.0'