genealogy 2.7.1 → 2.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: 125160d20e6f4039c63694f5ef1eab14b51194a43b96b35fcc6cc6f9f80d3eb0
4
- data.tar.gz: 56735f57b37a74ef58b0dddf68ed8738c42507f99bf76a09f9f7ba8c1ac5438e
3
+ metadata.gz: b8c2e921b1de225c52799f37886d08b19eaa9b22c43b035df462aa6dc88853a5
4
+ data.tar.gz: b98bfe7b146347013cff7af6a6018b26c4590744d68fa38dc2a42ce0351ab3fa
5
5
  SHA512:
6
- metadata.gz: 1f0b5c623af04f3fa168c12e17c7ce4940ca6d676391054fc05835b9e422196773118c6582a8af5017d2a8b0d48ae2bf3defd826f86aceab3368fca60947ab80
7
- data.tar.gz: 06000f70b529ec822ab08eb934389ba75a33ea16ca71c554ca12895b77ed396bc995c8bbb979b044428ff68a7f8d9942644892221d81c80c56833a638580cb68
6
+ metadata.gz: 25540e3f4f05a3cc7cd27d8e3566fa783ac645beab2c270d241f9faf7ef5022cd8585ce82ea8675dc7814df20734719d1ca06fbb5f880bc89997a59277b640a9
7
+ data.tar.gz: bba098769a2904dadf4cc48fac99e09529a8643916595f2415b48468a1c3256d98b90f1e87117251744fbbcdcb0ed902943fbf4d337ee2a4f237fb12c8516e00
@@ -96,7 +96,7 @@ module Genealogy
96
96
  belongs_to_options = {class_name: self.name}
97
97
  belongs_to_options[:optional] = true if Gem::Specification.find_by_name('activerecord').version >= Gem::Version.new("5")
98
98
  tracked_relatives.each do |k|
99
- belongs_to k, belongs_to_options.merge(foreign_key: self.send("#{k}_id_column"))
99
+ belongs_to k, **belongs_to_options.merge(foreign_key: self.send("#{k}_id_column"))
100
100
  end
101
101
 
102
102
  has_many :children_as_father, class_name: self.name, foreign_key: self.father_id_column, dependent: :nullify
@@ -1,3 +1,3 @@
1
1
  module Genealogy
2
- VERSION = "2.7.1"
2
+ VERSION = "2.7.2"
3
3
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genealogy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - masciugo
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-25 00:00:00.000000000 Z
11
+ date: 2022-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">"
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '6.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">"
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: '6.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">"
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.0'
33
+ version: '6.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">"
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '4.0'
40
+ version: '6.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sqlite3
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -257,7 +257,7 @@ homepage: https://github.com/masciugo/genealogy
257
257
  licenses:
258
258
  - MIT
259
259
  metadata: {}
260
- post_install_message:
260
+ post_install_message:
261
261
  rdoc_options: []
262
262
  require_paths:
263
263
  - lib
@@ -272,8 +272,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
272
  - !ruby/object:Gem::Version
273
273
  version: '0'
274
274
  requirements: []
275
- rubygems_version: 3.1.2
276
- signing_key:
275
+ rubygems_version: 3.3.7
276
+ signing_key:
277
277
  specification_version: 4
278
278
  summary: Make ActiveRecord model act as a pedigree
279
279
  test_files: []