cli-mastermind 1.1.2 → 1.2.0
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/cli/mastermind/user_interface.rb +3 -3
- data/lib/cli/mastermind/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 661c3f66382c7e6fb62eb1c01c265c93fe2e62b45340307c6912e8618621026f
|
|
4
|
+
data.tar.gz: 775edbb8a13283c46a91bdbc7698e3e322aa9022b29285ada8e5d56884b855b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8b725781d38d56a9153f1d4bbb4216dffcca02c69a8bb19296218543c1e790bc7f9f11159012bc3a673d75ef8c83b2639536704daee65404c20e9bab04c51bd
|
|
7
|
+
data.tar.gz: 1a267b4f96d51da4a02ac6044b330fc8b2f97cc8d87066e650e3578b44afd4f1cb2f427b6ab0719c17919507166a28d4cd15abf2679b7f40cebce1d3bd863b3d
|
|
@@ -46,11 +46,11 @@ module CLI::Mastermind::UserInterface
|
|
|
46
46
|
CLI::UI.fmt string
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
# Opens a CLI::UI frame with the given +
|
|
49
|
+
# Opens a CLI::UI frame with the given +args+
|
|
50
50
|
# @see https://github.com/Shopify/cli-ui#nested-framing
|
|
51
|
-
def frame(
|
|
51
|
+
def frame(*args)
|
|
52
52
|
return yield unless ui_enabled?
|
|
53
|
-
CLI::UI::Frame.open(
|
|
53
|
+
CLI::UI::Frame.open(*args) { yield }
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
# Ask the user for some text.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cli-mastermind
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Hall
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cli-ui
|