dorian-progress 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/dorian/progress.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e1d6b4a7119ff70b65ce7a4ff5b655d4424e60b6f26401699bf620f1a0bb4d8
|
4
|
+
data.tar.gz: c40bfbdba513354b6bcbcf2c1b23ee4fe53a5f2a30e8b1eb6862526adea58e28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e787ee415dae2fe4467709f1165500ada2e153f7c2f6662e712f6f3a22c59f4231c840ed8f862b60277000d9177466a2c5ff2c92aad6c953deaf3e9fc1eba95
|
7
|
+
data.tar.gz: b266a0106389351d857e47f5a72497fdcda7bef9ca5989d3aa6e35a42e65a45ec5531ab0021ffb8b3ae892d81dc70f821edc9d2d7208160c1058287e3a037532
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/lib/dorian/progress.rb
CHANGED
@@ -7,8 +7,8 @@ class Dorian
|
|
7
7
|
minimal: nil
|
8
8
|
}
|
9
9
|
|
10
|
-
def self.create(total: nil, format:
|
11
|
-
format = FORMATS.fetch(format.to_sym) if format
|
10
|
+
def self.create(total: nil, format: nil, output: nil)
|
11
|
+
format = FORMATS.fetch((format || :full).to_sym) if format
|
12
12
|
ProgressBar.create(total:, format:, output:)
|
13
13
|
end
|
14
14
|
end
|