svnx 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf3407b885d82f3046303ab8ceb10ec94bc06d30
4
- data.tar.gz: 2ae00cd95c6a21110d762a2fb1dd51b35febd2d7
3
+ metadata.gz: b26c875be76cfc8f01f4115645f771f25176ea74
4
+ data.tar.gz: 618146c66fb69d4787cfd324647d1f44ec6ffcc0
5
5
  SHA512:
6
- metadata.gz: e9e60a7fd8ac963f7b992bc65cddf9fc8863e58c0c118a44406ee24854b933598d3ae90a6d629bb4649703d3ea7dbfc35120913166712ff33dafc31ea172aca1
7
- data.tar.gz: 5ad12585bda46174f3313f065e44e9e5b904e8690668b623ee5d4cd0eca7e653c6fd0a24199d7248df424bfd16851d5b86fbff1f5b3dfcefcf2a3a3c2a897e99
6
+ metadata.gz: 9d43d558eef7455020f5ecce59ff3bf08fc0a79436d8f72482259c5095a38b3428b56dc25452f5724a8739d4318472cbdb7e35125b77e4bbe9a3eee750f58fd4
7
+ data.tar.gz: 05d86caa3b805f11dc0d87ddd851312ed598a1afce73c153281e70c3fd9e87fcb7ea0bd0830558272a390c2e3b782b2da9cfd137d113f09baade194617f15c82
data/lib/svnx.rb CHANGED
@@ -3,5 +3,5 @@
3
3
 
4
4
  module SVNx
5
5
  NAME = 'svnx'
6
- VERSION = '0.6.0'
6
+ VERSION = '0.6.1'
7
7
  end
@@ -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
- @name[Regexp.new('^' + @rootpath)] = ""
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.0
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-05 00:00:00.000000000 Z
11
+ date: 2013-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logue