mandrill_queue 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d993b06e898d362091d06fa0f88ee77fb673ed23
4
- data.tar.gz: eb07b2ff7184d9a1bd2cbd4ed056dae0e3c7e48b
3
+ metadata.gz: 533afd454d3a459b5a13435f3b0c5b7d6d778486
4
+ data.tar.gz: ae8115f48616a5a8c7a6d39ba4ab7251cbce720f
5
5
  SHA512:
6
- metadata.gz: 0fbfa2ab1329e10b0ea7de4153b7553cac82020cf60bca7a0d5c4317916eafb3418864f3ca4ce71a86d9001e2d25a70196299847e9ca8101ea31655b6358ddfe
7
- data.tar.gz: b2399bd63cad7a6eb5bdafe57c8c9355f7e11904c2b5320dd1daeb35eb3de0cb553772e05de48c7bcb093c5fcb7dcae29c3124f517e6d5c52096b16a48233427
6
+ metadata.gz: d923091292b37cfaf5c3ad7b16524a813ac6e1c8cb45055de2d7a52fd6dc4853dc83248c89206fa5ea0443c392108b06e2722521d95966a2da49d447d2e32424
7
+ data.tar.gz: acde437acfcdb1bf6fc79f36352dd69d91e493812e6182aebd55e0eea76fa4e191087ffedb553900b8b2ef7fbc0a8262d9045b73a818158e491865360cff2caf
@@ -34,7 +34,7 @@ module MandrillQueue
34
34
  ]
35
35
 
36
36
  def initialize(values = nil)
37
- set!(values) unless values.nil?
37
+ set!(values) unless values.nil?
38
38
  end
39
39
 
40
40
  ACCESSORS.each do |method|
@@ -64,7 +64,7 @@ module MandrillQueue
64
64
 
65
65
  def set!(values)
66
66
  nillify!
67
- values.symbolize_keys!
67
+ values.to_hash.symbolize_keys!
68
68
  transform_accessors! { |k| values[k] }
69
69
 
70
70
  EXTERNAL_ACCESSORS.each do |key|
@@ -63,7 +63,7 @@ module MandrillQueue
63
63
  def set!(hash, options = {})
64
64
  case hash
65
65
  when Hash
66
- @_variables = hash.symbolize_keys
66
+ @_variables = hash.to_hash.symbolize_keys
67
67
  when Array
68
68
  options[:name_key] ||= :name
69
69
  options[:content_key] ||= :content
@@ -1,3 +1,3 @@
1
1
  module MandrillQueue
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandrill_queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Bondi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-01 00:00:00.000000000 Z
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport