minitest-snapshots 1.0.0 → 1.0.2
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: '04618d0a271308ebd2b3e7103cd860af5f69c58456368ee2a7321b09b62b562d'
|
4
|
+
data.tar.gz: 9c2d2563866b3ceea0adebdd235813c2891537a8b8001589c9e60be6cf695b62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4c580259d3d17c256f069844318a6ab857506ec24874ab153e3c4f8541305aa52998ff516acad38796555eb0fcd72124ac1b687bd6c551937e2352291ea1a6
|
7
|
+
data.tar.gz: e3e312e90a1dac0e1d9ac960ee2c22dc5631d7a56e468246123c31706da82917139f214d04bd35f04802d2c9140a3042473cd17d120e9e879d8c86e5b0f86f0b
|
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.2
|
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:
|
12
|
+
date: 2024-01-09 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.
|
54
|
+
rubygems_version: 3.5.3
|
55
55
|
signing_key:
|
56
56
|
specification_version: 4
|
57
57
|
summary: Minitest plugin implementing Jest-style snapshot testing
|