HornsAndHooves-flat_map 0.4.1 → 0.5.0

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: bcdfe645e13a574ab430e26326273b5d454cda47cb35ee0786ba7c1154734f9f
4
- data.tar.gz: f7b01760116590b25a3df7e55c06c1b1b57a88c081dfb9e7e439a1832dcf98c2
3
+ metadata.gz: 7902561902733c34e2f37b66ae25ed17fded33ff38f6f0f013630137a87eacb6
4
+ data.tar.gz: ba3167200d89dad368a42d23dbe4bebcfc147f15879ef8a78835a609127aa20c
5
5
  SHA512:
6
- metadata.gz: 5050b0fa11043dc86047fc4067ebd7afd37a53e10e426622a96756f011074ef8c3c3f2f2cca85dd797c2cf7e744a3b17ffad541f66fc7f760e18fe0d213f2f23
7
- data.tar.gz: ec553145839aa157fd829618f7a2181411814d9e032f532e8f4794b4cc89c3852aa851d9865be3825100cb7753ed67a5d075e882e6f78660e351b9e98a264eea
6
+ metadata.gz: 44f53062529bafb8ae96504dbaa6576e6e44c453749a01012c37a723726aa459a31f1f097e3e364a47ad1453d1609e1da7e87099d4cd27d0f2a2d8f365463bff
7
+ data.tar.gz: 5d8861f359ea9c460e0cbac177726143cf87b4d18299f43052a845fb0c74faf2aef483e828bbd7be06160a5d9c7719c6cd55c64c505f0a9d99fede9bf142feaa
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.6
1
+ 2.6.6
data/Gemfile CHANGED
@@ -1,12 +1,10 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- ruby "2.4.6"
4
-
5
3
  # Specify your gem's dependencies in flat_map.gemspec
6
4
  gemspec
7
5
 
8
- gem "activerecord", "~> 5.2"
9
- gem "activesupport", "~> 5.2"
6
+ gem "activerecord"
7
+ gem "activesupport"
10
8
 
11
9
  gem 'redcarpet'
12
10
  gem 'yard'
@@ -19,8 +19,8 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  # specify any dependencies here; for example:
22
- s.add_dependency "activesupport", ">= 4.2", "< 6.0.0"
23
- s.add_dependency "activerecord", ">= 4.2", "< 6.0.0"
22
+ s.add_dependency "activesupport", ">= 5", "< 7.0.0"
23
+ s.add_dependency "activerecord", ">= 5", "< 7.0.0"
24
24
  s.add_dependency "yard"
25
25
 
26
26
  s.add_development_dependency "rspec", '~> 3.5'
@@ -133,7 +133,7 @@ module FlatMap
133
133
  # @return [Array<ActiveModel::Errors>]
134
134
  def consolidate_errors!
135
135
  mountings.map(&:errors).each do |errs|
136
- errors.messages.merge!(errs.to_hash){ |key, old, new| old.concat(new) }
136
+ errors.merge!(errs)
137
137
  end
138
138
  end
139
139
  private :consolidate_errors!
@@ -1,3 +1,3 @@
1
1
  module FlatMap # :nodoc:
2
- VERSION = "0.4.1" # :nodoc:
2
+ VERSION = "0.5.0" # :nodoc:
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HornsAndHooves-flat_map
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HornsAndHooves
@@ -9,10 +9,10 @@ authors:
9
9
  - Zachary Belzer
10
10
  - Sergey Potapov
11
11
  - Bruce Burdick
12
- autorequire:
12
+ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2019-10-17 00:00:00.000000000 Z
15
+ date: 2021-10-04 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activesupport
@@ -20,40 +20,40 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: '4.2'
23
+ version: '5'
24
24
  - - "<"
25
25
  - !ruby/object:Gem::Version
26
- version: 6.0.0
26
+ version: 7.0.0
27
27
  type: :runtime
28
28
  prerelease: false
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '4.2'
33
+ version: '5'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: 6.0.0
36
+ version: 7.0.0
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: activerecord
39
39
  requirement: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '4.2'
43
+ version: '5'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: 6.0.0
46
+ version: 7.0.0
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '4.2'
53
+ version: '5'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
- version: 6.0.0
56
+ version: 7.0.0
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: yard
59
59
  requirement: !ruby/object:Gem::Requirement
@@ -189,7 +189,7 @@ homepage: https://github.com/HornsAndHooves/flat_map
189
189
  licenses:
190
190
  - LICENSE
191
191
  metadata: {}
192
- post_install_message:
192
+ post_install_message:
193
193
  rdoc_options: []
194
194
  require_paths:
195
195
  - lib
@@ -204,9 +204,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  - !ruby/object:Gem::Version
205
205
  version: '0'
206
206
  requirements: []
207
- rubyforge_project:
208
- rubygems_version: 2.7.9
209
- signing_key:
207
+ rubygems_version: 3.0.9
208
+ signing_key:
210
209
  specification_version: 4
211
210
  summary: Deep object graph to a plain properties mapper
212
211
  test_files: