hashie-model 1.3.6 → 1.3.7

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/README.md CHANGED
@@ -1,3 +1,11 @@
1
1
  # Hashie Model
2
2
 
3
+ Hashie + ActiveModel 3.x
4
+
5
+ # Contributors
6
+
7
+ * [Istvan Hoka](https://github.com/ihoka)
8
+ * [Florin Oltean](https://github.com/florin555)
9
+ * [Erik Reedstrom](https://github.com/erikreedstrom)
10
+
3
11
  © 2011 Doublewide Partners I, LLC
data/hashie-model.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "hashie-model"
8
- s.version = "1.3.6"
8
+ s.version = "1.3.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["ZenCash.com"]
@@ -18,7 +18,9 @@ module HashieModel
18
18
  end
19
19
 
20
20
  property(name, options)
21
-
21
+
22
+ self.superclass.key_coercions.each_pair { |key, into| coerce_key(key, into) }
23
+
22
24
  if type
23
25
  coerce_key(name.to_sym, type)
24
26
  coerce_key(name.to_s, type)
@@ -2,7 +2,7 @@ module HashieModel
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 3
5
- PATCH = 6
5
+ PATCH = 7
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashie-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -252,7 +252,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
252
  version: '0'
253
253
  segments:
254
254
  - 0
255
- hash: -2423514273021828725
255
+ hash: 272974214280045199
256
256
  required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  none: false
258
258
  requirements: