mm_eager_includer 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGNkMGFmNzY2ZjFmMDI1YjA3YzhkNmI5NTk0Y2E4Mzg4YTk0YTBkYg==
4
+ YmYxZGE3OWFjNWQ4YzFlYjUzYWMxNzJkZmExMmExM2Y3NjIzZDFkNQ==
5
5
  data.tar.gz: !binary |-
6
- ODY2YTdlY2YwMGE4MTk4Y2EzMGU4ZmM1MjI3MTY4MjRlNDZmNzY2Yw==
6
+ ZGU3NmMyMjMyYWFiNWI4N2UzOGY4NzI5OTJiMWQ4ZGNkOGEzODI4Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2NhNmI1NjRhZjc3NzUwM2ZhOGU4NTIzMDMxNjE0YTRiNWY1ZjNlMmY3MmM3
10
- YTZjNGU5MzMyMTFkYjU2YjBmNjBjOGFlNWRmMDQ1MzhmNTA5N2QxYzA0NTA3
11
- ZDI0ZDBjMmRiYmZhYjk0YmZjZjIxYWUwMjgyMDlmZDE3MWU1OTA=
9
+ OGZmNzcwNzYwZWQ5NzdhZTU2YzlhMGFkMGNmN2NlMDQzNGQ3MTVhNjE5NDNm
10
+ MDk0MTZhNmQ2ZTJkZDdiMTY1ODFhNWExN2VmY2NiZmYxYjZlYjNlYjdhZGUy
11
+ NmQwMTE3OTkxMjljNmMyNTJkMDczZDQxNDgwNTczZTRkYzRhY2Y=
12
12
  data.tar.gz: !binary |-
13
- NjVkMmY1NTI2YjFjYWVhOTQ1ZTdmMzk3MGE5NDNiZDlkNTA2MDU5NTU1YzA4
14
- YTQyNzMyY2ZkNDdjMjcxM2RkNGExMTZkZmE1YTc5OTM5Mzg5NjZhODg3OGI4
15
- YTkzNzY3YWQ2YmUwZGY1ODYyYmM5MWQ4ZDJlNzE4NWM0YzFiMWQ=
13
+ NWQ0YzY5NjU3MDM4NDVjMTUwZjVlYzc1ZGVmOGJkNGZjODgwZDQ4ZWY1Mzlk
14
+ YTAzMWI0ZmM1MDZhNTE1NjJhODQ3MmFiNDY1MjcxMTViMGY1OTg2N2E5NGY3
15
+ OWViZmVhNWY0YmU5ODc0MjczNzkxMjhjMTdjZmViZjc3ZjM2ZjM=
@@ -37,6 +37,8 @@ class MongoMapper::EagerIncluder
37
37
  end
38
38
 
39
39
  def initialize(record_or_records, association_name)
40
+ association_name = association_name.to_sym
41
+
40
42
  @records = Array(record_or_records)
41
43
 
42
44
  if @records.length == 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mm_eager_includer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Taylor
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-22 00:00:00.000000000 Z
12
+ date: 2015-05-05 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Eager include associations with mongo mapper
15
15
  email: scott@railsnewbie.com
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
38
38
  version: '0'
39
39
  requirements: []
40
40
  rubyforge_project:
41
- rubygems_version: 2.2.2
41
+ rubygems_version: 2.4.5
42
42
  signing_key:
43
43
  specification_version: 4
44
44
  summary: Eager include associations with mongo mapper