super_diff 0.6.1 → 0.6.2
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/lib/super_diff.rb +24 -0
- data/lib/super_diff/diff_formatters/collection.rb +1 -1
- data/lib/super_diff/equality_matchers/array.rb +2 -2
- data/lib/super_diff/equality_matchers/default.rb +2 -2
- data/lib/super_diff/equality_matchers/hash.rb +2 -2
- data/lib/super_diff/equality_matchers/multiline_string.rb +2 -2
- data/lib/super_diff/equality_matchers/primitive.rb +2 -2
- data/lib/super_diff/equality_matchers/singleline_string.rb +2 -2
- data/lib/super_diff/object_inspection.rb +0 -8
- data/lib/super_diff/object_inspection/nodes/inspection.rb +1 -1
- data/lib/super_diff/rspec/monkey_patches.rb +343 -304
- data/lib/super_diff/version.rb +1 -1
- data/spec/combustion/Gemfile.lock +173 -0
- data/spec/examples.txt +403 -387
- data/spec/spec_helper.rb +8 -0
- data/spec/unit/{object_inspection_spec.rb → super_diff_spec.rb} +136 -76
- metadata +6 -6
- data/spec/tmp/integration_spec.rb +0 -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.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliot Winkler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: attr_extras
|
@@ -223,6 +223,7 @@ files:
|
|
223
223
|
- lib/super_diff/rspec/operation_tree_builders/hash_including.rb
|
224
224
|
- lib/super_diff/rspec/operation_tree_builders/object_having_attributes.rb
|
225
225
|
- lib/super_diff/version.rb
|
226
|
+
- spec/combustion/Gemfile.lock
|
226
227
|
- spec/examples.txt
|
227
228
|
- spec/integration/rails/active_record_spec.rb
|
228
229
|
- spec/integration/rails/hash_with_indifferent_access_spec.rb
|
@@ -268,9 +269,7 @@ files:
|
|
268
269
|
- spec/support/ruby_versions.rb
|
269
270
|
- spec/support/shared_examples/active_record.rb
|
270
271
|
- spec/support/shared_examples/hash_with_indifferent_access.rb
|
271
|
-
- spec/tmp/integration_spec.rb
|
272
272
|
- spec/unit/equality_matchers/main_spec.rb
|
273
|
-
- spec/unit/object_inspection_spec.rb
|
274
273
|
- spec/unit/rspec/matchers/be_compared_to_spec.rb
|
275
274
|
- spec/unit/rspec/matchers/be_falsey_spec.rb
|
276
275
|
- spec/unit/rspec/matchers/be_nil_spec.rb
|
@@ -286,6 +285,7 @@ files:
|
|
286
285
|
- spec/unit/rspec/matchers/match_spec.rb
|
287
286
|
- spec/unit/rspec/matchers/raise_error_spec.rb
|
288
287
|
- spec/unit/rspec/matchers/respond_to_spec.rb
|
288
|
+
- spec/unit/super_diff_spec.rb
|
289
289
|
- super_diff.gemspec
|
290
290
|
homepage: https://github.com/mcmire/super_diff
|
291
291
|
licenses:
|
@@ -316,7 +316,7 @@ summary: A better way to view differences between complex data structures in RSp
|
|
316
316
|
test_files:
|
317
317
|
- spec/spec_helper.rb
|
318
318
|
- spec/unit/equality_matchers/main_spec.rb
|
319
|
-
- spec/unit/
|
319
|
+
- spec/unit/super_diff_spec.rb
|
320
320
|
- spec/unit/rspec/matchers/contain_exactly_spec.rb
|
321
321
|
- spec/unit/rspec/matchers/be_predicate_spec.rb
|
322
322
|
- spec/unit/rspec/matchers/raise_error_spec.rb
|
@@ -376,4 +376,4 @@ test_files:
|
|
376
376
|
- spec/support/colorizer.rb
|
377
377
|
- spec/support/shared_examples/hash_with_indifferent_access.rb
|
378
378
|
- spec/support/shared_examples/active_record.rb
|
379
|
-
- spec/
|
379
|
+
- spec/combustion/Gemfile.lock
|
@@ -1,15 +0,0 @@
|
|
1
|
-
require "/Users/elliot/code/github/mine/super_diff/spec/config/zeus_plan.rb"
|
2
|
-
|
3
|
-
zeus_plan = CustomZeusPlan.new
|
4
|
-
zeus_plan.boot
|
5
|
-
|
6
|
-
zeus_plan.run_plain_test
|
7
|
-
|
8
|
-
RSpec.describe "test" do
|
9
|
-
it "passes" do
|
10
|
-
expected = "This is a line\nAnd that's a line\nAnd there's a line too\n"
|
11
|
-
actual = "This is a line\nSomething completely different\nAnd there's a line too\n"
|
12
|
-
expect(actual).to eq(expected)
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|