tty 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ec0c23df4a798a97577d58b7abf0d31d2b81e0b
4
- data.tar.gz: d47bc04c0179a27a56ef396325b3a10a1bc6399d
3
+ metadata.gz: a92c35291f001ae9302c715d57a2c3a0e68dae17
4
+ data.tar.gz: 93d98c1471a3e71606157c6e77e2c6a817e21ad6
5
5
  SHA512:
6
- metadata.gz: ea0097b23532a7dd13aba1e9bd242a3bae21417e2f664306439da6346f9c8e6d4097520994c82fa418dc0a3cb8ff8fd70a75bc3f90475c9e1f4ee008c78c4220
7
- data.tar.gz: ba2c92a97d316a8a348a1a1c0a305227ec4bc362422f26124f1e1067474c063bb588f42173f296b17c8c35758f7c8f393ebe8ec8253d2a4e2a399ff7dd2302bc
6
+ metadata.gz: 17b9679e802d3cd57ba10e2a29ab154f025f4518b77a17adecee98beb2f54c44bc06fa21e21d89a8033b1a89a34011b6b65211d049e1dc3f3c45ed11acf56315
7
+ data.tar.gz: ba23a3f3329d1146effbe955dce9ba3e7773515d7b00d4c33d37dad7812103ff7e52c5f4ac2a9f10708be5a895e69516d6771e9399883b70aeafd3bfec55ff5d
@@ -1,4 +1,7 @@
1
+ ---
1
2
  language: ruby
3
+ sudo: false
4
+ cache: bundler
2
5
  bundler_args: --without yard guard benchmarks
3
6
  script: "bundle exec rake ci"
4
7
  rvm:
@@ -6,6 +9,7 @@ rvm:
6
9
  - 2.0
7
10
  - 2.1
8
11
  - 2.2
12
+ - 2.3.0
9
13
  - ruby-head
10
14
  - rbx-2
11
15
  - jruby-19mode
@@ -18,3 +22,5 @@ matrix:
18
22
  fast_finish: true
19
23
  branches:
20
24
  only: master
25
+ notifications:
26
+ email: false
@@ -1,53 +1,90 @@
1
- 0.3.2 (Nov 28, 2015)
1
+ # Change log
2
2
 
3
+ ## [v0.4.0] - 2016-02-13
4
+
5
+ ### Added
6
+ * Add tty-color dependency
7
+
8
+ ### Changed
9
+ * Update dependencies
10
+
11
+ ## [v0.3.2] - 2015-11-28
12
+
13
+ ### Added
3
14
  * Add tty-cursor as a dependency
15
+
16
+ ### Changed
4
17
  * Remove necromancer dependency
5
18
 
6
- 0.3.1 (Nov 25, 2015)
19
+ ## [v0.3.1] - 2015-11-25
7
20
 
21
+ ### Added
8
22
  * Add tty-prompt as actual dependency
9
23
 
10
- 0.3.0 (Nov 24, 2015)
24
+ ## [v0.3.0] - 2015-11-24
11
25
 
26
+ ### Changed
12
27
  * Extract prompting for user input as dependency on tty-prompt
13
28
  * Extract terminal mode
14
29
  * Remove support utils
15
30
  * Update dependencies to latest
16
31
  * Change home directory implementation
17
32
 
18
- 0.2.1 (Sept 20, 2015)
33
+ ## [v0.2.1] -2015-09-20
19
34
 
20
35
  * Update dependencies to latest versions
21
36
 
22
- 0.2.0 (July 6, 2015)
37
+ ## [v0.2.0] - 2015-07-06
23
38
 
39
+ ### Changed
24
40
  * Extract platform detection as dependency on tty-platform
25
41
  * Extract terminal output paging as dependency on tty-pager
26
42
  * Extract which command as dependency on tty-which
27
43
 
28
- 0.1.3 (April 3, 2015)
44
+ ## [v0.1.3] - 2015-04-03
29
45
 
46
+ ### Added
30
47
  * Add table rendering as dependency on tty-table
48
+
49
+ ### Changed
31
50
  * Update tty-progressbar dependency
32
51
 
33
- 0.1.2 (December 14, 2014)
52
+ ## [0.1.2] - 2014-12-14
34
53
 
54
+ ### Added
35
55
  * Add Necromancer for type conversions
36
- * Remove type conversions
37
56
  * Add read_keypress call by @janko-m
38
57
  * Add raw mode by @janko-m
39
58
 
40
- 0.1.1 (November 23, 2014)
59
+ ### Changed
60
+ * Remove type conversions
61
+
62
+ ## [v0.1.1] - 2014-11-23
41
63
 
64
+ ### Added
42
65
  * Add TTY::ProgressBar
43
66
  * Add TTY::Spinner
67
+
68
+ ### Changed
44
69
  * Remove TTY::Terminal::Color and replace with Pastel
45
70
  * Change to depend on Equatable library
46
71
  * Change to depend on TTY::Screen library for screen size detection
47
72
 
48
- 0.1.0 (21 September, 2014)
73
+ ## [v0.1.0] - 2014-09-21
49
74
 
75
+ ### Changed
50
76
  * Simplify development dependency mangement
51
77
  * Update test suite to the latest RSpec
52
78
  * Improve method documentation across library
53
79
  * Semantic changes across library to improve code readability
80
+
81
+ [v0.4.0]: https://github.com/peter-murach/tty/compare/v0.3.2...v0.4.0
82
+ [v0.3.2]: https://github.com/peter-murach/tty/compare/v0.3.1...v0.3.2
83
+ [v0.3.1]: https://github.com/peter-murach/tty/compare/v0.3.0...v0.3.1
84
+ [v0.3.0]: https://github.com/peter-murach/tty/compare/v0.2.1...v0.3.0
85
+ [v0.2.1]: https://github.com/peter-murach/tty/compare/v0.2.0...v0.2.1
86
+ [v0.2.0]: https://github.com/peter-murach/tty/compare/v0.1.3...v0.2.0
87
+ [v0.1.3]: https://github.com/peter-murach/tty/compare/v0.1.2...v0.1.3
88
+ [v0.1.2]: https://github.com/peter-murach/tty/compare/v0.1.1...v0.1.2
89
+ [v0.1.1]: https://github.com/peter-murach/tty/compare/v0.1.0...v0.1.1
90
+ [v0.1.0]: https://github.com/peter-murach/tty/compare/v0.0.9...v0.1.0
data/Gemfile CHANGED
@@ -3,8 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development do
6
- gem 'rake', '~> 10.4.2'
7
- gem 'rspec', '~> 3.2.0'
6
+ gem 'rspec', '~> 3.4.0'
8
7
  gem 'yard', '~> 0.8.7'
9
8
  gem 'timecop', '~> 0.7.1'
10
9
  end
data/README.md CHANGED
@@ -60,21 +60,40 @@ Or install it yourself as:
60
60
  ## Contents
61
61
 
62
62
  * [1. Overview](#1-overview)
63
- * [2. Drawing tables](#2-drawing-tables)
64
- * [3. Drawing progress bars](#3-drawing-progress-bars)
65
- * [4. Drawing spinners](#4-drawing-spinners)
66
- * [5. Prompting for input](#5-prompting-for-input)
63
+ * [2. Prompting for input](#2-prompting-for-input)
64
+ * [3. Drawing tables](#3-drawing-tables)
65
+ * [4. Drawing progress bars](#4-drawing-progress-bars)
66
+ * [5. Drawing spinners](#5-drawing-spinners)
67
67
  * [6. Output coloring](#6-output-coloring)
68
68
  * [7. Output paging](#7-output-paging)
69
69
  * [8. Detecting screen properties](#8-detecting-screen-properties)
70
70
  * [9. Detecting platform](#9-detecting-platform)
71
- * [10. Searching executables](#10-searching-executables)
72
- * [11. Setting editor](#11-setting-editor)
71
+ * [10. Detecting color capabilities](#10-detecting-color-capabilities)
72
+ * [11. Searching executables](#11-searching-executables)
73
+ * [12. Moving cursor](#12-moving-cursor)
74
+ * [13. Setting editor](#13-setting-editor)
73
75
 
74
76
  ## 1. Overview
75
77
 
76
78
  **TTY** provides you with many tools to get the job done in terminal.
77
79
 
80
+ To ask for user input use `TTY::Prompt`:
81
+
82
+ ```ruby
83
+ prompt = TTY::Prompt.new
84
+ prompt.yes?('Do you like Ruby?')
85
+ # => Do you like Ruby? (Y/n)
86
+
87
+ # or ask to select from list
88
+
89
+ prompt.select("Choose your destiny?", %w(Scorpion Kano Jax))
90
+ # =>
91
+ # Choose your destiny? (Use arrow keys, press Enter to select)
92
+ # ‣ Scorpion
93
+ # Kano
94
+ # Jax
95
+ ```
96
+
78
97
  To print tabular output use `TTY::Table`:
79
98
 
80
99
  ```ruby
@@ -84,13 +103,6 @@ table.to_s
84
103
  b1 b2 b3
85
104
  ```
86
105
 
87
- To colorize your strings use `Pastel`:
88
-
89
- ```ruby
90
- pastel = Pastel.new
91
- pastel.green.on_red.bold('Piotr')
92
- ```
93
-
94
106
  To create a progress bar use `TTY::ProgressBar`:
95
107
 
96
108
  ```ruby
@@ -105,6 +117,20 @@ spinner = TTY::Spinner.new('Loading ... ', format: :spin_2)
105
117
  30.times { spinner.spin }
106
118
  ```
107
119
 
120
+ To colorize your strings use `Pastel`:
121
+
122
+ ```ruby
123
+ pastel = Pastel.new
124
+ pastel.green.on_red.bold('Piotr')
125
+ ```
126
+
127
+ To page very long input use `TTY::Pager`:
128
+
129
+ ```ruby
130
+ pager = TTY::Pager.new
131
+ pager.page('Very long text...')
132
+ ```
133
+
108
134
  To measure screen size use `TTY::Screen`:
109
135
 
110
136
  ```ruby
@@ -114,22 +140,31 @@ screen.width # => 280
114
140
  screen.height # => 51
115
141
  ```
116
142
 
117
- To ask for user input use `TTY::Prompt`:
143
+ `TTY::Color` allows you to check if terminal supports color:
118
144
 
119
145
  ```ruby
120
- prompt = TTY::Prompt.new
121
- prompt.ask('Do you like Ruby?', type: :bool) # => true
146
+ TTY::Color.supports? # => true
147
+ TTY::Color.mode # => 64
148
+ ```
122
149
 
123
- # or ask to select from list
150
+ To move cursor around the terminal use `TTY::Cursor`:
124
151
 
125
- prompt.select("Choose your destiny?", %w(Scorpion Kano Jax))
126
- # =>
127
- # Choose your destiny? (Use arrow keys, press Enter to select)
128
- # ‣ Scorpion
129
- # Kano
130
- # Jax
152
+ ```ruby
153
+ cursor = TTY::Cursor
154
+ print cursor.up(5) + cursor.forward(2)
131
155
  ```
132
156
 
157
+ ## 2. Prompting for input
158
+
159
+ **TTY** relies on [tty-prompt](https://github.com/peter-murach/tty-prompt#ttyprompt) component for processing user input.
160
+
161
+ ```ruby
162
+ prompt.ask('What is your name?', default: ENV['USER'])
163
+ # => What is your name? (piotr)
164
+ ```
165
+
166
+ Please refer to [documentation](https://github.com/peter-murach/tty-prompt#contents) for complete API.
167
+
133
168
  ## 2. Drawing tables
134
169
 
135
170
  **TTY** uses the [tty-table](https://github.com/peter-murach/tty-table) component in order to convert data into table and render as string output in tabular form. For example, to render data with ASCII border:
@@ -172,27 +207,17 @@ spinner = TTY::Spinner.new('Loading ... ', format: :spin_2)
172
207
 
173
208
  Please refer to [documentation](https://github.com/peter-murach/tty-spinner) for complete API.
174
209
 
175
- ## 5. Prompting for input
176
-
177
- **TTY** relies on [tty-prompt](https://github.com/peter-murach/tty-prompt#ttyprompt) component for processing user input.
178
-
179
- ```ruby
180
- prompt = TTY::Prompt.new
181
- prompt.ask('Do you like Ruby?').read_bool # => true
182
- ```
183
-
184
- Please refer to [documentation](https://github.com/peter-murach/tty-prompt#ttyprompt) for complete API.
185
210
 
186
211
  ## 6. Output coloring
187
212
 
188
- In order to colorize your output **TTY** uses the [pastel](https://github.com/peter-murach/pastel) component like so:
213
+ In order to colorize strings, **TTY** uses the [pastel](https://github.com/peter-murach/pastel) component:
189
214
 
190
215
  ```ruby
191
216
  pastel = Pastel.new
192
217
  pastel.red.on_green.bold 'text...' # => red bold text on green background
193
218
  ```
194
219
 
195
- Please refer to [documentation](https://github.com/peter-murach/pastel) for complete API.
220
+ Please refer to [documentation](https://github.com/peter-murach/pastel#contents) for complete API.
196
221
 
197
222
  ## 7. Output paging
198
223
 
@@ -242,7 +267,18 @@ TTY::Platform.windows? # => false
242
267
 
243
268
  Please refer to [documentation](https://github.com/peter-murach/tty-platform) for complete API.
244
269
 
245
- ## 10. Searching executables
270
+ ## 10. Detecting color capabilities
271
+
272
+ [tty-color](https://github.com/peter-murach/tty-color) component allows **TTY** detect color support and mode in terminal emulator:
273
+
274
+ ```ruby
275
+ TTY::Color.supports? # => true
276
+ TTY::Color.mode # => 64
277
+ ```
278
+
279
+ Please refer to [documentation](https://github.com/peter-murach/tty-color) for complete API.
280
+
281
+ ## 11. Searching executables
246
282
 
247
283
  To find executable path **TTY** uses [tty-which](https://github.com/peter-murach/tty-which#ttywhich) component.
248
284
 
@@ -252,11 +288,22 @@ For instance, to find out if `less` utility is actually supported by the system
252
288
  TTY::Which.which('less') # => '/usr/bin/less'
253
289
  ```
254
290
 
255
- Please refer to [documentation](https://github.com/peter-murach/tty-which) for complete API.
291
+ Please refer to [documentation](https://github.com/peter-murach/tty-which#ttywhich) for complete API.
292
+
293
+ ## 12. Moving cursor
294
+
295
+ To perform terminal cursor movements use [tty-cursor](https://github.com/peter-murach/tty-cursor#ttycursor) component.
296
+
297
+ For example, to move cursor up by 5 rows and forward by 2 columns:
298
+
299
+ ```ruby
300
+ cursor = TTY::Cursor
301
+ print cursor.up(5) + cursor.forward(2)
302
+ ```
256
303
 
257
- ## 11. Setting editor
304
+ Please refer to [documentation](https://github.com/peter-murach/tty-cursor#contents) for complete API.
258
305
 
259
- To set preferred editor you can either use shell environment variables such as `EDITOR` and `VISUAL` or set the command(s) manually like so
306
+ ## 13. Setting editor
260
307
 
261
308
  ```ruby
262
309
  TTY::System.editor.command('vim')
@@ -278,4 +325,4 @@ TTY::System.editor.open('file path...')
278
325
 
279
326
  ## Copyright
280
327
 
281
- Copyright (c) 2012-2015 Piotr Murach. See LICENSE for further details.
328
+ Copyright (c) 2012-2016 Piotr Murach. See LICENSE for further details.
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module TTY
4
- VERSION = "0.3.2"
4
+ VERSION = "0.4.0"
5
5
  end # TTY
@@ -3,31 +3,33 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'tty/version'
5
5
 
6
- Gem::Specification.new do |gem|
7
- gem.name = "tty"
8
- gem.version = TTY::VERSION
9
- gem.authors = ["Piotr Murach"]
10
- gem.email = [""]
11
- gem.description = %q{A toolbox for developing beautiful command line clients.}
12
- gem.summary = %q{A toolbox for developing beautiful command line clients. It provides a fluid interface for gathering input from the user, querying system and terminal and displaying information back.}
13
- gem.homepage = 'http://peter-murach.github.io/tty/'
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "tty"
8
+ spec.version = TTY::VERSION
9
+ spec.authors = ["Piotr Murach"]
10
+ spec.email = [""]
11
+ spec.description = %q{A toolbox for developing beautiful command line clients.}
12
+ spec.summary = %q{A toolbox for developing beautiful command line clients. It provides a fluid interface for gathering input from the user, querying system and terminal and displaying information back.}
13
+ spec.homepage = 'http://peter-murach.github.io/tty/'
14
14
 
15
- gem.files = `git ls-files`.split($/)
16
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
- gem.require_paths = ["lib"]
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'tty-cursor', '~> 0.1.0'
21
- gem.add_dependency 'tty-pager', '~> 0.3.0'
22
- gem.add_dependency 'tty-platform', '~> 0.1.0'
23
- gem.add_dependency 'tty-progressbar', '~> 0.7.0'
24
- gem.add_dependency 'tty-prompt', '~> 0.2.0'
25
- gem.add_dependency 'tty-screen', '~> 0.4.0'
26
- gem.add_dependency 'tty-spinner', '~> 0.1.0'
27
- gem.add_dependency 'tty-table', '~> 0.4.0'
28
- gem.add_dependency 'tty-which', '~> 0.1.0'
29
- gem.add_dependency 'equatable', '~> 0.5.0'
30
- gem.add_dependency 'pastel', '~> 0.5.1'
20
+ spec.add_dependency 'tty-color', '~> 0.3.0'
21
+ spec.add_dependency 'tty-cursor', '~> 0.2.0'
22
+ spec.add_dependency 'tty-pager', '~> 0.4.0'
23
+ spec.add_dependency 'tty-platform', '~> 0.1.0'
24
+ spec.add_dependency 'tty-progressbar', '~> 0.8.0'
25
+ spec.add_dependency 'tty-prompt', '~> 0.4.0'
26
+ spec.add_dependency 'tty-screen', '~> 0.5.0'
27
+ spec.add_dependency 'tty-spinner', '~> 0.1.0'
28
+ spec.add_dependency 'tty-table', '~> 0.5.0'
29
+ spec.add_dependency 'tty-which', '~> 0.1.0'
30
+ spec.add_dependency 'equatable', '~> 0.5.0'
31
+ spec.add_dependency 'pastel', '~> 0.6.0'
31
32
 
32
- gem.add_development_dependency 'bundler', '~> 1.5'
33
+ spec.add_development_dependency 'bundler', '>= 1.5.0', '< 2.0'
34
+ spec.add_development_dependency 'rake'
33
35
  end
metadata CHANGED
@@ -1,43 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-28 00:00:00.000000000 Z
11
+ date: 2016-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tty-color
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 0.3.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 0.3.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: tty-cursor
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - ~>
18
32
  - !ruby/object:Gem::Version
19
- version: 0.1.0
33
+ version: 0.2.0
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - ~>
25
39
  - !ruby/object:Gem::Version
26
- version: 0.1.0
40
+ version: 0.2.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: tty-pager
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - ~>
32
46
  - !ruby/object:Gem::Version
33
- version: 0.3.0
47
+ version: 0.4.0
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - ~>
39
53
  - !ruby/object:Gem::Version
40
- version: 0.3.0
54
+ version: 0.4.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: tty-platform
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -58,42 +72,42 @@ dependencies:
58
72
  requirements:
59
73
  - - ~>
60
74
  - !ruby/object:Gem::Version
61
- version: 0.7.0
75
+ version: 0.8.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
- version: 0.7.0
82
+ version: 0.8.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: tty-prompt
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ~>
74
88
  - !ruby/object:Gem::Version
75
- version: 0.2.0
89
+ version: 0.4.0
76
90
  type: :runtime
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - ~>
81
95
  - !ruby/object:Gem::Version
82
- version: 0.2.0
96
+ version: 0.4.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: tty-screen
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - ~>
88
102
  - !ruby/object:Gem::Version
89
- version: 0.4.0
103
+ version: 0.5.0
90
104
  type: :runtime
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - ~>
95
109
  - !ruby/object:Gem::Version
96
- version: 0.4.0
110
+ version: 0.5.0
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: tty-spinner
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +128,14 @@ dependencies:
114
128
  requirements:
115
129
  - - ~>
116
130
  - !ruby/object:Gem::Version
117
- version: 0.4.0
131
+ version: 0.5.0
118
132
  type: :runtime
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
136
  - - ~>
123
137
  - !ruby/object:Gem::Version
124
- version: 0.4.0
138
+ version: 0.5.0
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: tty-which
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -156,28 +170,48 @@ dependencies:
156
170
  requirements:
157
171
  - - ~>
158
172
  - !ruby/object:Gem::Version
159
- version: 0.5.1
173
+ version: 0.6.0
160
174
  type: :runtime
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
178
  - - ~>
165
179
  - !ruby/object:Gem::Version
166
- version: 0.5.1
180
+ version: 0.6.0
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: bundler
169
183
  requirement: !ruby/object:Gem::Requirement
170
184
  requirements:
171
- - - ~>
185
+ - - '>='
186
+ - !ruby/object:Gem::Version
187
+ version: 1.5.0
188
+ - - <
172
189
  - !ruby/object:Gem::Version
173
- version: '1.5'
190
+ version: '2.0'
174
191
  type: :development
175
192
  prerelease: false
176
193
  version_requirements: !ruby/object:Gem::Requirement
177
194
  requirements:
178
- - - ~>
195
+ - - '>='
196
+ - !ruby/object:Gem::Version
197
+ version: 1.5.0
198
+ - - <
199
+ - !ruby/object:Gem::Version
200
+ version: '2.0'
201
+ - !ruby/object:Gem::Dependency
202
+ name: rake
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - '>='
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - '>='
179
213
  - !ruby/object:Gem::Version
180
- version: '1.5'
214
+ version: '0'
181
215
  description: A toolbox for developing beautiful command line clients.
182
216
  email:
183
217
  - ''
@@ -187,8 +221,6 @@ extra_rdoc_files: []
187
221
  files:
188
222
  - .gitignore
189
223
  - .rspec
190
- - .ruby-gemset
191
- - .ruby-version
192
224
  - .travis.yml
193
225
  - .yardopts
194
226
  - CHANGELOG.md
@@ -1 +0,0 @@
1
- tty
@@ -1 +0,0 @@
1
- 2.0.0