svnx 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/svnx.rb +1 -1
- data/lib/svnx/status/entry.rb +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b26c875be76cfc8f01f4115645f771f25176ea74
|
4
|
+
data.tar.gz: 618146c66fb69d4787cfd324647d1f44ec6ffcc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d43d558eef7455020f5ecce59ff3bf08fc0a79436d8f72482259c5095a38b3428b56dc25452f5724a8739d4318472cbdb7e35125b77e4bbe9a3eee750f58fd4
|
7
|
+
data.tar.gz: 05d86caa3b805f11dc0d87ddd851312ed598a1afce73c153281e70c3fd9e87fcb7ea0bd0830558272a390c2e3b782b2da9cfd137d113f09baade194617f15c82
|
data/lib/svnx.rb
CHANGED
data/lib/svnx/status/entry.rb
CHANGED
@@ -8,7 +8,7 @@ module SVNx; module Status; end; end
|
|
8
8
|
|
9
9
|
module SVNx::Status
|
10
10
|
class Entry < SVNx::Entry
|
11
|
-
include Comparable
|
11
|
+
include Comparable, Logue::Loggable
|
12
12
|
|
13
13
|
attr_reader :status
|
14
14
|
attr_reader :path
|
@@ -33,8 +33,14 @@ module SVNx::Status
|
|
33
33
|
commit = wcstatus.elements['commit']
|
34
34
|
@commit_revision = commit && commit.attributes['revision']
|
35
35
|
@name = @path.dup
|
36
|
+
|
37
|
+
info "@name: #{@name}"
|
38
|
+
info "@path: #{@path}"
|
39
|
+
info "@rootpath: #{@rootpath}"
|
40
|
+
|
36
41
|
if @rootpath
|
37
|
-
|
42
|
+
# name is prefixed with directory unless '.' is used as the argument
|
43
|
+
@name.sub! Regexp.new('^' + @rootpath), ''
|
38
44
|
end
|
39
45
|
end
|
40
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svnx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Pace
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logue
|