groupify 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/groupify/adapter/mongoid/group.rb +1 -1
- data/lib/groupify/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f88acd3be5c8900aa35d7f0d7f1a86c2443dfcf
|
4
|
+
data.tar.gz: 5aa05e78a95816fe5c56673cb1dad8ead865090a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9ed6a4b163849098b3b54f2347e22494521c4c2073cc0013e445503ff66e807eeca113d27247b83b9d9f0f1d8f745599e345dc36e6163950555a1453b4c51f2
|
7
|
+
data.tar.gz: b098c8c0cc68cbfa5e024b52422020f53b8a7c2639bf22987f8933cd2e9bb098e02bc567d1b922211d9074af7ee07f0762ce8f3f57aaf20b96cc70bf9030d764
|
@@ -136,7 +136,7 @@ module Groupify
|
|
136
136
|
end
|
137
137
|
|
138
138
|
def associate_member_class(member_klass)
|
139
|
-
|
139
|
+
association_name ||= member_klass.model_name.plural.to_sym
|
140
140
|
|
141
141
|
has_many association_name, class_name: member_klass.to_s, dependent: :nullify, foreign_key: 'group_ids', extend: MemberAssociationExtensions
|
142
142
|
|
data/lib/groupify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groupify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dwbutler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.
|
158
|
+
rubygems_version: 2.2.2
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Group functionality for Rails
|