rim 2.18.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog +10 -0
- data/README.md +111 -0
- data/lib/rim/aspell.rb +2 -3
- data/lib/rim/check_version.rb +2 -0
- data/lib/rim/gem.rb +24 -117
- data/lib/rim/gemspec.rb +22 -0
- data/lib/rim/git.rb +3 -4
- data/lib/rim/info.rb +2 -0
- data/lib/rim/irb.rb +5 -4
- data/lib/rim/pry.rb +4 -2
- data/lib/rim/rdoc.rb +2 -0
- data/lib/rim/regtest.rb +2 -12
- data/lib/rim/release.rb +3 -0
- data/lib/rim/ripl.rb +4 -2
- data/lib/rim/rspec.rb +2 -0
- data/lib/rim/test.rb +2 -0
- data/lib/rim/tire.rb +5 -5
- data/lib/rim/version.rb +5 -20
- data/lib/rim/yard.rb +1 -0
- data/lib/rim.rb +2 -2
- metadata +6 -31
- data/.aspell.pws +0 -29
- data/Gemfile +0 -3
- data/README.rdoc +0 -70
- data/Rakefile +0 -27
- data/lib/rim/core.rb +0 -21
- data/regtest/execution.rb +0 -15
- data/regtest/execution.yml +0 -135
- data/regtest/global_deps.rb +0 -6
- data/regtest/global_deps.yml +0 -112
- data/regtest/mod_deps.rb +0 -41
- data/regtest/mod_deps.yml +0 -179
- data/rim.gemspec +0 -31
- data/test/test_helper_methods.rb +0 -38
data/test/test_helper_methods.rb
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
require 'rim'
|
3
|
-
require 'test/unit'
|
4
|
-
|
5
|
-
class TestHelperMethods < Test::Unit::TestCase
|
6
|
-
|
7
|
-
class ::Rim
|
8
|
-
attr_accessor :some_new_attr
|
9
|
-
end
|
10
|
-
|
11
|
-
def setup
|
12
|
-
@rim = Rim.instance
|
13
|
-
end
|
14
|
-
|
15
|
-
def test_attr_accessor
|
16
|
-
assert_nil @rim.some_new_attr, 'New attribute must be nil.'
|
17
|
-
@rim.some_new_attr = :standard_setter
|
18
|
-
assert_equal :standard_setter, @rim.some_new_attr
|
19
|
-
@rim.some_new_attr :advanced_setter
|
20
|
-
assert_equal :advanced_setter, @rim.some_new_attr
|
21
|
-
end
|
22
|
-
|
23
|
-
def test_filelist
|
24
|
-
fl = @rim.filelist(/^rakefile/i, 'lib')
|
25
|
-
assert_equal %w(Rakefile lib), fl.to_a
|
26
|
-
end
|
27
|
-
|
28
|
-
def test_feature_loaded
|
29
|
-
assert_equal false, @rim.feature_loaded?('et/http')
|
30
|
-
assert_equal false, @rim.feature_loaded?('net/htt')
|
31
|
-
assert_equal false, @rim.feature_loaded?('net/http')
|
32
|
-
require 'net/http'
|
33
|
-
assert_equal false, @rim.feature_loaded?('et/http')
|
34
|
-
assert_equal false, @rim.feature_loaded?('net/htt')
|
35
|
-
assert_equal true, @rim.feature_loaded?('net/http')
|
36
|
-
end
|
37
|
-
|
38
|
-
end
|