rvm2-ui 0.9.0 → 0.9.1

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,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e9d620b2ab7b9614bbe190c16c3621374597241b
4
- data.tar.gz: 5189ea015f85edb6e0c3a77ec81721c43750686c
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZjFkZWM3ZWJhNzNhZTY4OTdmMzdiOTA3NWFmZDk5MjIzYjZkNGEwNw==
5
+ data.tar.gz: !binary |-
6
+ ZWY4NmM2YTBkMTZhNmRlZDNiOTYxNGU5NDhlMjAzNWE4NzgxYjIzNg==
5
7
  SHA512:
6
- metadata.gz: cbdcb4ba42ae9a28e1f4c1e0bdbafecaf7b6321504a5044630f317f64a0b9ccbf20f91e6ac4a61b2d0b85f47f6eed68f9dec3a342e2067d703f4d1d5f5756463
7
- data.tar.gz: b616024af9297757e1d9ba388aa36d45c15fd87361ac9d764b771098ae88b969fca169950a88f1134283e8cd104610fbc5993e10fb00bf4fb7488ae1086002d5
8
+ metadata.gz: !binary |-
9
+ YjYwMjYzOWIzNTI1MTA1ZjVhMTgwZTdiNWU4MjliZDI2MjBhNzM5MTVkZGZi
10
+ NTYwYmNkNWUwZTg4NWRjMGExZTYzZTdmZTUyNzVlZmVlNTZkNzE0MTM2NDEw
11
+ NjQ5OWZjMjVjOWJlZDI5YTMzZTYyMDc0MTYwYTExMmYxYTNkMTQ=
12
+ data.tar.gz: !binary |-
13
+ NGUzMzZmMjgzZGQxMWYzZGVhNDBlNDg4ZmQ1NDg2NmJjMTI2ZTlmYTVjYjU2
14
+ NjBlOGVhODgzN2ZiMTJkMmQwNTIwMmQ5ZWVkNzQ0MGY5ZWRhMTY2YjU1NTRl
15
+ ZTRlOGY1ZmVjNmI5Mjk4ZGFhMDgyYWE1ZDAwMTI4YmI5MDZlOGI=
@@ -1,6 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
- - ruby
3
+ - 1.9.3
4
+ - 2.0.0
5
+ - 2.1
6
+ - 2.2
7
+ - jruby
4
8
  notifications:
5
9
  irc:
6
10
  channels:
@@ -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
@@ -110,4 +110,4 @@ Example - temporarily use logger:
110
110
  @ui.log("text")
111
111
  end
112
112
 
113
- In bot examples the output will be written to both standard output and log file.
113
+ In both examples the output will be written to both standard output and log file.
@@ -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)
@@ -28,7 +28,8 @@ module Rvm2
28
28
  end
29
29
 
30
30
  attr_reader :root, :current
31
- def initialize
31
+ def initialize(rvm2_plugins)
32
+ @rvm2_plugins = rvm2_plugins
32
33
  @root = Element.new(nil, :group, nil)
33
34
  @current = @root
34
35
  end
@@ -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
@@ -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: %i{first_class})
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
@@ -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: %i{first_class})
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; }
@@ -1,5 +1,5 @@
1
1
  module Rvm2
2
2
  module Ui
3
- VERSION = '0.9.0'
3
+ VERSION = '0.9.1'
4
4
  end
5
5
  end
@@ -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 redcarpet}.each do |name|
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(@stdout, @stderr)
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
@@ -3,7 +3,7 @@ require 'plugins/rvm2/ui/output/fake'
3
3
 
4
4
  describe Rvm2::Ui::Output::Fake do
5
5
  subject do
6
- Rvm2::Ui::Output::Fake.new
6
+ Rvm2::Ui::Output::Fake.new(Pluginator.find("rvm2", extends: [:first_class]))
7
7
  end
8
8
 
9
9
  it "adds messages" do
@@ -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(@tempfile.path)
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
- @handlers = [Rvm2::Ui::Output::Fake.new, Rvm2::Ui::Output::Fake.new]
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
 
@@ -15,3 +15,8 @@ Coveralls.noisy = true unless ENV['CI']
15
15
 
16
16
  require 'minitest/autorun'
17
17
  require 'minitest/unit'
18
+
19
+ Dir["lib/**/*.rb"].each{|file|
20
+ file = file.split(/lib\//).last
21
+ require file
22
+ }
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.0
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: 2013-12-14 00:00:00.000000000 Z
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: redcarpet
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
- - ".gitignore"
105
- - ".travis.yml"
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.2.0
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: