dry-core 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/dry/core/class_attributes.rb +1 -1
- data/lib/dry/core/errors.rb +7 -1
- data/lib/dry/core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d16ed519d450263269a0b138f5f687e02632137
|
4
|
+
data.tar.gz: 5908543ec0bedb6a3a10662d20745471094ce47b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea7bcbce1621103c644229a644423c833b3ed09c281644eacece3de9623555bbfce89a2662c55c667d8be70889c9cb598456c7832879ae64b4af5d56360afc3d
|
7
|
+
data.tar.gz: 782d803b352387825005a0ebecddb1a3570b0ee2a40f1fbe63a7c63da10e8eafa2362256defadf1445a015b6197e3d02d0855365205207851a4b3e1d1c3af29b
|
data/CHANGELOG.md
CHANGED
data/lib/dry/core/errors.rb
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
module Dry
|
2
2
|
module Core
|
3
|
-
InvalidClassAttributeValue
|
3
|
+
class InvalidClassAttributeValue < StandardError
|
4
|
+
def initialize(name, value)
|
5
|
+
super(
|
6
|
+
"Value #{value.inspect} is invalid for class attribute #{name.inspect}"
|
7
|
+
)
|
8
|
+
end
|
9
|
+
end
|
4
10
|
end
|
5
11
|
end
|
data/lib/dry/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Shilnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|