grand_central 0.3.2 → 0.3.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76ffc003a882d9517bc8a5bef9c247614650064f
4
- data.tar.gz: 75bdc84cb5f679678c8d7294067f0fb839bc5457
3
+ metadata.gz: a9e3e025cca4929bf9470cf1b23b12e6f65620bf
4
+ data.tar.gz: 6c5d0cfc19ca3839a152ced449b7a61a4cccbe71
5
5
  SHA512:
6
- metadata.gz: f4a0666100ad12f5f0afc96796e20f81b75c44f60dbf8f10f5b964a1c69a4f53f4da32b12b4f77efb81d8cfb226b58312bfddcb98e94c80c30d611a36ab7e985
7
- data.tar.gz: 22614d2b3fdaf563dc4a4f4296fd6de9e4c63ae94e1d01388e5e30f18c2319cb00dab7e791451ca2f9a32a2d10a3ac1f8d0ef3df3740d8ab52697e2e5578d937
6
+ metadata.gz: d0c0af0cf9865619dc17e02581286a314d1f635132e2d45a17efd69b2a1fa0d3386ad41259d897b1a451e5b938cd4ef6b5f6b1765597325e257582cbbb9953cb
7
+ data.tar.gz: a748b3a1d8d7c204134efdadf7fa3c0938bbf390fa5727e65c087a89b238bc1aabbe7d9f3a233754000b5ea7907a3e81eccbad9b43186595e9b430c0d63429a4
@@ -18,7 +18,8 @@ module GrandCentral
18
18
  end
19
19
 
20
20
  self.class.attributes.each do |attr|
21
- instance_variable_set "@#{attr}", attributes[attr]
21
+ value = attributes[attr] || attributes[attr.to_s]
22
+ instance_variable_set "@#{attr}", value
22
23
  end
23
24
  end
24
25
 
@@ -1,3 +1,3 @@
1
1
  module GrandCentral
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grand_central
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Gaskins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-20 00:00:00.000000000 Z
11
+ date: 2016-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler