musix_match 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/musix_match/models/model.rb +1 -1
  2. metadata +3 -3
@@ -27,7 +27,7 @@ module MusixMatch
27
27
  initialize_method = Proc.new do |*params|
28
28
  model_params = params.first || {}
29
29
  attributes.each do |attribute|
30
- instance_variable_set("@#{attribute}", model_params.delete(attribute.to_s))
30
+ instance_variable_set("@#{attribute}", model_params[attribute.to_s])
31
31
  end
32
32
  end
33
33
  base.send(:define_method, :initialize, &initialize_method)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 11
9
- version: 0.1.11
8
+ - 12
9
+ version: 0.1.12
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andrea Franz
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-07 00:00:00 +01:00
17
+ date: 2011-01-08 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency