minitest-snapshots 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -3
- data/lib/minitest/snapshots/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df1eab7b656ef41c119840132f47702d15dc99fc14eb88b4a47614046bf1694e
|
4
|
+
data.tar.gz: 57b540192a37e77075dac98a026bc2dcb864e50f7a33752dfac979be6c000a53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b581de57a56296cce3378f59e9ba6d08a3708378068abd8f3004eff456775b78cf7435778c3505fb67ebc5a0d71c658e2b16d7d35013444ba95606dd161fa7a
|
7
|
+
data.tar.gz: f4458793636fdf47fbba8002250e6128ce90b0f326312ccad9ac23ab3b20f65924c088130cd1884be85dbd80c44ef4f361f3f456445882e4da568251ca3b6710
|
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# Minitest::Snapshots
|
2
2
|
|
3
|
-
[![Gem Version](https://
|
4
|
-
[![
|
3
|
+
[![Gem Version](https://img.shields.io/gem/v/minitest-snapshots)](https://rubygems.org/gems/minitest-snapshots)
|
4
|
+
[![Gem Downloads](https://img.shields.io/gem/dt/minitest-snapshots)](https://www.ruby-toolbox.com/projects/minitest-snapshots)
|
5
|
+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/mattbrictson/minitest-snapshots/ci.yml)](https://github.com/mattbrictson/minitest-snapshots/actions/workflows/ci.yml)
|
5
6
|
|
6
7
|
Simple minitest plugin gem implementing Jest-style snapshot testing. It's like VCR, but for any value.
|
7
8
|
|
@@ -16,7 +17,7 @@ Instead of copying and pasting large segments of machine generated text into you
|
|
16
17
|
Example:
|
17
18
|
|
18
19
|
```ruby
|
19
|
-
class QueryCompilerText
|
20
|
+
class QueryCompilerText < Minitest::Test
|
20
21
|
def test_it_can_compile_a_query
|
21
22
|
assert_matches_snapshot QueryCompiler.new.compile
|
22
23
|
end
|
@@ -65,3 +66,7 @@ The gem is available as open source under the terms of the [MIT License](LICENSE
|
|
65
66
|
## Code of Conduct
|
66
67
|
|
67
68
|
Everyone interacting in the this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](CODE_OF_CONDUCT.md).
|
69
|
+
|
70
|
+
## History
|
71
|
+
|
72
|
+
`minitest-snapshots` was created by Harry Brundage (@airhorns) and originally published to rubygems in 2019. Significant contributions were [added](https://github.com/mattbrictson/minitest-snapshots/pull/6) by @chocolateboy in 2020. In June 2023, ownership of the project was transferred to Matt Brictson (@mattbrictson).
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-snapshots
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Brundage
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-10-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email:
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
requirements: []
|
54
|
-
rubygems_version: 3.4.
|
54
|
+
rubygems_version: 3.4.19
|
55
55
|
signing_key:
|
56
56
|
specification_version: 4
|
57
57
|
summary: Minitest plugin implementing Jest-style snapshot testing
|