lolitra 0.1.0b → 0.1.0c

Sign up to get free protection for your applications and to get access to all the features.
@@ -201,7 +201,10 @@ module Lolitra
201
201
  end
202
202
 
203
203
  def initialize(hash={})
204
- hash.each { |key, value| self.send("#{MessageHandler::Helpers.underscore(key)}=", value) }
204
+ hash.each { |key, value|
205
+ method = "#{MessageHandler::Helpers.underscore(key)}="
206
+ self.send(method, value) if self.respond_to?(method)
207
+ }
205
208
  end
206
209
 
207
210
  def to_hash
@@ -1,3 +1,3 @@
1
1
  module Lolitra
2
- VERSION = "0.1.0b"
2
+ VERSION = "0.1.0c"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0b
9
- version: 0.1.0b
8
+ - 0c
9
+ version: 0.1.0c
10
10
  platform: ruby
11
11
  authors:
12
12
  - Hugo Freire
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2013-07-23 00:00:00 +02:00
17
+ date: 2014-06-17 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency