rspec-uuid 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec-uuid/version.rb +1 -1
- data/spec/matchers_spec.rb +2 -1
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86976570717b28f357f79552d53198d57041efc2ac7e96706d0c8415bdd85782
|
4
|
+
data.tar.gz: c561df77eb3e2867b3ff3818ce2c865c8ba1d03354814116c844faea74ca58c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0616ab1c8402b8f4c0977778a38a0a59cb5a511173d30433d920a2aa521a651272046fb135ef478cfa231c7526c904382bace79b95042efc7bf912d1a38c5f3e
|
7
|
+
data.tar.gz: 2e453940a2a49faa22f2b3933e300b4b986f16080934aca2d0c0acaf39cab022221d9a7ba22609c8abb90c3b5cdb384763b1331bffc52f76832326407d5536c4
|
data/lib/rspec-uuid/version.rb
CHANGED
data/spec/matchers_spec.rb
CHANGED
@@ -8,6 +8,7 @@ describe RSpecUUID::Matchers do
|
|
8
8
|
context "with generated UUIDs" do
|
9
9
|
specify do
|
10
10
|
100.times { expect(SecureRandom.uuid).to be_a_uuid }
|
11
|
+
100.times { expect(Faker::Internet.uuid).to be_a_uuid }
|
11
12
|
end
|
12
13
|
end
|
13
14
|
|
@@ -46,7 +47,7 @@ describe RSpecUUID::Matchers do
|
|
46
47
|
it "fails with a useful message" do
|
47
48
|
expect {
|
48
49
|
expect(uuid_v3).to be_a_uuid(4)
|
49
|
-
}.to fail_including("UUID v4, found a UUID v3")
|
50
|
+
}.to fail_including("expected a UUID v4, found a UUID v3")
|
50
51
|
end
|
51
52
|
end
|
52
53
|
end
|
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-uuid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Pepper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec-expectations
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: activesupport
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,7 +81,7 @@ dependencies:
|
|
53
81
|
- !ruby/object:Gem::Version
|
54
82
|
version: '0'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
84
|
+
name: faker
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
58
86
|
requirements:
|
59
87
|
- - ">="
|