rim 2.18.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.aspell.pws DELETED
@@ -1,29 +0,0 @@
1
- personal_ws-1.1 en 28
2
- API
3
- Bugfix
4
- Changelog
5
- Echoe
6
- FileList
7
- Gemfile
8
- README
9
- Rakefile
10
- Weirich
11
- accessor
12
- accessors
13
- aspell
14
- attr
15
- bindir
16
- dep
17
- dir
18
- executables
19
- gemspec
20
- gemspecs
21
- irb
22
- pre
23
- prepend
24
- rb
25
- rdoc
26
- regtest
27
- rimrc
28
- ripl
29
- rspec
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
data/README.rdoc DELETED
@@ -1,70 +0,0 @@
1
- == Rim a super simple ruby project / gem manager
2
-
3
- Goal is to have a project managing that just works on many Ruby
4
- versions as possible and is easy to extend. Feel free to dislike it. ;)
5
-
6
- === Use for project management
7
-
8
- Minimal Rakefile:
9
- require 'rim'
10
- require 'rim/gem'
11
- # require 'rim/...'
12
-
13
- Rim.setup do
14
- name 'my_project'
15
- authors 'me'
16
- version '1.0.0'
17
- end
18
-
19
- For advanced usage have a look at the Rakefile of rim.
20
-
21
-
22
- === Writing an extension
23
-
24
- * Extend the class Rim with +attr_accessors+ for new attributes if needed.
25
- * Set default values use +Rim.defaults+.
26
- * Define tasks with +Rim.after_setup+.
27
-
28
- A very simple example extension:
29
- # require other extensions if necessary
30
-
31
- require 'rim/another_extension'
32
-
33
- # Extend the class
34
-
35
- class Rim
36
- # Attribute for somewhat (default: 42)
37
- attr_accessor :my_attr
38
- end
39
-
40
- # Setting default values
41
-
42
- Rim.defaults do
43
- my_attr 42
44
- end
45
-
46
- # Stuff to execute after setting the defaults and calling Rim.setup in Rakefile.
47
- # Usual for defining tasks.
48
-
49
- Rim.after_setup do
50
- task :my_task => :another_task do
51
- # stuff
52
- end
53
- end
54
-
55
- For more examples have a look at the tasks coming with rim in lib/rim/*.rb
56
-
57
- === Similar projects
58
-
59
- * https://github.com/seattlerb/hoe
60
- * https://github.com/evan/echoe
61
-
62
- === Credits
63
-
64
- [<b>Jim Weirich</b>] For written the great Rake. (Sad that he is already gone.)
65
-
66
- [<b>Ryan Davis</b> and <b>Evan Weaver</b>] For their inspirations in Hoe respectively Echoe.
67
-
68
- === License
69
-
70
- MIT-style license, see file LICENSE.
data/Rakefile DELETED
@@ -1,27 +0,0 @@
1
- $:.unshift File.dirname(__FILE__) + '/lib'
2
- require 'rim'
3
- require 'rim/aspell'
4
- require 'rim/gem'
5
- require 'rim/git'
6
- require 'rim/info'
7
- require 'rim/rdoc'
8
- require 'rim/regtest'
9
- require 'rim/release'
10
- require 'rim/test'
11
- require 'rim/version'
12
-
13
- Rim.setup do
14
- name 'rim'
15
- authors 'Jan Friedrich'
16
- email 'janfri26@gmail.com'
17
- license 'MIT'
18
- homepage 'https://github.com/janfri/rim'
19
- version Rim::VERSION
20
- summary 'A simple project / gem manager'
21
- description <<-END
22
- Goal is to have a project managing that just works on as many Ruby
23
- versions as possible and is easy to extend. Feel free to dislike it. ;)
24
- END
25
- development_dependencies << %w(test-unit ~>3)
26
- run_regtest_before_release false
27
- end
data/lib/rim/core.rb DELETED
@@ -1,21 +0,0 @@
1
- # encoding: utf-8
2
- class Rim
3
- # Name of the project / gem
4
- attr_accessor :name
5
-
6
- # Authors of the project / gem
7
- attr_accessor :authors
8
-
9
- # Project / gem version
10
- attr_accessor :version
11
-
12
- # Paths for require to load the lib (default: <code>['lib']</code>
13
- attr_accessor :require_paths
14
-
15
- alias author authors
16
- alias author= authors=
17
- end
18
-
19
- Rim.defaults do |r|
20
- r.require_paths = ['lib']
21
- end
data/regtest/execution.rb DELETED
@@ -1,15 +0,0 @@
1
- # encoding: utf-8
2
- require 'regtest'
3
-
4
- `rake clobber`
5
- `rake -T`.split(/\n/).map {|line| line.split(/#/).first.strip}.each do |cmd|
6
- next if cmd =~ /(regtest)|(irb)|(pry)|(ripl)/
7
- cmd.sub! /rake/, 'rake -n'
8
- Regtest.sample cmd do
9
- res = `#{cmd} 2>&1`.gsub %r{(?<=pkg/rim-)(.+)(?=\.gem)}, 'x.x.x'
10
- res.split(/\n/).grep(/Execute/)
11
- end
12
- end
13
-
14
-
15
-
@@ -1,135 +0,0 @@
1
- ---
2
- sample: rake -n aspell
3
- result:
4
- - "** Execute (dry run) aspell"
5
- ---
6
- sample: rake -n aspell:check
7
- result:
8
- - "** Execute (dry run) aspell:check"
9
- ---
10
- sample: rake -n clean
11
- result:
12
- - "** Execute (dry run) clean"
13
- ---
14
- sample: rake -n clobber
15
- result:
16
- - "** Execute (dry run) clean"
17
- - "** Execute (dry run) clobber_rdoc"
18
- - "** Execute (dry run) clobber"
19
- ---
20
- sample: rake -n clobber_rdoc
21
- result:
22
- - "** Execute (dry run) clobber_rdoc"
23
- ---
24
- sample: rake -n gem
25
- result:
26
- - "** Execute (dry run) gem:spec"
27
- - "** Execute (dry run) test"
28
- - "** Execute (dry run) pkg"
29
- - "** Execute (dry run) pkg/rim-x.x.x.gem"
30
- - "** Execute (dry run) gem:build"
31
- - "** Execute (dry run) gem"
32
- ---
33
- sample: rake -n gem:push
34
- result:
35
- - "** Execute (dry run) aspell:check"
36
- - "** Execute (dry run) git:check"
37
- - "** Execute (dry run) gem:spec"
38
- - "** Execute (dry run) test"
39
- - "** Execute (dry run) pkg"
40
- - "** Execute (dry run) pkg/rim-x.x.x.gem"
41
- - "** Execute (dry run) gem:build"
42
- - "** Execute (dry run) gem"
43
- - "** Execute (dry run) version:check"
44
- - "** Execute (dry run) gem:push"
45
- ---
46
- sample: rake -n gem:spec
47
- result:
48
- - "** Execute (dry run) gem:spec"
49
- ---
50
- sample: rake -n git:check
51
- result:
52
- - "** Execute (dry run) aspell:check"
53
- - "** Execute (dry run) git:check"
54
- ---
55
- sample: rake -n git:push
56
- result:
57
- - "** Execute (dry run) aspell:check"
58
- - "** Execute (dry run) git:check"
59
- - "** Execute (dry run) git:push"
60
- ---
61
- sample: rake -n git:tag
62
- result:
63
- - "** Execute (dry run) aspell:check"
64
- - "** Execute (dry run) git:check"
65
- - "** Execute (dry run) gem:spec"
66
- - "** Execute (dry run) test"
67
- - "** Execute (dry run) pkg"
68
- - "** Execute (dry run) pkg/rim-x.x.x.gem"
69
- - "** Execute (dry run) gem:build"
70
- - "** Execute (dry run) gem"
71
- - "** Execute (dry run) version:check"
72
- - "** Execute (dry run) gem:push"
73
- - "** Execute (dry run) git:tag"
74
- ---
75
- sample: rake -n info
76
- result:
77
- - "** Execute (dry run) info"
78
- ---
79
- sample: rake -n install
80
- result:
81
- - "** Execute (dry run) gem:spec"
82
- - "** Execute (dry run) test"
83
- - "** Execute (dry run) pkg"
84
- - "** Execute (dry run) pkg/rim-x.x.x.gem"
85
- - "** Execute (dry run) gem:build"
86
- - "** Execute (dry run) gem"
87
- - "** Execute (dry run) install"
88
- ---
89
- sample: rake -n prepare_release
90
- result:
91
- - "** Execute (dry run) aspell:check"
92
- - "** Execute (dry run) test"
93
- - "** Execute (dry run) gem:spec"
94
- - "** Execute (dry run) version:check"
95
- - "** Execute (dry run) prepare_release"
96
- ---
97
- sample: rake -n rdoc
98
- result:
99
- - "** Execute (dry run) doc/created.rid"
100
- - "** Execute (dry run) rdoc"
101
- ---
102
- sample: rake -n release
103
- result:
104
- - "** Execute (dry run) aspell:check"
105
- - "** Execute (dry run) gem:spec"
106
- - "** Execute (dry run) git:check"
107
- - "** Execute (dry run) test"
108
- - "** Execute (dry run) pkg"
109
- - "** Execute (dry run) pkg/rim-x.x.x.gem"
110
- - "** Execute (dry run) gem:build"
111
- - "** Execute (dry run) gem"
112
- - "** Execute (dry run) version:check"
113
- - "** Execute (dry run) gem:push"
114
- - "** Execute (dry run) git:tag"
115
- - "** Execute (dry run) release"
116
- ---
117
- sample: rake -n rerdoc
118
- result:
119
- - "** Execute (dry run) clobber_rdoc"
120
- - "** Execute (dry run) doc/created.rid"
121
- - "** Execute (dry run) rdoc"
122
- - "** Execute (dry run) rerdoc"
123
- ---
124
- sample: rake -n test
125
- result:
126
- - "** Execute (dry run) test"
127
- ---
128
- sample: rake -n uninstall
129
- result:
130
- - "** Execute (dry run) uninstall"
131
- ---
132
- sample: rake -n version:check
133
- result:
134
- - "** Execute (dry run) gem:spec"
135
- - "** Execute (dry run) version:check"
@@ -1,6 +0,0 @@
1
- # encoding: utf-8
2
- require 'regtest'
3
-
4
- Regtest.sample 'rake -P' do
5
- `rake -P SELFTEST=true`.gsub %r{(?<=pkg/rim-)(.+)(?=\.gem)}, 'x.x.x'
6
- end
@@ -1,112 +0,0 @@
1
- ---
2
- sample: rake -P
3
- result: |
4
- rake aspell
5
- rake aspell:check
6
- rake clean
7
- rake clobber
8
- clean
9
- clobber_rdoc
10
- rake clobber_rdoc
11
- rake default
12
- test
13
- rake doc
14
- rake doc/created.rid
15
- README.rdoc
16
- lib/rim
17
- lib/rim.rb
18
- lib/rim/aspell.rb
19
- lib/rim/check_version.rb
20
- lib/rim/core.rb
21
- lib/rim/gem.rb
22
- lib/rim/git.rb
23
- lib/rim/info.rb
24
- lib/rim/irb.rb
25
- lib/rim/pry.rb
26
- lib/rim/rdoc.rb
27
- lib/rim/regtest.rb
28
- lib/rim/release.rb
29
- lib/rim/rimrc.rb
30
- lib/rim/ripl.rb
31
- lib/rim/rspec.rb
32
- lib/rim/test.rb
33
- lib/rim/tire.rb
34
- lib/rim/version.rb
35
- lib/rim/yard.rb
36
- Rakefile
37
- rake gem
38
- gem:build
39
- test
40
- rake gem:build
41
- spec
42
- test
43
- pkg/rim-x.x.x.gem
44
- rake gem:push
45
- gem
46
- git:check
47
- version:check
48
- rake gem:spec
49
- rim.gemspec
50
- rake git:check
51
- aspell:check
52
- rake git:push
53
- check
54
- rake git:tag
55
- gem:push
56
- rake info
57
- rake install
58
- gem
59
- rake pkg
60
- rake pkg/rim-x.x.x.gem
61
- pkg
62
- rim.gemspec
63
- rake prepare_release
64
- aspell:check
65
- test
66
- version:check
67
- rake rdoc
68
- doc/created.rid
69
- rake regtest
70
- rake release
71
- aspell:check
72
- gem:push
73
- gem:spec
74
- git:check
75
- git:tag
76
- test
77
- version:check
78
- rake rerdoc
79
- clobber_rdoc
80
- rdoc
81
- rake rim.gemspec
82
- README.rdoc
83
- Changelog
84
- LICENSE
85
- Rakefile
86
- Gemfile
87
- lib/rim
88
- lib/rim.rb
89
- lib/rim/aspell.rb
90
- lib/rim/check_version.rb
91
- lib/rim/core.rb
92
- lib/rim/gem.rb
93
- lib/rim/git.rb
94
- lib/rim/info.rb
95
- lib/rim/irb.rb
96
- lib/rim/pry.rb
97
- lib/rim/rdoc.rb
98
- lib/rim/regtest.rb
99
- lib/rim/release.rb
100
- lib/rim/rimrc.rb
101
- lib/rim/ripl.rb
102
- lib/rim/rspec.rb
103
- lib/rim/test.rb
104
- lib/rim/tire.rb
105
- lib/rim/version.rb
106
- lib/rim/yard.rb
107
- test/test_helper_methods.rb
108
- ./.aspell.pws
109
- rake test
110
- rake uninstall
111
- rake version:check
112
- gem:spec
data/regtest/mod_deps.rb DELETED
@@ -1,41 +0,0 @@
1
- # encoding: utf-8
2
- require 'regtest'
3
- require 'fileutils'
4
- require 'tmpdir'
5
-
6
- RakefileHeader = <<-END
7
- require 'rim'
8
- END
9
-
10
- RakefileFooter = <<-END
11
-
12
- Rim.setup do
13
- name 'xxx'
14
- version '0.0.1'
15
- end
16
- END
17
-
18
- Changelog = <<-END
19
- 0.0.1
20
- First Version
21
- END
22
-
23
- lib_path = File.expand_path('lib')
24
-
25
- Dir['lib/rim/*.rb'].sort.each do |fn|
26
- next if fn =~/rimrc/
27
- Regtest.sample fn do
28
- Dir.chdir(Dir.tmpdir) do
29
- File.write 'Changelog', Changelog
30
- FileUtils.mkdir_p('test')
31
- FileUtils.touch('test/test.rb')
32
- File.open('Rakefile', 'w') do |f|
33
- f.write RakefileHeader
34
- mod = File.basename(fn, '.rb')
35
- f.write "require 'rim/#{mod}'\n"
36
- f.write RakefileFooter
37
- end
38
- `rake -I #{lib_path} -P -- SELFTEST=true`
39
- end
40
- end
41
- end
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,31 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # stub: rim 2.18.0 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.18.0"
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.bindir = "exe"
16
- s.date = "2024-10-29"
17
- 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"
18
- s.email = "janfri26@gmail.com"
19
- 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"]
20
- s.homepage = "https://github.com/janfri/rim"
21
- s.licenses = ["MIT"]
22
- s.rubygems_version = "3.6.0.dev"
23
- s.summary = "A simple project / gem manager"
24
-
25
- s.specification_version = 4
26
-
27
- s.add_development_dependency(%q<rake>, [">= 0"])
28
- s.add_development_dependency(%q<rim>, ["~> 2.18"])
29
- s.add_development_dependency(%q<test-unit>, ["~> 3"])
30
- s.add_development_dependency(%q<regtest>, ["~> 2"])
31
- end