rvm2-ui 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.travis.yml +5 -1
- data/Guardfile +30 -0
- data/README.md +1 -1
- data/lib/plugins/rvm2/ui/output/console.rb +15 -1
- data/lib/plugins/rvm2/ui/output/fake.rb +2 -1
- data/lib/plugins/rvm2/ui/output/log.rb +4 -1
- data/lib/plugins/rvm2/ui/progress/console/closed_text.rb +28 -0
- data/lib/plugins/rvm2/ui/progress/console/open_text.rb +27 -0
- data/lib/rvm2/ui/multi.rb +2 -2
- data/lib/rvm2/ui/single.rb +2 -2
- data/lib/rvm2/ui/version.rb +1 -1
- data/rvm2-ui.gemspec +1 -1
- data/test/plugins_test/rvm2/ui/output/console_test.rb +38 -1
- data/test/plugins_test/rvm2/ui/output/fake_test.rb +1 -1
- data/test/plugins_test/rvm2/ui/output/log_test.rb +4 -1
- data/test/plugins_test/rvm2/ui/progress/console/closed_text_test.rb +58 -0
- data/test/plugins_test/rvm2/ui/progress/console/open_text_test.rb +58 -0
- data/test/rvm2/ui/multi/io_write_router_test.rb +2 -1
- data/test/test_helper.rb +5 -0
- metadata +42 -20
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZjFkZWM3ZWJhNzNhZTY4OTdmMzdiOTA3NWFmZDk5MjIzYjZkNGEwNw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZWY4NmM2YTBkMTZhNmRlZDNiOTYxNGU5NDhlMjAzNWE4NzgxYjIzNg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YjYwMjYzOWIzNTI1MTA1ZjVhMTgwZTdiNWU4MjliZDI2MjBhNzM5MTVkZGZi
|
10
|
+
NTYwYmNkNWUwZTg4NWRjMGExZTYzZTdmZTUyNzVlZmVlNTZkNzE0MTM2NDEw
|
11
|
+
NjQ5OWZjMjVjOWJlZDI5YTMzZTYyMDc0MTYwYTExMmYxYTNkMTQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NGUzMzZmMjgzZGQxMWYzZGVhNDBlNDg4ZmQ1NDg2NmJjMTI2ZTlmYTVjYjU2
|
14
|
+
NjBlOGVhODgzN2ZiMTJkMmQwNTIwMmQ5ZWVkNzQ0MGY5ZWRhMTY2YjU1NTRl
|
15
|
+
ZTRlOGY1ZmVjNmI5Mjk4ZGFhMDgyYWE1ZDAwMTI4YmI5MDZlOGI=
|
data/.travis.yml
CHANGED
data/Guardfile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
## Uncomment and set this to only include directories you want to watch
|
5
|
+
# directories %w(app lib config test spec features)
|
6
|
+
|
7
|
+
## Uncomment to clear the screen before every task
|
8
|
+
# clearing :on
|
9
|
+
|
10
|
+
## Guard internally checks for changes in the Guardfile and exits.
|
11
|
+
## If you want Guard to automatically start up again, run guard in a
|
12
|
+
## shell loop, e.g.:
|
13
|
+
##
|
14
|
+
## $ while bundle exec guard; do echo "Restarting Guard..."; done
|
15
|
+
##
|
16
|
+
## Note: if you are using the `directories` clause above and you are not
|
17
|
+
## watching the project directory ('.'), then you will want to move
|
18
|
+
## the Guardfile to a watched dir and symlink it back, e.g.
|
19
|
+
#
|
20
|
+
# $ mkdir config
|
21
|
+
# $ mv Guardfile config/
|
22
|
+
# $ ln -s config/Guardfile .
|
23
|
+
#
|
24
|
+
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
25
|
+
|
26
|
+
guard :minitest, :bundler => false do
|
27
|
+
watch(%r{^test/(.*)\/?(.*)_test\.rb$})
|
28
|
+
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
|
29
|
+
watch(%r{^test/test_helper\.rb$}) { 'test' }
|
30
|
+
end
|
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'io/console'
|
2
|
+
|
1
3
|
module Rvm2
|
2
4
|
module Ui
|
3
5
|
module Output
|
@@ -31,6 +33,13 @@ module Rvm2
|
|
31
33
|
def levels
|
32
34
|
@console_parent.levels
|
33
35
|
end
|
36
|
+
|
37
|
+
def winsize
|
38
|
+
rows, columns = super
|
39
|
+
[rows, columns - levels*2]
|
40
|
+
rescue
|
41
|
+
nil
|
42
|
+
end
|
34
43
|
end
|
35
44
|
|
36
45
|
attr_reader :stdout, :stderr
|
@@ -39,7 +48,8 @@ module Rvm2
|
|
39
48
|
@names.size
|
40
49
|
end
|
41
50
|
|
42
|
-
def initialize(stdout = $stdout, stderr = $stderr)
|
51
|
+
def initialize(rvm2_plugins, stdout = $stdout, stderr = $stderr)
|
52
|
+
@rvm2_plugins = rvm2_plugins
|
43
53
|
@stdout = stdout.extend(ConsoleIO)
|
44
54
|
@stdout.console_parent = self
|
45
55
|
@stderr = stderr.extend(ConsoleIO)
|
@@ -73,6 +83,10 @@ module Rvm2
|
|
73
83
|
end
|
74
84
|
end
|
75
85
|
|
86
|
+
def progress(type, *args)
|
87
|
+
@rvm2_plugins.first_class!("ui/progress/console", type).new(@rvm2_plugins, self, *args)
|
88
|
+
end
|
89
|
+
|
76
90
|
private
|
77
91
|
|
78
92
|
def group_message(name, result)
|
@@ -1,9 +1,12 @@
|
|
1
|
+
require_relative "console"
|
2
|
+
|
1
3
|
module Rvm2
|
2
4
|
module Ui
|
3
5
|
module Output
|
4
6
|
class Log < Console
|
5
7
|
attr_reader :file_name
|
6
|
-
def initialize(file_name, flags = "w")
|
8
|
+
def initialize(rvm2_plugins, file_name, flags = "w")
|
9
|
+
@rvm2_plugins = rvm2_plugins
|
7
10
|
@file_name = file_name
|
8
11
|
@file = File.new(@file_name, flags)
|
9
12
|
super(@file, @file)
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Rvm2
|
2
|
+
module Ui
|
3
|
+
module Progress
|
4
|
+
module Console
|
5
|
+
class ClosedText
|
6
|
+
|
7
|
+
def initialize(rvm2_plugins, parent, name, size, start)
|
8
|
+
@rvm2_plugins = rvm2_plugins
|
9
|
+
@parent = parent
|
10
|
+
@name = name
|
11
|
+
@size = size
|
12
|
+
change(start)
|
13
|
+
end
|
14
|
+
|
15
|
+
def change(size)
|
16
|
+
@parent.stdout.write("\r#{@name}: #{size}/#{@size}")
|
17
|
+
@parent.stdout.was_new_line = false
|
18
|
+
end
|
19
|
+
|
20
|
+
def finish(message = "Finished")
|
21
|
+
@parent.stdout.puts("\r#{@name}: #{message}")
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Rvm2
|
2
|
+
module Ui
|
3
|
+
module Progress
|
4
|
+
module Console
|
5
|
+
class OpenText
|
6
|
+
|
7
|
+
def initialize(rvm2_plugins, parent, name, start)
|
8
|
+
@rvm2_plugins = rvm2_plugins
|
9
|
+
@parent = parent
|
10
|
+
@name = name
|
11
|
+
change(start)
|
12
|
+
end
|
13
|
+
|
14
|
+
def change(size)
|
15
|
+
@parent.stdout.write("\r#{@name}: #{size}")
|
16
|
+
@parent.stdout.was_new_line = false
|
17
|
+
end
|
18
|
+
|
19
|
+
def finish(message = "Finished")
|
20
|
+
@parent.stdout.puts("\r#{@name}: #{message}")
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/rvm2/ui/multi.rb
CHANGED
@@ -5,12 +5,12 @@ module Rvm2
|
|
5
5
|
attr_reader :handlers
|
6
6
|
|
7
7
|
def initialize(rvm2_plugins = nil)
|
8
|
-
@rvm2_plugins = rvm2_plugins || Pluginator.find("rvm2", extends:
|
8
|
+
@rvm2_plugins = rvm2_plugins || Pluginator.find("rvm2", extends: [:first_class])
|
9
9
|
@handlers = []
|
10
10
|
end
|
11
11
|
|
12
12
|
def add(handler, *args)
|
13
|
-
@handlers << @rvm2_plugins.first_class!('ui/output', handler).new(*args)
|
13
|
+
@handlers << @rvm2_plugins.first_class!('ui/output', handler).new(@rvm2_plugins, *args)
|
14
14
|
end
|
15
15
|
|
16
16
|
def remove
|
data/lib/rvm2/ui/single.rb
CHANGED
@@ -7,8 +7,8 @@ module Rvm2
|
|
7
7
|
attr_reader :handler
|
8
8
|
|
9
9
|
def initialize(handler = :console, rvm2_plugins = nil, *args)
|
10
|
-
@rvm2_plugins = rvm2_plugins || Pluginator.find("rvm2", extends:
|
11
|
-
@handler = @rvm2_plugins.first_class!('ui/output', handler).new(*args)
|
10
|
+
@rvm2_plugins = rvm2_plugins || Pluginator.find("rvm2", extends: [:first_class])
|
11
|
+
@handler = @rvm2_plugins.first_class!('ui/output', handler).new(@rvm2_plugins, *args)
|
12
12
|
end
|
13
13
|
|
14
14
|
# ui.command "message" { do_something; }
|
data/lib/rvm2/ui/version.rb
CHANGED
data/rvm2-ui.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
16
|
s.required_ruby_version = ">= 2.0.0"
|
17
17
|
s.add_dependency('pluginator')
|
18
|
-
%w{rake minitest simplecov coveralls
|
18
|
+
%w{rake minitest simplecov coveralls guard guard-minitest}.each do |name|
|
19
19
|
s.add_development_dependency(name)
|
20
20
|
end
|
21
21
|
# s.add_development_dependency("smf-gem")
|
@@ -2,6 +2,10 @@ require 'test_helper'
|
|
2
2
|
require 'plugins/rvm2/ui/output/console'
|
3
3
|
require 'stringio'
|
4
4
|
|
5
|
+
module AddWinSize
|
6
|
+
attr_accessor :winsize
|
7
|
+
end
|
8
|
+
|
5
9
|
describe Rvm2::Ui::Output::Console do
|
6
10
|
before do
|
7
11
|
@stdout = StringIO.new
|
@@ -9,7 +13,11 @@ describe Rvm2::Ui::Output::Console do
|
|
9
13
|
end
|
10
14
|
|
11
15
|
subject do
|
12
|
-
Rvm2::Ui::Output::Console.new(
|
16
|
+
Rvm2::Ui::Output::Console.new(
|
17
|
+
Pluginator.find("rvm2", extends: [:first_class]),
|
18
|
+
@stdout,
|
19
|
+
@stderr
|
20
|
+
)
|
13
21
|
end
|
14
22
|
|
15
23
|
it "adds messages" do
|
@@ -110,4 +118,33 @@ Example 2
|
|
110
118
|
EXPECTED
|
111
119
|
end
|
112
120
|
|
121
|
+
it "has no winsize when it's not available in the subject" do
|
122
|
+
subject.stdout.winsize.must_equal(nil)
|
123
|
+
end
|
124
|
+
|
125
|
+
describe "ConsoleIO.winsize" do
|
126
|
+
before do
|
127
|
+
@stdout.extend(AddWinSize)
|
128
|
+
@stdout.winsize = [100, 100]
|
129
|
+
end
|
130
|
+
|
131
|
+
it "has winsize when it's available" do
|
132
|
+
subject.stdout.winsize.must_equal([100,100])
|
133
|
+
end
|
134
|
+
|
135
|
+
it "winsize is decreased on every level" do
|
136
|
+
subject.start("one")
|
137
|
+
subject.stdout.winsize.must_equal([100,98])
|
138
|
+
subject.start("two")
|
139
|
+
subject.stdout.winsize.must_equal([100,96])
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
it "does progress" do
|
144
|
+
progress = subject.progress(:open_text, "Downloading file", 0)
|
145
|
+
progress.change("1")
|
146
|
+
progress.finish("Done")
|
147
|
+
@stdout.string.must_equal("\rDownloading file: 0\rDownloading file: 1\rDownloading file: Done\n")
|
148
|
+
end
|
149
|
+
|
113
150
|
end
|
@@ -11,7 +11,10 @@ describe Rvm2::Ui::Output::Log do
|
|
11
11
|
@tempfile.unlink
|
12
12
|
end
|
13
13
|
subject do
|
14
|
-
Rvm2::Ui::Output::Log.new(
|
14
|
+
Rvm2::Ui::Output::Log.new(
|
15
|
+
Pluginator.find("rvm2", extends: [:first_class]),
|
16
|
+
@tempfile.path
|
17
|
+
)
|
15
18
|
end
|
16
19
|
|
17
20
|
it "adds messages" do
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'plugins/rvm2/ui/output/console'
|
3
|
+
require 'plugins/rvm2/ui/progress/console/open_text'
|
4
|
+
require 'stringio'
|
5
|
+
|
6
|
+
describe Rvm2::Ui::Progress::Console::ClosedText do
|
7
|
+
before do
|
8
|
+
@stdout = StringIO.new
|
9
|
+
@stderr = StringIO.new
|
10
|
+
@pluginator = Pluginator.find("rvm2", extends: [:first_class])
|
11
|
+
@console = Rvm2::Ui::Output::Console.new(@pluginator, @stdout, @stderr)
|
12
|
+
end
|
13
|
+
|
14
|
+
subject do
|
15
|
+
Rvm2::Ui::Progress::Console::ClosedText
|
16
|
+
end
|
17
|
+
|
18
|
+
it "starts at new line" do
|
19
|
+
@console.log("test")
|
20
|
+
test = subject.new(@pluginator, @console, "TestMe", 100, 0)
|
21
|
+
@stdout.string.must_equal("test\n\rTestMe: 0/100")
|
22
|
+
@stderr.string.must_equal("")
|
23
|
+
end
|
24
|
+
|
25
|
+
it "starts progress with 0" do
|
26
|
+
test = subject.new(@pluginator, @console, "TestMe", 100, 0)
|
27
|
+
@stdout.string.must_equal("\rTestMe: 0/100")
|
28
|
+
@stderr.string.must_equal("")
|
29
|
+
end
|
30
|
+
|
31
|
+
it "starts progress with 1" do
|
32
|
+
test = subject.new(@pluginator, @console, "TestMe", 100, 1)
|
33
|
+
@stdout.string.must_equal("\rTestMe: 1/100")
|
34
|
+
@stderr.string.must_equal("")
|
35
|
+
end
|
36
|
+
|
37
|
+
it "adds new size" do
|
38
|
+
test = subject.new(@pluginator, @console, "TestMe", 100, 0)
|
39
|
+
test.change(2)
|
40
|
+
@stdout.string.must_equal("\rTestMe: 0/100\rTestMe: 2/100")
|
41
|
+
@stderr.string.must_equal("")
|
42
|
+
end
|
43
|
+
|
44
|
+
it "finishes without message" do
|
45
|
+
test = subject.new(@pluginator, @console, "TestMe", 100, 0)
|
46
|
+
test.finish
|
47
|
+
@stdout.string.must_equal("\rTestMe: 0/100\rTestMe: Finished\n")
|
48
|
+
@stderr.string.must_equal("")
|
49
|
+
end
|
50
|
+
|
51
|
+
it "finishes with message" do
|
52
|
+
test = subject.new(@pluginator, @console, "TestMe", 100, 0)
|
53
|
+
test.finish("Done")
|
54
|
+
@stdout.string.must_equal("\rTestMe: 0/100\rTestMe: Done\n")
|
55
|
+
@stderr.string.must_equal("")
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'plugins/rvm2/ui/output/console'
|
3
|
+
require 'plugins/rvm2/ui/progress/console/open_text'
|
4
|
+
require 'stringio'
|
5
|
+
|
6
|
+
describe Rvm2::Ui::Progress::Console::OpenText do
|
7
|
+
before do
|
8
|
+
@stdout = StringIO.new
|
9
|
+
@stderr = StringIO.new
|
10
|
+
@pluginator = Pluginator.find("rvm2", extends: [:first_class])
|
11
|
+
@console = Rvm2::Ui::Output::Console.new(@pluginator, @stdout, @stderr)
|
12
|
+
end
|
13
|
+
|
14
|
+
subject do
|
15
|
+
Rvm2::Ui::Progress::Console::OpenText
|
16
|
+
end
|
17
|
+
|
18
|
+
it "starts at new line" do
|
19
|
+
@console.log("test")
|
20
|
+
test = subject.new(@pluginator, @console, "TestMe", 0)
|
21
|
+
@stdout.string.must_equal("test\n\rTestMe: 0")
|
22
|
+
@stderr.string.must_equal("")
|
23
|
+
end
|
24
|
+
|
25
|
+
it "starts progress with 0" do
|
26
|
+
test = subject.new(@pluginator, @console, "TestMe", 0)
|
27
|
+
@stdout.string.must_equal("\rTestMe: 0")
|
28
|
+
@stderr.string.must_equal("")
|
29
|
+
end
|
30
|
+
|
31
|
+
it "starts progress with 1" do
|
32
|
+
test = subject.new(@pluginator, @console, "TestMe", 1)
|
33
|
+
@stdout.string.must_equal("\rTestMe: 1")
|
34
|
+
@stderr.string.must_equal("")
|
35
|
+
end
|
36
|
+
|
37
|
+
it "adds new size" do
|
38
|
+
test = subject.new(@pluginator, @console, "TestMe", 0)
|
39
|
+
test.change(2)
|
40
|
+
@stdout.string.must_equal("\rTestMe: 0\rTestMe: 2")
|
41
|
+
@stderr.string.must_equal("")
|
42
|
+
end
|
43
|
+
|
44
|
+
it "finishes without message" do
|
45
|
+
test = subject.new(@pluginator, @console, "TestMe", 0)
|
46
|
+
test.finish
|
47
|
+
@stdout.string.must_equal("\rTestMe: 0\rTestMe: Finished\n")
|
48
|
+
@stderr.string.must_equal("")
|
49
|
+
end
|
50
|
+
|
51
|
+
it "finishes with message" do
|
52
|
+
test = subject.new(@pluginator, @console, "TestMe", 0)
|
53
|
+
test.finish("Done")
|
54
|
+
@stdout.string.must_equal("\rTestMe: 0\rTestMe: Done\n")
|
55
|
+
@stderr.string.must_equal("")
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -5,7 +5,8 @@ require 'plugins/rvm2/ui/output/fake'
|
|
5
5
|
class HandlersParent
|
6
6
|
attr_reader :handlers
|
7
7
|
def initialize
|
8
|
-
|
8
|
+
pluginator = Pluginator.find("rvm2", extends: [:first_class])
|
9
|
+
@handlers = [Rvm2::Ui::Output::Fake.new(pluginator), Rvm2::Ui::Output::Fake.new(pluginator)]
|
9
10
|
end
|
10
11
|
end
|
11
12
|
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,97 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rvm2-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michal Papis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pluginator
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
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: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ! '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: simplecov
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: coveralls
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ! '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ! '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: guard
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ! '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: guard-minitest
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
description:
|
@@ -101,15 +115,18 @@ executables: []
|
|
101
115
|
extensions: []
|
102
116
|
extra_rdoc_files: []
|
103
117
|
files:
|
104
|
-
-
|
105
|
-
-
|
118
|
+
- .gitignore
|
119
|
+
- .travis.yml
|
106
120
|
- Gemfile
|
121
|
+
- Guardfile
|
107
122
|
- LICENSE
|
108
123
|
- README.md
|
109
124
|
- Rakefile
|
110
125
|
- lib/plugins/rvm2/ui/output/console.rb
|
111
126
|
- lib/plugins/rvm2/ui/output/fake.rb
|
112
127
|
- lib/plugins/rvm2/ui/output/log.rb
|
128
|
+
- lib/plugins/rvm2/ui/progress/console/closed_text.rb
|
129
|
+
- lib/plugins/rvm2/ui/progress/console/open_text.rb
|
113
130
|
- lib/rvm2/ui.rb
|
114
131
|
- lib/rvm2/ui/multi.rb
|
115
132
|
- lib/rvm2/ui/multi/io_write_router.rb
|
@@ -120,6 +137,8 @@ files:
|
|
120
137
|
- test/plugins_test/rvm2/ui/output/console_test.rb
|
121
138
|
- test/plugins_test/rvm2/ui/output/fake_test.rb
|
122
139
|
- test/plugins_test/rvm2/ui/output/log_test.rb
|
140
|
+
- test/plugins_test/rvm2/ui/progress/console/closed_text_test.rb
|
141
|
+
- test/plugins_test/rvm2/ui/progress/console/open_text_test.rb
|
123
142
|
- test/rvm2/ui/multi/io_write_router_test.rb
|
124
143
|
- test/rvm2/ui/multi_test.rb
|
125
144
|
- test/rvm2/ui/single_test.rb
|
@@ -135,17 +154,17 @@ require_paths:
|
|
135
154
|
- lib
|
136
155
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
156
|
requirements:
|
138
|
-
- -
|
157
|
+
- - ! '>='
|
139
158
|
- !ruby/object:Gem::Version
|
140
159
|
version: 2.0.0
|
141
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
161
|
requirements:
|
143
|
-
- -
|
162
|
+
- - ! '>='
|
144
163
|
- !ruby/object:Gem::Version
|
145
164
|
version: '0'
|
146
165
|
requirements: []
|
147
166
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
167
|
+
rubygems_version: 2.4.6
|
149
168
|
signing_key:
|
150
169
|
specification_version: 4
|
151
170
|
summary: Abstract user interface handling in RVM2
|
@@ -154,8 +173,11 @@ test_files:
|
|
154
173
|
- test/plugins_test/rvm2/ui/output/console_test.rb
|
155
174
|
- test/plugins_test/rvm2/ui/output/fake_test.rb
|
156
175
|
- test/plugins_test/rvm2/ui/output/log_test.rb
|
176
|
+
- test/plugins_test/rvm2/ui/progress/console/closed_text_test.rb
|
177
|
+
- test/plugins_test/rvm2/ui/progress/console/open_text_test.rb
|
157
178
|
- test/rvm2/ui/multi/io_write_router_test.rb
|
158
179
|
- test/rvm2/ui/multi_test.rb
|
159
180
|
- test/rvm2/ui/single_test.rb
|
160
181
|
- test/rvm2/ui_test.rb
|
161
182
|
- test/test_helper.rb
|
183
|
+
has_rdoc:
|