coaster 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coaster/core_ext/standard_error.rb +4 -4
- data/lib/coaster/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 918a85bbbc648cbf7916416c5cb6547c60933f2f
|
4
|
+
data.tar.gz: 6324a9dc65d8e1d58114c924993b049f77ad6b61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c938784571f3b9b3a9b5fff356487dc748b04af567810979acc2ac7065c361f9f11f5d78e955b2be9c937a20eac22aa81cd34399f85b2fce09733f766d7de4f3
|
7
|
+
data.tar.gz: 0a43a2a7f20ff87ea562d5f867468720eda20a4d30c043668b32c4a5853a5bd48f05c56749b4916a9fe7e52de69107a83479b81353ebf84fa62cc1959b152a7b
|
@@ -78,12 +78,12 @@ class StandardError
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def attributes
|
81
|
-
@attributes
|
81
|
+
return @attributes if defined?(@attributes)
|
82
|
+
@attributes = HashWithIndifferentAccess.new
|
82
83
|
if cause && cause.respond_to?(:attributes) && cause.attributes.is_a?(Hash)
|
83
|
-
|
84
|
-
else
|
85
|
-
@attributes
|
84
|
+
@attributes = @attributes.merge(cause.attributes)
|
86
85
|
end
|
86
|
+
@attributes
|
87
87
|
end
|
88
88
|
alias_method :attr, :attributes
|
89
89
|
|
data/lib/coaster/version.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- buzz jung
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -68,14 +68,14 @@ dependencies:
|
|
68
68
|
name: attr_extras
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - "
|
71
|
+
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '0'
|
74
74
|
type: :runtime
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - "
|
78
|
+
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
81
|
- !ruby/object:Gem::Dependency
|