mongocore 0.1.5.1 → 0.1.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6fe535047cb379a759c98be8828bc50080e77f7
4
- data.tar.gz: e82f913a97873248c3bc875f86b00fd851b12744
3
+ metadata.gz: 8406e027e9d11ccad7906264efe1f10de042a595
4
+ data.tar.gz: aa82f4b6c183fa2b9e438d345c0729094cc822f5
5
5
  SHA512:
6
- metadata.gz: e2113422f03564f7b2dde9bd5c5f68ea5c7589f02b2a84c8dd8396cee47eae9c6dcb59a2d041d30416dd880ec550009092f182bed6842e18d0bdeb89442711c7
7
- data.tar.gz: 845d796fafe391b450cf16299b45e362b4292ee04cb5b6d9fc7a5c9afd9c5c37d510f7f7b91d88ea1f3b664cebd1da8b0bed2afcf79ba3712ed8add3553a0b2c
6
+ metadata.gz: b27b7636d13fc80b9eea72d25ae6c70147d88171c600e409323ce869de7d092d49cad1c3f1ade2c743cc889bd54780b1282750832591f90fdbab47803ed7abc9
7
+ data.tar.gz: c6cc32012de6d4050509a337bc8a997d88f7209321c910ee5d220f264e4c92562f141451586ad8cf7640975fe57e0af62877264072ee10993ae6569c323fb567
data/lib/mongocore.rb CHANGED
@@ -7,7 +7,7 @@ require 'mongo'
7
7
  require 'request_store'
8
8
 
9
9
  module Mongocore
10
- VERSION = '0.1.5.1'
10
+ VERSION = '0.1.5.2'
11
11
 
12
12
  # # # # # #
13
13
  # Mongocore Ruby Database Driver.
@@ -121,7 +121,7 @@ module Mongocore
121
121
 
122
122
  # Set the attributes
123
123
  def attributes=(a)
124
- a.each{|k, v| write!(k, v)}
124
+ a.deep_symbolize_keys.each{|k, v| write(k, v)}
125
125
  end
126
126
 
127
127
  # Changed?
data/mongocore.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'mongocore'
3
- s.version = '0.1.5.1'
3
+ s.version = '0.1.5.2'
4
4
  s.date = '2017-10-17'
5
5
  s.summary = "MongoDB ORM implementation on top of the Ruby MongoDB driver"
6
6
  s.description = "Does validations, associations, scopes, filters, pagination, counter cache, request cache, and nested queries. Using a YAML schema file, which supports default values, data types, and security levels for each key."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongocore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.1
4
+ version: 0.1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fugroup Limited