ddd-associations 0.0.1 → 0.0.2

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.
@@ -65,7 +65,7 @@ module DDD
65
65
 
66
66
  def new(*args)
67
67
  super(*args).tap do |instance|
68
- instance.instance_variable_set("@#{@others}", @collection.new(instance))
68
+ instance.instance_variable_set("@#{@others}", @collection.new(instance)) if @collection
69
69
  end
70
70
  end
71
71
  end
@@ -1,5 +1,5 @@
1
1
  module DDD
2
2
  module Associations
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddd-associations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-22 00:00:00.000000000 Z
12
+ date: 2012-10-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -88,3 +88,4 @@ signing_key:
88
88
  specification_version: 3
89
89
  summary: DDD Associations
90
90
  test_files: []
91
+ has_rdoc: