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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 234a7a00fa53a4b5ac5837c8a649ee0f3cf47c4fcf726f81b13fff07f88801b7
4
- data.tar.gz: 322c24fb8cb5bd99838d45df843b0875d847c4251f0cc64ae12a99f9d0fdb82f
3
+ metadata.gz: f8a90150d10d89c6e071d2a8c7e65c431c6a3ffae7b1139e847bc04c7e4b9b33
4
+ data.tar.gz: 6d5d835082bb4c8334e126d9f1ade2464e4fe4ab5b39f0acccb16101c37c9723
5
5
  SHA512:
6
- metadata.gz: 6bc9da488a3da37d29bb96722d3925b5cb86f66dfc4de6d276fcea9bbdbd8285a5fdbe26ea9b23420d6c9966c7cc76ad950dde6d610a5d51d0924af8171a0648
7
- data.tar.gz: 3cdbf12fca120344ca14b904030e0770af84f906e614a9c00ec8933e6272866c077f3feecce09be46403e521634e87ee33d5205f81b8f42d223095c5174c32ca
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.0...master
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
@@ -2,4 +2,5 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
+ gem 'nobrainer', '~> 0.34', github: 'nviennot/nobrainer'
5
6
  gem 'byebug'
@@ -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.key?(:scope)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module NoBrainer
4
4
  module RSpec
5
- VERSION = '1.1.0'
5
+ VERSION = '1.1.1'
6
6
  end
7
7
  end
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.0
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: 2020-11-28 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nobrainer