record_store 6.7.1 → 6.7.2

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: 7870ecd8f6c7f112a049ad82c71993773df9cd47ebfec1ece571bac97d209572
4
- data.tar.gz: 6c137abf69f115a6fc78e38e800ff3d270d54e6462c2467627f97b8fc524dd4e
3
+ metadata.gz: 1c762762d3971455c63709b625c961d42b12259c948cc5a545f6c4292b44e272
4
+ data.tar.gz: 053b903ae49f503befa5bbf13faa61efd70cd0b7563783bd0392e7764bf4ad3e
5
5
  SHA512:
6
- metadata.gz: 376c0a4183592b115118cabf2d89befa26209d0f02bd85f82bece5e0afc5c2c62db8fc2c1ae6668ccfe57148ccbee922aca7386fcb04e9ec5785fbabfb195744
7
- data.tar.gz: 8a42c0c7ed8a121d57c0b2c58f2bbe6f568c809fe53e9908724083415f44643497d6019a1cb712e561901ee4e1258d523f9f36738221090ff321c921fb99037c
6
+ metadata.gz: 4fa1daf0d8996c1b2210330fb0f3fceee62b3f80532ad98da723adcbf969f9ed44a18e2693ffb020bffcd4a4529f569b33b9326280c7873e57a619772e118494
7
+ data.tar.gz: 54e9194a2fc1697bd6ce341df1bea0dcf389d2e63b60b63d71025e2964bac6a750473649208b463b1fcb4e478da1b25287098a16a130c371f1adf0bd605c0cd9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 6.7.2
4
+ - Fix ActiveModel::Error usage for validate_records (behaviour change in ActiveModel 7)
5
+
3
6
  # 6.7.1
4
7
  - Change update_record to update_zone_record for DNSimple
5
8
 
@@ -289,8 +289,10 @@ module RecordStore
289
289
 
290
290
  invalid_records.each do |record|
291
291
  puts " #{record}"
292
- record.errors.each do |field, msg|
293
- puts " - #{field}: #{msg}"
292
+ record.errors.messages.each do |field, errors|
293
+ errors.each do |msg|
294
+ puts " - #{field}: #{msg}"
295
+ end
294
296
  end
295
297
  end
296
298
  end
@@ -1,3 +1,3 @@
1
1
  module RecordStore
2
- VERSION = '6.7.1'.freeze
2
+ VERSION = '6.7.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: record_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.7.1
4
+ version: 6.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willem van Bergen