ecm_contact 1.0.0.pre → 1.0.1.pre

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.
@@ -1,5 +1,6 @@
1
1
  require 'active_support/core_ext/module/delegation'
2
2
  require 'active_support/core_ext/module/attribute_accessors'
3
+ require 'active_support/hash_with_indifferent_access'
3
4
 
4
5
  module Ecm
5
6
  module Contact
@@ -10,6 +11,10 @@ module Ecm
10
11
 
11
12
  mattr_accessor :recipients
12
13
  @@recipients = {}
14
+
15
+ def recipients=(recipients)
16
+ @@recipients = HashWithIndifferentAccess.new(recipients)
17
+ end
13
18
  end
14
19
  end
15
20
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Contact
3
- VERSION = '1.0.0.pre'
3
+ VERSION = '1.0.1.pre'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_contact
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961915988
4
+ hash: 961915984
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
9
+ - 1
10
10
  - pre
11
- version: 1.0.0.pre
11
+ version: 1.0.1.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Roberto Vasquez Angel