rim 2.17.1 → 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 +13 -0
- data/README.md +111 -0
- data/lib/rim/aspell.rb +3 -4
- data/lib/rim/check_version.rb +3 -1
- data/lib/rim/gem.rb +25 -104
- data/lib/rim/gemspec.rb +22 -0
- data/lib/rim/git.rb +4 -5
- data/lib/rim/info.rb +3 -1
- data/lib/rim/irb.rb +6 -5
- data/lib/rim/pry.rb +5 -3
- data/lib/rim/rdoc.rb +3 -1
- data/lib/rim/regtest.rb +3 -13
- data/lib/rim/release.rb +4 -1
- data/lib/rim/rimrc.rb +1 -1
- data/lib/rim/ripl.rb +5 -3
- data/lib/rim/rspec.rb +3 -1
- data/lib/rim/test.rb +3 -1
- data/lib/rim/tire.rb +6 -6
- data/lib/rim/version.rb +6 -21
- data/lib/rim/yard.rb +2 -1
- data/lib/rim.rb +3 -3
- metadata +6 -34
- data/.aspell.pws +0 -27
- 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 -39
- data/test/test_helper_methods.rb +0 -38
data/regtest/mod_deps.yml
DELETED
@@ -1,179 +0,0 @@
|
|
1
|
-
---
|
2
|
-
sample: lib/rim/aspell.rb
|
3
|
-
result: |
|
4
|
-
rake aspell
|
5
|
-
rake aspell:check
|
6
|
-
rake clean
|
7
|
-
rake clobber
|
8
|
-
clean
|
9
|
-
---
|
10
|
-
sample: lib/rim/check_version.rb
|
11
|
-
result: |
|
12
|
-
rake check_version
|
13
|
-
rake clean
|
14
|
-
rake clobber
|
15
|
-
clean
|
16
|
-
---
|
17
|
-
sample: lib/rim/core.rb
|
18
|
-
result: |
|
19
|
-
rake clean
|
20
|
-
rake clobber
|
21
|
-
clean
|
22
|
-
---
|
23
|
-
sample: lib/rim/gem.rb
|
24
|
-
result: |
|
25
|
-
rake clean
|
26
|
-
rake clobber
|
27
|
-
clean
|
28
|
-
rake gem
|
29
|
-
gem:build
|
30
|
-
rake gem:build
|
31
|
-
spec
|
32
|
-
test
|
33
|
-
pkg/xxx-0.0.1.gem
|
34
|
-
rake gem:push
|
35
|
-
gem
|
36
|
-
rake gem:spec
|
37
|
-
xxx.gemspec
|
38
|
-
rake install
|
39
|
-
gem
|
40
|
-
rake pkg
|
41
|
-
rake pkg/xxx-0.0.1.gem
|
42
|
-
pkg
|
43
|
-
xxx.gemspec
|
44
|
-
rake uninstall
|
45
|
-
rake xxx.gemspec
|
46
|
-
Changelog
|
47
|
-
Rakefile
|
48
|
-
test/test.rb
|
49
|
-
---
|
50
|
-
sample: lib/rim/git.rb
|
51
|
-
result: |
|
52
|
-
rake clean
|
53
|
-
rake clobber
|
54
|
-
clean
|
55
|
-
---
|
56
|
-
sample: lib/rim/info.rb
|
57
|
-
result: |
|
58
|
-
rake clean
|
59
|
-
rake clobber
|
60
|
-
clean
|
61
|
-
rake info
|
62
|
-
---
|
63
|
-
sample: lib/rim/irb.rb
|
64
|
-
result: |
|
65
|
-
rake clean
|
66
|
-
rake clobber
|
67
|
-
clean
|
68
|
-
rake irb
|
69
|
-
---
|
70
|
-
sample: lib/rim/pry.rb
|
71
|
-
result: |
|
72
|
-
rake clean
|
73
|
-
rake clobber
|
74
|
-
clean
|
75
|
-
rake pry
|
76
|
-
---
|
77
|
-
sample: lib/rim/rdoc.rb
|
78
|
-
result: |
|
79
|
-
rake clean
|
80
|
-
rake clobber
|
81
|
-
clean
|
82
|
-
clobber_rdoc
|
83
|
-
rake clobber_rdoc
|
84
|
-
rake doc
|
85
|
-
rake doc/created.rid
|
86
|
-
Rakefile
|
87
|
-
rake rdoc
|
88
|
-
doc/created.rid
|
89
|
-
rake rerdoc
|
90
|
-
clobber_rdoc
|
91
|
-
rdoc
|
92
|
-
---
|
93
|
-
sample: lib/rim/regtest.rb
|
94
|
-
result: |
|
95
|
-
rake clean
|
96
|
-
rake clobber
|
97
|
-
clean
|
98
|
-
rake regtest
|
99
|
-
---
|
100
|
-
sample: lib/rim/release.rb
|
101
|
-
result: |
|
102
|
-
rake clean
|
103
|
-
rake clobber
|
104
|
-
clean
|
105
|
-
rake prepare_release
|
106
|
-
rake release
|
107
|
-
---
|
108
|
-
sample: lib/rim/ripl.rb
|
109
|
-
result: |
|
110
|
-
rake clean
|
111
|
-
rake clobber
|
112
|
-
clean
|
113
|
-
rake ripl
|
114
|
-
---
|
115
|
-
sample: lib/rim/rspec.rb
|
116
|
-
result: |
|
117
|
-
rake clean
|
118
|
-
rake clobber
|
119
|
-
clean
|
120
|
-
---
|
121
|
-
sample: lib/rim/test.rb
|
122
|
-
result: |
|
123
|
-
rake clean
|
124
|
-
rake clobber
|
125
|
-
clean
|
126
|
-
rake default
|
127
|
-
test
|
128
|
-
rake test
|
129
|
-
---
|
130
|
-
sample: lib/rim/tire.rb
|
131
|
-
result: |
|
132
|
-
rake clean
|
133
|
-
rake clobber
|
134
|
-
clean
|
135
|
-
rake default
|
136
|
-
test
|
137
|
-
rake gem
|
138
|
-
gem:build
|
139
|
-
test
|
140
|
-
rake gem:build
|
141
|
-
spec
|
142
|
-
test
|
143
|
-
pkg/xxx-0.0.1.gem
|
144
|
-
rake gem:push
|
145
|
-
gem
|
146
|
-
rake gem:spec
|
147
|
-
xxx.gemspec
|
148
|
-
rake info
|
149
|
-
rake install
|
150
|
-
gem
|
151
|
-
rake pkg
|
152
|
-
rake pkg/xxx-0.0.1.gem
|
153
|
-
pkg
|
154
|
-
xxx.gemspec
|
155
|
-
rake prepare_release
|
156
|
-
test
|
157
|
-
rake release
|
158
|
-
gem:push
|
159
|
-
test
|
160
|
-
rake test
|
161
|
-
rake uninstall
|
162
|
-
rake xxx.gemspec
|
163
|
-
Changelog
|
164
|
-
Rakefile
|
165
|
-
test/test.rb
|
166
|
-
---
|
167
|
-
sample: lib/rim/version.rb
|
168
|
-
result: |
|
169
|
-
rake clean
|
170
|
-
rake clobber
|
171
|
-
clean
|
172
|
-
rake version:check
|
173
|
-
---
|
174
|
-
sample: lib/rim/yard.rb
|
175
|
-
result: |
|
176
|
-
rake clean
|
177
|
-
rake clobber
|
178
|
-
clean
|
179
|
-
rake yard
|
data/rim.gemspec
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: rim 2.17.1 ruby lib
|
3
|
-
#
|
4
|
-
# This file is automatically generated by rim.
|
5
|
-
# PLEASE DO NOT EDIT IT DIRECTLY!
|
6
|
-
# Change the values in Rim.setup in Rakefile instead.
|
7
|
-
|
8
|
-
Gem::Specification.new do |s|
|
9
|
-
s.name = "rim"
|
10
|
-
s.version = "2.17.1"
|
11
|
-
|
12
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
|
-
s.require_paths = ["lib"]
|
14
|
-
s.authors = ["Jan Friedrich"]
|
15
|
-
s.date = "2019-10-28"
|
16
|
-
s.description = "Goal is to have a project managing that just works on as many Ruby\nversions as possible and is easy to extend. Feel free to dislike it. ;)\n"
|
17
|
-
s.email = "janfri26@gmail.com"
|
18
|
-
s.files = ["./.aspell.pws", "Changelog", "Gemfile", "LICENSE", "README.rdoc", "Rakefile", "lib/rim", "lib/rim.rb", "lib/rim/aspell.rb", "lib/rim/check_version.rb", "lib/rim/core.rb", "lib/rim/gem.rb", "lib/rim/git.rb", "lib/rim/info.rb", "lib/rim/irb.rb", "lib/rim/pry.rb", "lib/rim/rdoc.rb", "lib/rim/regtest.rb", "lib/rim/release.rb", "lib/rim/rimrc.rb", "lib/rim/ripl.rb", "lib/rim/rspec.rb", "lib/rim/test.rb", "lib/rim/tire.rb", "lib/rim/version.rb", "lib/rim/yard.rb", "regtest/execution.rb", "regtest/execution.yml", "regtest/global_deps.rb", "regtest/global_deps.yml", "regtest/mod_deps.rb", "regtest/mod_deps.yml", "rim.gemspec", "test/test_helper_methods.rb"]
|
19
|
-
s.homepage = "https://github.com/janfri/rim"
|
20
|
-
s.licenses = ["MIT"]
|
21
|
-
s.rubygems_version = "3.1.0.pre2"
|
22
|
-
s.summary = "A simple project / gem manager"
|
23
|
-
|
24
|
-
if s.respond_to? :specification_version then
|
25
|
-
s.specification_version = 4
|
26
|
-
end
|
27
|
-
|
28
|
-
if s.respond_to? :add_runtime_dependency then
|
29
|
-
s.add_development_dependency(%q<rake>, [">= 0"])
|
30
|
-
s.add_development_dependency(%q<rim>, ["~> 2.17"])
|
31
|
-
s.add_development_dependency(%q<test-unit>, ["~> 3"])
|
32
|
-
s.add_development_dependency(%q<regtest>, ["~> 2"])
|
33
|
-
else
|
34
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
35
|
-
s.add_dependency(%q<rim>, ["~> 2.17"])
|
36
|
-
s.add_dependency(%q<test-unit>, ["~> 3"])
|
37
|
-
s.add_dependency(%q<regtest>, ["~> 2"])
|
38
|
-
end
|
39
|
-
end
|
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
|