cli_miami 1.0.10.pre → 2.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +175 -44
- data/lib/cli_miami.rb +11 -10
- data/lib/cli_miami/error.rb +1 -1
- data/lib/cli_miami/metadata.rb +2 -2
- data/lib/cli_miami/say.rb +9 -8
- data/spec/fixtures/i18n.yml +5 -1
- data/spec/lib/cli_miami/error_spec.rb +1 -1
- data/spec/spec_helper.rb +3 -2
- metadata +49 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7de605bacb237ef651cea61f1379f0926e9ba766
|
4
|
+
data.tar.gz: 5444c029627276796187d75149b78bd0070ed383
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 992140c26ada9a61508082b5aa88a99e20763078c255be4ad14ef4768a80f24c7a84293e9e00be241034cb4859e69259754d0673b7cb621dc72cc12010517ff2
|
7
|
+
data.tar.gz: 17cd92be02807fa74e80d5ac4e73d8c26a983bccd2222ecbe349331370845412e5d98e101fabcddd8c10d801f6782b11f0d8fe363d06bfbf6bd9a3ea1e348f51
|
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -1,18 +1,23 @@
|
|
1
1
|
[![gem version](https://badge.fury.io/rb/cli_miami.svg)](https://badge.fury.io/rb/cli_miami)
|
2
|
-
[![dependencies](https://gemnasium.com/brewster1134/
|
3
|
-
[![docs](http://inch-ci.org/github/brewster1134/
|
4
|
-
[![build](https://travis-ci.org/brewster1134/
|
5
|
-
[![coverage](https://coveralls.io/repos/brewster1134/
|
6
|
-
[![code climate](https://codeclimate.com/github/brewster1134/
|
7
|
-
[![omniref](https://www.omniref.com/github/brewster1134/CLI-Miami.png)](https://www.omniref.com/github/brewster1134/CLI-Miami)
|
2
|
+
[![dependencies](https://gemnasium.com/brewster1134/cli_miami.svg)](https://gemnasium.com/brewster1134/cli_miami)
|
3
|
+
[![docs](http://inch-ci.org/github/brewster1134/cli_miami.svg?branch=master)](http://inch-ci.org/github/brewster1134/cli_miami)
|
4
|
+
[![build](https://travis-ci.org/brewster1134/cli_miami.svg?branch=master)](https://travis-ci.org/brewster1134/cli_miami)
|
5
|
+
[![coverage](https://coveralls.io/repos/brewster1134/cli_miami/badge.svg?branch=master)](https://coveralls.io/r/brewster1134/cli_miami?branch=master)
|
6
|
+
[![code climate](https://codeclimate.com/github/brewster1134/cli_miami/badges/gpa.svg)](https://codeclimate.com/github/brewster1134/cli_miami)
|
8
7
|
|
9
8
|
# CLI Miami
|
10
|
-
A feature
|
9
|
+
###### A colorful & feature-rich alternative to gets & puts for your command line app
|
10
|
+
---
|
11
11
|
|
12
|
+
Build a rich command line experience for your app. CLI Miami lets you easily display clear & colorful information to your user, and prompting your user to enter information with a clear and concise approach. Easily request arrays, hashes, booleans, integers, floats, ranges, symbols, and even multiple choice. Additionally provide validation rules like minimum and maximum length, or regexp matching.
|
13
|
+
|
14
|
+
---
|
15
|
+
#### Install
|
12
16
|
```shell
|
13
17
|
gem install cli_miami
|
14
18
|
```
|
15
19
|
|
20
|
+
---
|
16
21
|
_Gemfile_
|
17
22
|
```ruby
|
18
23
|
# For the name-spaced methods CliMiami::A.sk & CliMiami::S.ay...
|
@@ -23,70 +28,196 @@ gem 'cli_miami', require: 'cli_miami/global'
|
|
23
28
|
```
|
24
29
|
|
25
30
|
#### S.ay
|
26
|
-
|
27
|
-
|
31
|
+
###### Display information to the user
|
32
|
+
---
|
33
|
+
|
34
|
+
###### `S.ay` accepts a string as the first argument for the text to show, followed by a variety of styling options
|
35
|
+
_* see Styling Options below_
|
28
36
|
|
29
37
|
```ruby
|
30
|
-
S.ay 'Hello World', :
|
38
|
+
S.ay 'Hello World', color: :red
|
31
39
|
```
|
32
40
|
|
33
|
-
|
41
|
+
If you want to mix styles on a single line, you can set newline to false
|
34
42
|
|
35
|
-
The multi-line way using `:newline => false`
|
36
43
|
```ruby
|
37
|
-
S.ay 'Hello ', :
|
38
|
-
S.ay 'World', :
|
44
|
+
S.ay 'Hello ', color: :red, newline: false
|
45
|
+
S.ay 'World', color: :blue
|
39
46
|
```
|
40
47
|
|
41
|
-
|
48
|
+
#### A.sk
|
49
|
+
###### Request information from the user
|
50
|
+
---
|
51
|
+
|
52
|
+
###### `A.sk` accepts the same styling options as `S.ay`
|
53
|
+
_* see Styling Options below_
|
54
|
+
|
55
|
+
There are 2 ways to handle the user's response.
|
56
|
+
|
42
57
|
```ruby
|
43
|
-
|
58
|
+
# passing the response to a block...
|
59
|
+
A.sk 'What is your name?', color: :yellow do |response|
|
60
|
+
S.ay "Hello #{response}!", style: :bold
|
61
|
+
end
|
62
|
+
|
63
|
+
# returning the response through the `value` method
|
64
|
+
response = A.sk 'What is your name?', color: :yellow
|
65
|
+
S.ay "Hello #{response.value}!", style: :bold
|
44
66
|
```
|
45
67
|
|
46
|
-
|
47
|
-
`A.sk` accepts the same arguments as `S.say`, with additional support for a block that passes the users response
|
68
|
+
###### `A.sk` accepts an additional :type option for requesting specific values
|
48
69
|
|
49
70
|
```ruby
|
50
|
-
A.sk 'What is your
|
51
|
-
S.ay "#{response} smells!", :style => :bold
|
52
|
-
end
|
71
|
+
A.sk 'What is your age?', type: :number
|
53
72
|
```
|
54
73
|
|
55
|
-
#### Options
|
56
|
-
Both `S.ay` and `A.sk` suport the same options
|
74
|
+
#### Type Options
|
57
75
|
|
58
76
|
```ruby
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
77
|
+
:array
|
78
|
+
:list # Prompt for multiple responses for a single request
|
79
|
+
|
80
|
+
:boolean # Prompt for true/false response
|
81
|
+
|
82
|
+
:dir
|
83
|
+
:directory
|
84
|
+
:file
|
85
|
+
:folder
|
86
|
+
:path # Prompt for a local directory path
|
87
|
+
|
88
|
+
:fixnum
|
89
|
+
:integer
|
90
|
+
:number # Prompt for an integer
|
91
|
+
|
92
|
+
:float # Prompt for a decimal
|
93
|
+
|
94
|
+
:multiple_choice # Prompt for values from a defined list of choices (see Validation Options below)
|
95
|
+
|
96
|
+
:hash
|
97
|
+
:object # Prompt for key/value pairs
|
98
|
+
|
99
|
+
:range # Prompt for a beginning and end numerical values
|
100
|
+
|
101
|
+
:string # Prompt for text
|
102
|
+
|
103
|
+
:symbol # Prompt for text that can convert to a proper ruby symbol
|
104
|
+
```
|
105
|
+
|
106
|
+
###### `A.sk` accepts additional validation options to further refine the user's response
|
107
|
+
_* validation options vary depending on the :type_
|
108
|
+
|
109
|
+
```ruby
|
110
|
+
A.sk 'What is your age?', type: :number, min: 18, max: 99
|
111
|
+
```
|
112
|
+
|
113
|
+
#### Validation Options
|
114
|
+
|
115
|
+
```ruby
|
116
|
+
:array
|
117
|
+
:list
|
118
|
+
:min # The least amount of responses allowed
|
119
|
+
:max # The most amount of responses allowed
|
120
|
+
:value_options # An optional hash of Type Options & Validation Options to be applied to each response
|
121
|
+
|
122
|
+
:boolean
|
123
|
+
'true'
|
124
|
+
't'
|
125
|
+
'yes'
|
126
|
+
'y' # The allowed values to represent `true`
|
127
|
+
|
128
|
+
'false'
|
129
|
+
'f'
|
130
|
+
'no'
|
131
|
+
'n' # The allowed values to represent `false`
|
132
|
+
|
133
|
+
:dir
|
134
|
+
:directory
|
135
|
+
:file
|
136
|
+
:folder
|
137
|
+
:path # Must be a valid, existing path to a local file or folder
|
138
|
+
|
139
|
+
:fixnum
|
140
|
+
:float
|
141
|
+
:integer
|
142
|
+
:number
|
143
|
+
:min # The lowest numerical value allowed
|
144
|
+
:max # The highest numerical value allowed
|
145
|
+
|
146
|
+
:multiple_choice
|
147
|
+
:choices # An Array or Hash of allowed values to choose from
|
148
|
+
# ['option 1', 'option 2', 'option 3']
|
149
|
+
# { one: 'option 1', two: 'option 2', three: 'option 3' }
|
150
|
+
:min # The least amount of responses allowed
|
151
|
+
:max # The most amount of responses allowed
|
152
|
+
|
153
|
+
:hash
|
154
|
+
:object
|
155
|
+
:keys # An Array of keys that require a response
|
156
|
+
:min # The least amount of key/value responses allowed
|
157
|
+
:max # The most amount of key/value responses allowed
|
158
|
+
:value_options # An optional hash of Type Options & Validation Options to be applied to each response value
|
159
|
+
|
160
|
+
:range
|
161
|
+
:min # The smallest range of numerical values allowed
|
162
|
+
:max # The largest range of numerical values allowed
|
163
|
+
|
164
|
+
:string
|
165
|
+
:min # The least amount of characters allowed
|
166
|
+
:max # The most amount of characters allowed
|
167
|
+
:regexp # A regular expression the response must match
|
168
|
+
|
169
|
+
:symbol
|
170
|
+
:min # The least amount of characters allowed
|
171
|
+
:max # The most amount of characters allowed
|
172
|
+
:regexp # A regular expression the response must match
|
173
|
+
```
|
174
|
+
|
175
|
+
#### Styling Options
|
176
|
+
Both `S.ay` and `A.sk` suport the same styling options
|
177
|
+
|
178
|
+
```ruby
|
179
|
+
color: [symbol] # See ansi color codes below
|
180
|
+
bgcolor: [symbol] # See ansi color codes below
|
181
|
+
style: [symbol] # See ansi style codes below. Can accept multiple styles as an array
|
182
|
+
justify: [center|left|right] # The type of justification to use
|
183
|
+
padding: [integer] # The maximum string size to justify text in
|
184
|
+
indent: [integer] # The number of characters to indent
|
185
|
+
newline: [boolean] # Set to true if you want a newline after the output
|
67
186
|
```
|
68
187
|
|
69
188
|
###### ANSI Color Codes
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
189
|
+
|
190
|
+
```ruby
|
191
|
+
:black
|
192
|
+
:red
|
193
|
+
:green
|
194
|
+
:yellow
|
195
|
+
:blue
|
196
|
+
:magenta
|
197
|
+
:cyan
|
198
|
+
:white
|
199
|
+
```
|
78
200
|
|
79
201
|
###### ANSI Style Codes
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
202
|
+
|
203
|
+
```ruby
|
204
|
+
:bold
|
205
|
+
:bright
|
206
|
+
:underline
|
207
|
+
:negative # Swap foreground color with background color
|
208
|
+
```
|
84
209
|
|
85
210
|
### Development & Testing
|
86
211
|
|
87
212
|
```shell
|
88
|
-
|
213
|
+
# clone repo
|
214
|
+
git clone https://github.com/brewster1134/cli_miami.git
|
215
|
+
cd cli_miami
|
216
|
+
|
217
|
+
# install dependencies
|
89
218
|
bundle install
|
219
|
+
|
220
|
+
# run watcher for linting and tests
|
90
221
|
bundle exec guard
|
91
222
|
```
|
92
223
|
|
data/lib/cli_miami.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
#
|
2
|
-
# load dependencies
|
1
|
+
# Load dependencies
|
3
2
|
#
|
4
3
|
require 'active_support/core_ext/hash/conversions'
|
5
4
|
require 'active_support/core_ext/hash/keys'
|
@@ -7,7 +6,7 @@ require 'active_support/core_ext/string/inflections'
|
|
7
6
|
require 'i18n'
|
8
7
|
require 'readline'
|
9
8
|
|
10
|
-
#
|
9
|
+
# Add custom Hash methods
|
11
10
|
#
|
12
11
|
class Hash
|
13
12
|
def to_cli_miami_string
|
@@ -17,7 +16,7 @@ class Hash
|
|
17
16
|
end
|
18
17
|
end
|
19
18
|
|
20
|
-
#
|
19
|
+
# Add custom String methods
|
21
20
|
#
|
22
21
|
class String
|
23
22
|
def method_missing method, *args
|
@@ -39,17 +38,18 @@ class String
|
|
39
38
|
end
|
40
39
|
end
|
41
40
|
|
42
|
-
#
|
41
|
+
# I18n
|
43
42
|
#
|
44
|
-
I18n.load_path += Dir[
|
43
|
+
I18n.load_path += Dir[File.expand_path(File.join('i18n', '*.yml'))]
|
44
|
+
I18n.locale = ENV['LANG'].split('.').first.downcase
|
45
45
|
I18n.reload!
|
46
46
|
|
47
|
-
#
|
47
|
+
# Readline
|
48
48
|
#
|
49
49
|
Readline.completion_append_character = '/'
|
50
50
|
|
51
|
-
#
|
52
|
-
#
|
51
|
+
# Creates Boolean type that true/false inherit
|
52
|
+
# This allows true/false to respond to a single Boolean class to check for
|
53
53
|
#
|
54
54
|
# rubocop:disable Style/Documentation
|
55
55
|
module Boolean; end
|
@@ -57,7 +57,7 @@ class TrueClass; include Boolean; end
|
|
57
57
|
class FalseClass; include Boolean; end
|
58
58
|
# rubocop:enable Style/Documentation
|
59
59
|
|
60
|
-
#
|
60
|
+
# Create Cli Miami namespace and load library
|
61
61
|
#
|
62
62
|
module CliMiami
|
63
63
|
BOOLEAN_TRUE_VALUES = %w(true t yes y).freeze
|
@@ -202,6 +202,7 @@ module CliMiami
|
|
202
202
|
end
|
203
203
|
end
|
204
204
|
|
205
|
+
# Load Cli Miami library
|
205
206
|
require 'cli_miami/ask'
|
206
207
|
require 'cli_miami/error'
|
207
208
|
require 'cli_miami/metadata'
|
data/lib/cli_miami/error.rb
CHANGED
data/lib/cli_miami/metadata.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
module CliMiami
|
2
|
-
VERSION = '
|
3
|
-
SUMMARY = 'A feature
|
2
|
+
VERSION = '2.0.0.pre'.freeze
|
3
|
+
SUMMARY = 'A colorful & feature-rich alternative to gets & puts for your command line app'.freeze
|
4
4
|
end
|
data/lib/cli_miami/say.rb
CHANGED
@@ -12,19 +12,20 @@ class CliMiami::S
|
|
12
12
|
# S.ay API method
|
13
13
|
#
|
14
14
|
# @param options [Symbol or Hash] options can be preset symbol, or a hash of options.
|
15
|
+
# @todo overwrite is unpublished and beta. it has issues under certain use cases
|
15
16
|
#
|
16
17
|
# By preset [Symbol[...
|
17
18
|
# [symbol] Uses defined preset name
|
18
19
|
#
|
19
20
|
# By options [Hash]...
|
20
|
-
# color:
|
21
|
-
# bgcolor:
|
22
|
-
# style:
|
23
|
-
# justify:
|
24
|
-
# padding:
|
25
|
-
# indent:
|
26
|
-
# newline:
|
27
|
-
# overwrite:
|
21
|
+
# color: [symbol] See README for ansi color codes
|
22
|
+
# bgcolor: [symbol] See README for ansi color codes
|
23
|
+
# style: [symbol] See README for ansi style codes
|
24
|
+
# justify: [center|left|right] The type of justification to use
|
25
|
+
# padding: [integer] The maximum string size to justify text in
|
26
|
+
# indent: [integer] The number of characters to indent
|
27
|
+
# newline: [boolean] True if you want a newline after the output
|
28
|
+
# overwrite: [boolean] True if you want the next line to overwrite the current line
|
28
29
|
#
|
29
30
|
# @return
|
30
31
|
#
|
data/spec/fixtures/i18n.yml
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
require 'coveralls'
|
2
2
|
Coveralls.wear!
|
3
3
|
require 'cli_miami'
|
4
|
-
require 'i18n'
|
5
4
|
|
6
|
-
I18n.load_path
|
5
|
+
I18n.load_path << File.expand_path(File.join('spec', 'fixtures', 'i18n.yml'))
|
6
|
+
I18n.reload!
|
7
|
+
I18n.locale = 'spec'
|
7
8
|
|
8
9
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
9
10
|
RSpec.configure do |config|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cli_miami
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Brewster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -28,112 +28,126 @@ dependencies:
|
|
28
28
|
name: i18n
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rb-readline
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: recursive-open-struct
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: thor
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '0'
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: coveralls
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: guard
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- -
|
101
|
+
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
103
|
version: '0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: guard-bundler
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ">="
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- -
|
122
|
+
- - ">="
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: guard-rubocop
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- -
|
129
|
+
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
131
|
version: '0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- -
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: guard-rspec
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- -
|
143
|
+
- - ">="
|
130
144
|
- !ruby/object:Gem::Version
|
131
145
|
version: '0'
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- -
|
150
|
+
- - ">="
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
@@ -154,14 +168,14 @@ dependencies:
|
|
154
168
|
name: rspec
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
|
-
- -
|
171
|
+
- - ">="
|
158
172
|
- !ruby/object:Gem::Version
|
159
173
|
version: '0'
|
160
174
|
type: :development
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
|
-
- -
|
178
|
+
- - ">="
|
165
179
|
- !ruby/object:Gem::Version
|
166
180
|
version: '0'
|
167
181
|
- !ruby/object:Gem::Dependency
|
@@ -182,28 +196,28 @@ dependencies:
|
|
182
196
|
name: terminal-notifier
|
183
197
|
requirement: !ruby/object:Gem::Requirement
|
184
198
|
requirements:
|
185
|
-
- -
|
199
|
+
- - ">="
|
186
200
|
- !ruby/object:Gem::Version
|
187
201
|
version: '0'
|
188
202
|
type: :development
|
189
203
|
prerelease: false
|
190
204
|
version_requirements: !ruby/object:Gem::Requirement
|
191
205
|
requirements:
|
192
|
-
- -
|
206
|
+
- - ">="
|
193
207
|
- !ruby/object:Gem::Version
|
194
208
|
version: '0'
|
195
209
|
- !ruby/object:Gem::Dependency
|
196
210
|
name: terminal-notifier-guard
|
197
211
|
requirement: !ruby/object:Gem::Requirement
|
198
212
|
requirements:
|
199
|
-
- -
|
213
|
+
- - ">="
|
200
214
|
- !ruby/object:Gem::Version
|
201
215
|
version: '0'
|
202
216
|
type: :development
|
203
217
|
prerelease: false
|
204
218
|
version_requirements: !ruby/object:Gem::Requirement
|
205
219
|
requirements:
|
206
|
-
- -
|
220
|
+
- - ">="
|
207
221
|
- !ruby/object:Gem::Version
|
208
222
|
version: '0'
|
209
223
|
description:
|
@@ -212,6 +226,7 @@ executables: []
|
|
212
226
|
extensions: []
|
213
227
|
extra_rdoc_files: []
|
214
228
|
files:
|
229
|
+
- CHANGELOG.md
|
215
230
|
- README.md
|
216
231
|
- i18n/en.yml
|
217
232
|
- lib/cli_miami.rb
|
@@ -228,7 +243,7 @@ files:
|
|
228
243
|
- spec/lib/cli_miami/validation_spec.rb
|
229
244
|
- spec/lib/cli_miami_spec.rb
|
230
245
|
- spec/spec_helper.rb
|
231
|
-
homepage: https://github.com/brewster1134/
|
246
|
+
homepage: https://github.com/brewster1134/cli_miami
|
232
247
|
licenses:
|
233
248
|
- WTFPL
|
234
249
|
metadata: {}
|
@@ -238,25 +253,26 @@ require_paths:
|
|
238
253
|
- lib
|
239
254
|
required_ruby_version: !ruby/object:Gem::Requirement
|
240
255
|
requirements:
|
241
|
-
- -
|
256
|
+
- - ">="
|
242
257
|
- !ruby/object:Gem::Version
|
243
258
|
version: 2.0.0p247
|
244
259
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
245
260
|
requirements:
|
246
|
-
- -
|
261
|
+
- - ">"
|
247
262
|
- !ruby/object:Gem::Version
|
248
263
|
version: 1.3.1
|
249
264
|
requirements: []
|
250
265
|
rubyforge_project:
|
251
|
-
rubygems_version: 2.6.
|
266
|
+
rubygems_version: 2.6.6
|
252
267
|
signing_key:
|
253
268
|
specification_version: 4
|
254
|
-
summary: A feature
|
269
|
+
summary: A colorful & feature-rich alternative to gets & puts for your command line
|
270
|
+
app
|
255
271
|
test_files:
|
256
|
-
- spec/
|
257
|
-
- spec/lib/cli_miami/ask_spec.rb
|
258
|
-
- spec/lib/cli_miami/error_spec.rb
|
272
|
+
- spec/lib/cli_miami_spec.rb
|
259
273
|
- spec/lib/cli_miami/say_spec.rb
|
274
|
+
- spec/lib/cli_miami/error_spec.rb
|
275
|
+
- spec/lib/cli_miami/ask_spec.rb
|
260
276
|
- spec/lib/cli_miami/validation_spec.rb
|
261
|
-
- spec/
|
277
|
+
- spec/fixtures/i18n.yml
|
262
278
|
- spec/spec_helper.rb
|