ancestry_direct_children 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 546b8f3ac54422ba243347efc32faedffdedac50
4
- data.tar.gz: db331f9b4b318670ecec4209193083a3208ece28
3
+ metadata.gz: 016c2b8a2e9cf6a2746c887299f776c81859f0b4
4
+ data.tar.gz: 5edfbd704d5c52207b1ef2006b6ff76cb1867898
5
5
  SHA512:
6
- metadata.gz: 40e81ca16be5a039e4dd156bc4e3d2df884764e08fd31c29769b7f16e1672242557747c8f9718966a2ed152100bdf6240bb01f70775c5d18787987c296dc1f46
7
- data.tar.gz: a1956901a2fb1f61e8be4531e4724c4ff87950c5f676c53755dbf4fcdfa46b2a6798053c6fede629ffcb7e042e84c40745010a531d737e08ba24123e3b5b102d
6
+ metadata.gz: e68c181c9d4f4441fa0ea3a2da00a7fa2b0f5c833b811078c5dacf5bc0f8eaf10cc978437936ddf5a4661c4b1504dfab2101a3a332649d063440a600f3353422
7
+ data.tar.gz: 849ed7fddb6872451ba0f3af54e0afee30dca10709a36aa07501b65eb835ddb4dad19d8c586e1387f07f8ab88e7597b1e9772289fb88ef37deca58e6c27a2441
@@ -1,4 +1,5 @@
1
1
  require 'ancestry'
2
+ require 'railtie' if defined?(Rails)
2
3
 
3
4
  Ancestry::InstanceMethods.module_eval do
4
5
  def sibling_count
metadata CHANGED
@@ -1,17 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ancestry_direct_children
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - A. Felipe Cabargas
8
+ - Bernardo Machuca
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2018-08-08 00:00:00.000000000 Z
12
+ date: 2018-08-10 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description: Adds direct children count to ancestry models
14
- email: felipe@ipsumapp.co
15
+ email:
16
+ - felipe@ipsumapp.co
17
+ - bernardo@ipsumapp.co
15
18
  executables: []
16
19
  extensions: []
17
20
  extra_rdoc_files: []
@@ -37,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
37
40
  version: '0'
38
41
  requirements: []
39
42
  rubyforge_project:
40
- rubygems_version: 2.6.11
43
+ rubygems_version: 2.6.14
41
44
  signing_key:
42
45
  specification_version: 4
43
46
  summary: Ancestry Direct Children