rim 2.17.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rim
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.17.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Friedrich
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2019-10-28 00:00:00.000000000 Z
10
+ date: 2024-11-05 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -24,20 +23,6 @@ dependencies:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
25
  version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: rim
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.17'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.17'
41
26
  - !ruby/object:Gem::Dependency
42
27
  name: test-unit
43
28
  requirement: !ruby/object:Gem::Requirement
@@ -74,17 +59,14 @@ executables: []
74
59
  extensions: []
75
60
  extra_rdoc_files: []
76
61
  files:
77
- - "./.aspell.pws"
78
62
  - Changelog
79
- - Gemfile
80
63
  - LICENSE
81
- - README.rdoc
82
- - Rakefile
64
+ - README.md
83
65
  - lib/rim.rb
84
66
  - lib/rim/aspell.rb
85
67
  - lib/rim/check_version.rb
86
- - lib/rim/core.rb
87
68
  - lib/rim/gem.rb
69
+ - lib/rim/gemspec.rb
88
70
  - lib/rim/git.rb
89
71
  - lib/rim/info.rb
90
72
  - lib/rim/irb.rb
@@ -99,19 +81,10 @@ files:
99
81
  - lib/rim/tire.rb
100
82
  - lib/rim/version.rb
101
83
  - lib/rim/yard.rb
102
- - regtest/execution.rb
103
- - regtest/execution.yml
104
- - regtest/global_deps.rb
105
- - regtest/global_deps.yml
106
- - regtest/mod_deps.rb
107
- - regtest/mod_deps.yml
108
- - rim.gemspec
109
- - test/test_helper_methods.rb
110
84
  homepage: https://github.com/janfri/rim
111
85
  licenses:
112
86
  - MIT
113
87
  metadata: {}
114
- post_install_message:
115
88
  rdoc_options: []
116
89
  require_paths:
117
90
  - lib
@@ -119,15 +92,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
92
  requirements:
120
93
  - - ">="
121
94
  - !ruby/object:Gem::Version
122
- version: '0'
95
+ version: 2.4.0
123
96
  required_rubygems_version: !ruby/object:Gem::Requirement
124
97
  requirements:
125
98
  - - ">="
126
99
  - !ruby/object:Gem::Version
127
100
  version: '0'
128
101
  requirements: []
129
- rubygems_version: 3.0.3
130
- signing_key:
102
+ rubygems_version: 3.6.0.dev
131
103
  specification_version: 4
132
104
  summary: A simple project / gem manager
133
105
  test_files: []
data/.aspell.pws DELETED
@@ -1,27 +0,0 @@
1
- personal_ws-1.1 en 26
2
- ripl
3
- rimrc
4
- gemspecs
5
- irb
6
- accessors
7
- accessor
8
- FileList
9
- Bugfix
10
- dir
11
- API
12
- Gemfile
13
- Rakefile
14
- rdoc
15
- aspell
16
- pre
17
- regtest
18
- attr
19
- gemspec
20
- rb
21
- Weirich
22
- Changelog
23
- prepend
24
- rspec
25
- dep
26
- README
27
- Echoe
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