dreck 0.0.3 → 0.0.4
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 +4 -4
- data/lib/dreck.rb +1 -1
- data/lib/dreck/exceptions.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50f32193f86f5b00b6d9a76ee3ff5e88108d60b9
|
4
|
+
data.tar.gz: 7a272d6f3e0178929973d3f1fc7cf8d3c8a84240
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1658a420eebf35e0c52a053aa422b743ca92564c6ad4e85fcd52740175173c9aeaeaa70808d38e83a901ffaec8c3bc8ff731ad64faed81ef4e696cecef0bae4c
|
7
|
+
data.tar.gz: e2dbfdf5b22e7b285d28f8570b8b9c270ccc2cf14639c0e7d202aff6e573d72839009599d1e287caa9d3cb7f8327a808f80a9cba8ead523a8aa6eb23ab474ae4
|
data/lib/dreck.rb
CHANGED
@@ -5,7 +5,7 @@ require_relative "dreck/result"
|
|
5
5
|
# The primary namespace for {Dreck}.
|
6
6
|
module Dreck
|
7
7
|
# {Dreck}'s current version.
|
8
|
-
VERSION = "0.0.
|
8
|
+
VERSION = "0.0.4"
|
9
9
|
|
10
10
|
# Parse the given arguments and produce a result.
|
11
11
|
# @param args [Array<String>] the arguments to parse
|
data/lib/dreck/exceptions.rb
CHANGED
@@ -9,7 +9,7 @@ module Dreck
|
|
9
9
|
# or are insufficient to populate the expected results.
|
10
10
|
class AbsorptionError < DreckError
|
11
11
|
def initialize(actual, expected)
|
12
|
-
nmany = actual > expected ? "too
|
12
|
+
nmany = actual > expected ? "too few" : "too many"
|
13
13
|
super "#{nmany} arguments given (#{actual}, expected #{expected})"
|
14
14
|
end
|
15
15
|
end
|