xommelier 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Xommelier
2
- VERSION = '0.1.12'
2
+ VERSION = '0.1.13'
3
3
  end
@@ -29,11 +29,11 @@ module Xommelier
29
29
  @errors = []
30
30
 
31
31
  self.class.attributes.each do |name, options|
32
- send("#{name}=", options[:default]) if options[:default]
32
+ send("#{name}=", options[:default]) if options.key?(:default)
33
33
  end
34
34
 
35
35
  self.class.elements.each do |name, options|
36
- send("#{name}=", options[:default]) if options[:default]
36
+ send("#{name}=", options[:default]) if options.key?(:default)
37
37
  end
38
38
 
39
39
  case contents
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xommelier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
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-04-03 00:00:00.000000000 Z
12
+ date: 2012-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -141,15 +141,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
141
  - - ! '>='
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
+ segments:
145
+ - 0
146
+ hash: 2291260915163081162
144
147
  required_rubygems_version: !ruby/object:Gem::Requirement
145
148
  none: false
146
149
  requirements:
147
150
  - - ! '>='
148
151
  - !ruby/object:Gem::Version
149
152
  version: '0'
153
+ segments:
154
+ - 0
155
+ hash: 2291260915163081162
150
156
  requirements: []
151
157
  rubyforge_project: xommelier
152
- rubygems_version: 1.8.21
158
+ rubygems_version: 1.8.23
153
159
  signing_key:
154
160
  specification_version: 3
155
161
  summary: Xommelier is an XML Sommelier