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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e28de731b20b14d2a2a7e3342eca480bdcb51a27673fdc0bbca96236dfdb7e8
4
- data.tar.gz: 5324237b18f71dac50685cac1433153095583b21c3018237813bb47c78850a93
3
+ metadata.gz: 661c3f66382c7e6fb62eb1c01c265c93fe2e62b45340307c6912e8618621026f
4
+ data.tar.gz: 775edbb8a13283c46a91bdbc7698e3e322aa9022b29285ada8e5d56884b855b0
5
5
  SHA512:
6
- metadata.gz: e9f48f8b19ac88d014bb62f467d2b07834580ed52f6a56afe448527c2a01cee7407d95a0c9b0d2e1cc15b7b54bdb62f6b7d85a9e28352a67b9a8d765c4c10ffe
7
- data.tar.gz: 16a87da03975921364c30627b74267c96e3a973646a1fb8639b79ed53011b1f2c74a83f0ac910aa7df8ec640f253df3a7ed2787ca43628364a23ba0e0fa4db3f
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 +title+
49
+ # Opens a CLI::UI frame with the given +args+
50
50
  # @see https://github.com/Shopify/cli-ui#nested-framing
51
- def frame(title)
51
+ def frame(*args)
52
52
  return yield unless ui_enabled?
53
- CLI::UI::Frame.open(title) { yield }
53
+ CLI::UI::Frame.open(*args) { yield }
54
54
  end
55
55
 
56
56
  # Ask the user for some text.
@@ -7,8 +7,8 @@ module CLI
7
7
 
8
8
  module VERSION
9
9
  RELEASE = 1
10
- MAJOR = 1
11
- MINOR = 2
10
+ MAJOR = 2
11
+ MINOR = 0
12
12
  PATCH = nil
13
13
 
14
14
  STRING = [RELEASE, MAJOR, MINOR, PATCH].compact.join('.').freeze
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.1.2
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-05 00:00:00.000000000 Z
11
+ date: 2019-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cli-ui