rim 1.6.2 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog +9 -0
- data/lib/rim.rb +1 -1
- data/lib/rim/git.rb +5 -5
- data/lib/rim/rimrc.rb +7 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5abb82c02392dbbe666b7c043161f434afad62eb
|
4
|
+
data.tar.gz: eb29ec2b95579da76f02868b17632c96b904764b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aba9c20ebc7f3ed15a684cec01b82a2c3ba1586c6fa6cb0f2278b9cc480e72f737ae4acc555d219e7aa976bd5288b5348cc31577fdd4f554d7cad6df97390b7a
|
7
|
+
data.tar.gz: 00e76ac3bd7911e4d13271f5b9795bf737fcc92996d06c620732861d128c5e87110f29f007bf0a9303af52f2406a3c2f9df04ddc08d6a8d8d73ddd8ec170792f
|
data/Changelog
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
1.7.0
|
2
|
+
Remove option git_remotes for git_push_commands.
|
3
|
+
This brings a much more flexible way to do things
|
4
|
+
in git:push. PLease update your ~/.rimrc if
|
5
|
+
necessary.
|
6
|
+
Adding support for local .rimrc files. Now ~/.rimrc
|
7
|
+
is first loaded if it exists and then .rimrc is
|
8
|
+
loaded if it exists.
|
9
|
+
|
1
10
|
1.6.2
|
2
11
|
Make git tasks independant from current
|
3
12
|
locale and push tags.
|
data/lib/rim.rb
CHANGED
data/lib/rim/git.rb
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
require 'rim/release'
|
3
3
|
|
4
4
|
class Rim
|
5
|
-
# Git
|
6
|
-
attr_accessor :
|
5
|
+
# Git push commands (default: <tt>['--tags origin master']</tt>)
|
6
|
+
attr_accessor :git_push_commands
|
7
7
|
end
|
8
8
|
|
9
9
|
Rim.defaults do
|
10
|
-
|
10
|
+
git_push_commands ['--tags origin master']
|
11
11
|
end
|
12
12
|
|
13
13
|
Rim.after_setup do
|
@@ -28,8 +28,8 @@ Rim.after_setup do
|
|
28
28
|
end
|
29
29
|
desc 'Push master to git remotes'
|
30
30
|
task :push => :check do
|
31
|
-
|
32
|
-
sh "git push
|
31
|
+
git_push_commands.each do |cmd|
|
32
|
+
sh "git push #{cmd}"
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
data/lib/rim/rimrc.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -- encoding: utf-8 --
|
2
2
|
|
3
|
-
# Load ~/.rimrc if it
|
3
|
+
# Load ~/.rimrc if it exists
|
4
4
|
home = if Dir.respond_to? :home
|
5
5
|
Dir.home
|
6
6
|
else
|
@@ -11,3 +11,9 @@ rimrc = File.join(home, '.rimrc')
|
|
11
11
|
if File.exist?(rimrc)
|
12
12
|
load rimrc
|
13
13
|
end
|
14
|
+
|
15
|
+
# Load local .rimrc if it exists
|
16
|
+
rimrc = '.rimrc'
|
17
|
+
if File.exist?(rimrc)
|
18
|
+
load rimrc
|
19
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Friedrich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rim
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.7.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.7.0
|
27
27
|
description: |
|
28
28
|
Goal is to have a project managing that just works on many Ruby
|
29
29
|
versions as possible and is easy to extend. Feel free to dislike it. ;)
|