mongoid_silo 0.1.0 → 0.1.1

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.
data/.rspec CHANGED
@@ -1,5 +1,3 @@
1
1
  --color
2
- --require rspec/instafail
3
- --format RSpec::Instafail
4
2
  --fail-fast
5
3
  --drb
@@ -12,11 +12,9 @@ module MongoidSilo
12
12
  end
13
13
 
14
14
  def generate
15
- out = {}
16
- object.attribute_names.each do |attribute|
15
+ object.attribute_names.each_with_object({}) do |attribute, out|
17
16
  out[attribute] = object.send(attribute) unless ["_type", "_id"].include?(attribute)
18
17
  end
19
- out
20
18
  end
21
19
  end
22
20
  end
@@ -1,3 +1,3 @@
1
1
  module MongoidSilo
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_silo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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: 2013-01-04 00:00:00.000000000 Z
12
+ date: 2013-01-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport