super_diff 0.4.0 → 0.4.1
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 +4 -4
- data/README.md +87 -69
- data/lib/super_diff/rspec/monkey_patches.rb +6 -4
- data/lib/super_diff/version.rb +1 -1
- data/spec/examples.txt +5 -0
- data/spec/integration/rspec/unhandled_errors_spec.rb +21 -0
- data/spec/support/shared_examples/hash_with_indifferent_access.rb +724 -208
- data/super_diff.gemspec +3 -4
- metadata +7 -6
data/super_diff.gemspec
CHANGED
@@ -6,11 +6,10 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.authors = ["Elliot Winkler"]
|
7
7
|
s.email = ["elliot.winkler@gmail.com"]
|
8
8
|
s.homepage = "https://github.com/mcmire/super_diff"
|
9
|
-
s.summary = "
|
9
|
+
s.summary = "A better way to view differences between complex data structures in RSpec."
|
10
10
|
s.description = <<~DESC
|
11
|
-
SuperDiff is a
|
12
|
-
|
13
|
-
structures differ.
|
11
|
+
SuperDiff is a gem that hooks into RSpec to intelligently display the
|
12
|
+
differences between two data structures of any type.
|
14
13
|
DESC
|
15
14
|
s.required_ruby_version = "~> 2.4"
|
16
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: super_diff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliot Winkler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: attr_extras
|
@@ -53,9 +53,8 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: |
|
56
|
-
SuperDiff is a
|
57
|
-
|
58
|
-
structures differ.
|
56
|
+
SuperDiff is a gem that hooks into RSpec to intelligently display the
|
57
|
+
differences between two data structures of any type.
|
59
58
|
email:
|
60
59
|
- elliot.winkler@gmail.com
|
61
60
|
executables: []
|
@@ -211,6 +210,7 @@ files:
|
|
211
210
|
- lib/super_diff/rspec/operational_sequencers/hash_including.rb
|
212
211
|
- lib/super_diff/rspec/operational_sequencers/object_having_attributes.rb
|
213
212
|
- lib/super_diff/version.rb
|
213
|
+
- spec/examples.txt
|
214
214
|
- spec/integration/rails/active_record_spec.rb
|
215
215
|
- spec/integration/rails/hash_with_indifferent_access_spec.rb
|
216
216
|
- spec/integration/rspec/be_falsey_matcher_spec.rb
|
@@ -289,7 +289,7 @@ requirements: []
|
|
289
289
|
rubygems_version: 3.0.3
|
290
290
|
signing_key:
|
291
291
|
specification_version: 4
|
292
|
-
summary:
|
292
|
+
summary: A better way to view differences between complex data structures in RSpec.
|
293
293
|
test_files:
|
294
294
|
- spec/spec_helper.rb
|
295
295
|
- spec/unit/object_inspection_spec.rb
|
@@ -309,6 +309,7 @@ test_files:
|
|
309
309
|
- spec/unit/rspec/matchers/be_falsey_spec.rb
|
310
310
|
- spec/unit/rspec/matchers/be_truthy_spec.rb
|
311
311
|
- spec/unit/rspec/matchers/include_spec.rb
|
312
|
+
- spec/examples.txt
|
312
313
|
- spec/integration/rspec/be_predicate_matcher_spec.rb
|
313
314
|
- spec/integration/rspec/be_falsey_matcher_spec.rb
|
314
315
|
- spec/integration/rspec/be_truthy_matcher_spec.rb
|