nobrainer-rspec 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/Gemfile +1 -0
- data/lib/matchers/have_field.rb +1 -1
- data/lib/nobrainer/rspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8a90150d10d89c6e071d2a8c7e65c431c6a3ffae7b1139e847bc04c7e4b9b33
|
4
|
+
data.tar.gz: 6d5d835082bb4c8334e126d9f1ade2464e4fe4ab5b39f0acccb16101c37c9723
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2559568fb6287d1ee256e33418deb69c7d75ea69369683180f610faef63c65c6ef1b4b0ff5d0111905943a0bb04cdab3f9f6b418b4629c678f0e40018ad4112
|
7
|
+
data.tar.gz: 34575fb6c93099bfa457b1e915ce87834d092fc84c208694d0b44cbd0069706d7f69acb3c57ea596c67239cb0dc6e9ebe8bd15940908d8af02ead0459a03fc1a
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
9
|
|
10
|
+
## [1.1.1] - 2021-02-09
|
11
|
+
### Fixed
|
12
|
+
- error on generating failure description #1
|
13
|
+
|
10
14
|
## [1.1.0] - 2020-11-28
|
11
15
|
### Fixed
|
12
16
|
- have_field with a field using `unique: true` or `uniq: true`
|
@@ -36,8 +40,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
36
40
|
- validate_format_of
|
37
41
|
- validate_numericality_of
|
38
42
|
|
39
|
-
[Unreleased]: https://gitlab.com/zedtux/nobrainer-rspec/-/compare/v1.1.
|
43
|
+
[Unreleased]: https://gitlab.com/zedtux/nobrainer-rspec/-/compare/v1.1.1...master
|
44
|
+
[1.1.1]: https://gitlab.com/zedtux/nobrainer-rspec/-/compare/v1.1.0...v1.1.1
|
40
45
|
[1.1.0]: https://gitlab.com/zedtux/nobrainer-rspec/-/compare/v1.0.1...v1.1.0
|
41
46
|
[1.0.1]: https://gitlab.com/zedtux/nobrainer-rspec/-/compare/v1.0.0...v1.0.1
|
42
47
|
[1.0.0]: https://gitlab.com/zedtux/nobrainer-rspec/-/tags/v1.0.0
|
43
|
-
|
data/Gemfile
CHANGED
data/lib/matchers/have_field.rb
CHANGED
@@ -477,7 +477,7 @@ module NoBrainer
|
|
477
477
|
desc += ' to be lazy fetched' if @lazy_fetched
|
478
478
|
if @unique == true
|
479
479
|
desc += ' to be unique'
|
480
|
-
elsif @unique
|
480
|
+
elsif @unique&.key?(:scope)
|
481
481
|
desc += " to be unique in the scope of #{@unique[:scope]}"
|
482
482
|
end
|
483
483
|
desc += ' as primary key' if @primary_key
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nobrainer-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Hain
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nobrainer
|