softwear-lib 1.8.6 → 1.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/softwear/auth/belongs_to_user.rb +5 -0
- data/lib/softwear/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 037cd66b38cce9aebcf38513e00e025ada62a060
|
4
|
+
data.tar.gz: 3b78b9405c19f8802c57907edbbd229f84f410ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/softwear/lib/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|