softwear-lib 1.8.6 → 1.8.7

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: 6cb3780d4d6c6f6f76f66cd1c44bba64c44abe4b
4
- data.tar.gz: d03c878e349fc7dbe96babd04c0fdceccbdebed5
3
+ metadata.gz: 037cd66b38cce9aebcf38513e00e025ada62a060
4
+ data.tar.gz: 3b78b9405c19f8802c57907edbbd229f84f410ab
5
5
  SHA512:
6
- metadata.gz: 95208a77b99f5b8629e9e3b3221d1fa6326a11f302a50cad9da1bdd960ed24a91d0d2927acfd3eca84b0adb33fe4d9c7754005b926b89c4abdb60eb57886eb01
7
- data.tar.gz: 3034f8d991490d07061a718746e1e55d04d0f8069c79cc41a95e77b254fd0d5a5a90fddb898b263e9e004c1c86f1816a1c3421f4d9bc81a4763a1d64a3bff9a7
6
+ metadata.gz: b6e103581eb0ab382b463fca9aa8e29378e49a34a3e96e88dc91c9d380e753e7e0999cb31fdb6215a43de4193aa976d06652218dc7744727f9a510d15b32bf28
7
+ data.tar.gz: 6ca4660924a00b22f4a0265d5e200764de77ff93efec98cdabb8a677c503ae25a5f6c4ee22b418edcc087e76cc70fb680109d3fbb6114786972cb60575231dc0
@@ -22,6 +22,9 @@ module Softwear
22
22
  end
23
23
  RUBY
24
24
 
25
+ self.user_associations ||= []
26
+ user_associations << name.to_sym
27
+
25
28
  send(:include, association_methods)
26
29
  end
27
30
 
@@ -32,6 +35,8 @@ module Softwear
32
35
 
33
36
  included do
34
37
  extend ClassMethods
38
+
39
+ attr_accessor :user_associations
35
40
  end
36
41
  end
37
42
  end
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.8.6"
3
+ VERSION = "1.8.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softwear-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.6
4
+ version: 1.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-03 00:00:00.000000000 Z
11
+ date: 2016-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler