esr-rim 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -1
- data/README.md +1 -0
- data/Rakefile +1 -1
- data/lib/rim/git.rb +1 -1
- data/lib/rim/sync_helper.rb +1 -1
- data/lib/rim/upload_helper.rb +3 -1
- data/lib/rim/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -92,4 +92,8 @@
|
|
92
92
|
# 1.3.3
|
93
93
|
|
94
94
|
* No more placing .rim into the workspace if HOME is being set: using a unique folder under HOME/.rim for each workspace
|
95
|
-
|
95
|
+
|
96
|
+
# 1.3.4
|
97
|
+
|
98
|
+
* fixed Issue #12: Exception when rebase is in progress
|
99
|
+
* fixed Issue #3: Set homepage in gem info properly
|
data/README.md
CHANGED
@@ -5,6 +5,7 @@ RIM lets you work with multiple git repositories from within one single git repo
|
|
5
5
|
# RIM User Guide
|
6
6
|
|
7
7
|
> From RIM version 1.1.4 it is no more necessary to set the global git autocrlf option to false on Windows platforms. If you don't have other reasons you might want to set it back to the recommended value (which is true).
|
8
|
+
|
8
9
|
> From RIM version 1.3.3 the temporary directory used for git repositories is no more placed into the workspace. If the HOME environment variable is set it will be placed into a unique directory under $HOME/.rim
|
9
10
|
|
10
11
|
## Concept
|
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ RTextGemSpec = Gem::Specification.new do |s|
|
|
15
15
|
s.summary = "RIM - multi git tool"
|
16
16
|
s.description = "RIM lets you work with multiple git repositories from within one single git repository."
|
17
17
|
s.authors = "ESR Labs AG"
|
18
|
-
s.homepage = "http://
|
18
|
+
s.homepage = "http://github.com/esrlabs/esr-rim"
|
19
19
|
s.add_dependency('subcommand', '>= 1.0.6')
|
20
20
|
gemfiles = Rake::FileList.new
|
21
21
|
gemfiles.include("{lib,test}/**/*")
|
data/lib/rim/git.rb
CHANGED
data/lib/rim/sync_helper.rb
CHANGED
@@ -22,7 +22,7 @@ class SyncHelper < CommandHelper
|
|
22
22
|
def sync(message = nil, rebase = nil, split = true)
|
23
23
|
# get the name of the current workspace branch
|
24
24
|
RIM::git_session(@ws_root) do |s|
|
25
|
-
branch = s.current_branch
|
25
|
+
branch = s.current_branch || ''
|
26
26
|
rim_branch = "rim/" + branch
|
27
27
|
branch_sha1 = nil
|
28
28
|
changed_modules = nil
|
data/lib/rim/upload_helper.rb
CHANGED
@@ -16,7 +16,9 @@ class UploadHelper < CommandHelper
|
|
16
16
|
# get the name of the current workspace branch
|
17
17
|
RIM::git_session(@ws_root) do |s|
|
18
18
|
branch = s.current_branch
|
19
|
-
if
|
19
|
+
if branch.nil?
|
20
|
+
raise RimException.new("Not on a git branch.")
|
21
|
+
elsif !branch.start_with?("rim/")
|
20
22
|
begin
|
21
23
|
sha1 = s.rev_sha1(branch)
|
22
24
|
@logger.info("Uploading modules...")
|
data/lib/rim/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: esr-rim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
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: 2016-11-
|
12
|
+
date: 2016-11-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: subcommand
|
@@ -87,7 +87,7 @@ files:
|
|
87
87
|
- CHANGELOG
|
88
88
|
- Rakefile
|
89
89
|
- bin/rim
|
90
|
-
homepage: http://
|
90
|
+
homepage: http://github.com/esrlabs/esr-rim
|
91
91
|
licenses: []
|
92
92
|
post_install_message:
|
93
93
|
rdoc_options:
|