coaster 0.1.11 → 0.1.12

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: 8e6695119e11a9649bb02cce8944dcb0a1015e4a
4
- data.tar.gz: 3dd32a20091525012006087ce11cc254e056e1cd
3
+ metadata.gz: 4b7a56ad07bcd0e1be8ff7b59be16c53fabab62d
4
+ data.tar.gz: 1706f4445e275ede16063f839e7dc1cd38ecfb2b
5
5
  SHA512:
6
- metadata.gz: 0e3c686ee18bdf2ebc6d648e7e13aef49be5a5d534ff647f23e672fa82976c6b7594323708e54bb17cbcdcf552824ef0e09c02c1257630cb7acc22d7bbb38626
7
- data.tar.gz: 882f0c7a2718beb129e430c673a0b86fc98caef89898d2f83571e4a153f84cfd18a35f09fee892782f7bd1eabef39c3d15769e7a4167f3b5c003341f2909799e
6
+ metadata.gz: 8b8536ff661548e55d58c95c730299248903fbd6365e289e18c6956c3a1576c4aef609fceac388303cf4b4a5197107f1bb25d30d22b8f8bcd4f60f5a4090d6f1
7
+ data.tar.gz: 9383a57e597fbb38d9e5385211a8d54c02924ee9d1c21f7f8850d8d6674afbb08ea6d44c8efe17d8a2f0989a05e6c08cb2480128ee6e9db3703e5a46ecca2ee2
@@ -73,6 +73,7 @@ class StandardError
73
73
  end
74
74
 
75
75
  def attributes
76
+ @attributes ||= HashWithIndifferentAccess.new
76
77
  if cause && cause.respond_to?(:attributes) && cause.attributes.is_a?(Hash)
77
78
  cause.attributes.merge(@attributes)
78
79
  else
@@ -1,3 +1,3 @@
1
1
  module Coaster
2
- VERSION = '0.1.11'
2
+ VERSION = '0.1.12'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - buzz jung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-07 00:00:00.000000000 Z
11
+ date: 2016-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n