delegate_associations 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/delegate_associations.gemspec +1 -1
- data/lib/delegate_associations.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22ccbcdafc0f4379a1a417536d79c064593591bc
|
4
|
+
data.tar.gz: 16f7e0d12d5b677624ae7e0351f16471aae63e7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5f8833dad08cfc2cdffe854eb2816fce31b8938a2381bc0619ad66e5201f50ca325ba69ca3f24237e0fb952124f8b78578581df7669258623c90119e89fa434
|
7
|
+
data.tar.gz: a1ac3a821bc4164e6d35d8c515e59f07feb61774bbc58562440544c1ee3a8592baa2402ace3e31d4a67a7cd6427580225c8ad91d0e9b64c84d07a1ea7fbda11c
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "delegate_associations"
|
3
|
-
s.version = "0.1.
|
3
|
+
s.version = "0.1.1"
|
4
4
|
s.description = "A gem for delegate attributes and associations of belongs_to and has_one"
|
5
5
|
s.summary = "A gem for delegate attributes and associations of belongs_to and has_one"
|
6
6
|
s.homepage = "https://github.com/Brunomm/delegate_associations"
|
@@ -48,7 +48,6 @@ module DelegateAssociations
|
|
48
48
|
|
49
49
|
associations.each do |association|
|
50
50
|
get_deletage_methods(reflect_on_association(association).klass.column_names, exept, only).each do |attribute|
|
51
|
-
puts "#{options[:suffix]}"
|
52
51
|
options[:suffix].each do |sf|
|
53
52
|
delegate "#{attribute}#{sf}", to: association, allow_nil: options[:allow_nil]
|
54
53
|
end
|