rim 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +3 -0
- data/Rakefile +1 -2
- data/lib/rim.rb +6 -5
- data/lib/rim/rimrc.rb +13 -0
- data/lib/rim/ripl.rb +8 -0
- metadata +11 -9
data/Changelog
CHANGED
data/Rakefile
CHANGED
data/lib/rim.rb
CHANGED
@@ -9,7 +9,7 @@ require 'singleton'
|
|
9
9
|
# versions as possible and is easy to extend. Feel free to dislike it. ;)
|
10
10
|
class Rim
|
11
11
|
|
12
|
-
VERSION = '1.
|
12
|
+
VERSION = '1.3.0'
|
13
13
|
|
14
14
|
begin
|
15
15
|
require 'rake/dsl_definition'
|
@@ -18,7 +18,8 @@ class Rim
|
|
18
18
|
end
|
19
19
|
include Singleton
|
20
20
|
|
21
|
-
# Setting the default values of attributes. Useful when writing Rim
|
21
|
+
# Setting the default values of attributes. Useful when writing Rim
|
22
|
+
# extensions.
|
22
23
|
# The block is evaluated in Rim.instance when no parameter is used.
|
23
24
|
# Otherwise the method yields Rim.instance.
|
24
25
|
def self.defaults(&blk)
|
@@ -30,8 +31,8 @@ class Rim
|
|
30
31
|
end
|
31
32
|
end
|
32
33
|
|
33
|
-
# Setting up Rim. This method is usual used in Rakefiles to setting
|
34
|
-
# values of the Rim instance.
|
34
|
+
# Setting up Rim. This method is usual used in Rakefiles to setting
|
35
|
+
# the project specific values of the Rim instance.
|
35
36
|
# The block is evaluated in Rim.instance when no parameter is used.
|
36
37
|
# Otherwise the method yields Rim.instance.
|
37
38
|
def self.setup(&blk)
|
@@ -46,7 +47,7 @@ class Rim
|
|
46
47
|
|
47
48
|
# The block is executed after setup is completed.
|
48
49
|
# Useful when writing rim extensions.
|
49
|
-
# At execution time the Rim instance is
|
50
|
+
# At execution time the Rim instance is complete initialized.
|
50
51
|
def self.after_setup(&blk)
|
51
52
|
@definitions << blk
|
52
53
|
end
|
data/lib/rim/rimrc.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# -- encoding: utf-8 --
|
2
|
+
|
3
|
+
# Load ~/.rimrc if it exist
|
4
|
+
home = if Dir.respond_to? :home
|
5
|
+
Dir.home
|
6
|
+
else
|
7
|
+
# This will hopefully work on *NIX and Windows systems
|
8
|
+
ENV['HOME'] || ENV['HOMEDRIVE'] + ENV['HOMEPATH'] || ENV['USERPROFILE']
|
9
|
+
end
|
10
|
+
rimrc = File.join(home, '.rimrc')
|
11
|
+
if File.exist?(rimrc)
|
12
|
+
load rimrc
|
13
|
+
end
|
data/lib/rim/ripl.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'Goal is to have a project managing that just works on many Ruby
|
15
15
|
|
@@ -25,17 +25,19 @@ files:
|
|
25
25
|
- Changelog
|
26
26
|
- LICENSE
|
27
27
|
- Rakefile
|
28
|
-
- lib/rim
|
29
|
-
- lib/rim/
|
28
|
+
- lib/rim.rb
|
29
|
+
- lib/rim/release.rb
|
30
30
|
- lib/rim/gem.rb
|
31
|
-
- lib/rim/
|
31
|
+
- lib/rim/rimrc.rb
|
32
32
|
- lib/rim/info.rb
|
33
|
-
- lib/rim/install.rb
|
34
33
|
- lib/rim/irb.rb
|
35
34
|
- lib/rim/rdoc.rb
|
36
|
-
- lib/rim/
|
35
|
+
- lib/rim/install.rb
|
36
|
+
- lib/rim/check_version.rb
|
37
|
+
- lib/rim/ripl.rb
|
37
38
|
- lib/rim/test.rb
|
38
|
-
- lib/rim.rb
|
39
|
+
- lib/rim/git.rb
|
40
|
+
- lib/rim/core.rb
|
39
41
|
- test/test_helper_methods.rb
|
40
42
|
homepage: http://gitorious.org/rim
|
41
43
|
licenses: []
|
@@ -57,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
59
|
version: '0'
|
58
60
|
requirements: []
|
59
61
|
rubyforge_project:
|
60
|
-
rubygems_version: 1.8.
|
62
|
+
rubygems_version: 1.8.17
|
61
63
|
signing_key:
|
62
64
|
specification_version: 3
|
63
65
|
summary: A simple project / gem manager
|