hashie-model 1.3.5 → 1.3.6
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/hashie-model.gemspec +2 -2
- data/lib/hashie_model/version.rb +1 -1
- data/vendor/hashie2/lib/hashie2/dash.rb +1 -1
- metadata +3 -3
data/hashie-model.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "hashie-model"
|
|
8
|
-
s.version = "1.3.
|
|
8
|
+
s.version = "1.3.6"
|
|
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"]
|
|
12
|
-
s.date = "2012-06-
|
|
12
|
+
s.date = "2012-06-13"
|
|
13
13
|
s.description = "Hashie2 + ActiveModel 3, offering declared properties, validations, JSON serialization/deserialization"
|
|
14
14
|
s.email = "istvan@zencash.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/hashie_model/version.rb
CHANGED
|
@@ -141,7 +141,7 @@ module Hashie2
|
|
|
141
141
|
end
|
|
142
142
|
|
|
143
143
|
def assert_property_required!(property, value)
|
|
144
|
-
if self.class.required?(property)
|
|
144
|
+
if value.nil? && self.class.required?(property)
|
|
145
145
|
raise ArgumentError, "The property '#{property}' is required for this Dash."
|
|
146
146
|
end
|
|
147
147
|
end
|
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.
|
|
4
|
+
version: 1.3.6
|
|
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-06-
|
|
12
|
+
date: 2012-06-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: yajl-ruby
|
|
@@ -252,7 +252,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
252
252
|
version: '0'
|
|
253
253
|
segments:
|
|
254
254
|
- 0
|
|
255
|
-
hash: -
|
|
255
|
+
hash: -2423514273021828725
|
|
256
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
257
|
none: false
|
|
258
258
|
requirements:
|