svnx 2.5.0 → 2.5.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: c874ec9268528dbc63a6357a0183e9fae50adf52
4
- data.tar.gz: c58d74793a24e79f12a70e57c3ddd2408e86a8db
3
+ metadata.gz: 43c20f09ea9a2d73a957891b920f11fb81aad6a9
4
+ data.tar.gz: a1b8ddf48dcbd2e7f215a2240d8a9fe80a68d42a
5
5
  SHA512:
6
- metadata.gz: 2f55486032214b0bd5dacc429bc7596d37599bd1c0dbd02ee039ac21eab702546663363e0f894c2e75ff8c1dc0239536b75a79516c6c3831008b8edb7ecd8cb7
7
- data.tar.gz: c6925299e2740810633112b502b6e5bbd6e95048ffe090e14001c58f83051814522eea553d1078d8901c48431cde2f341cb8fdf1d3c5c8358e807caf266fdb05
6
+ metadata.gz: d67efcf193d19c0519c6b2a273bc62c89f59647a5f33febaff3d3d0d20b259b12d6a9d9427acbf6e7dc36ea643ca3a83803a3093e62079489acdad062476fb01
7
+ data.tar.gz: 22d2157de2f07b6fd322ee3814d29b9746cbad8e94e0f79f7286e3ee04f05b793773cffb37dd570e9732f06adb5146f9ed3666eabe27d2eaf6e4ae2bcebce763
@@ -30,7 +30,7 @@ module Svnx::Base
30
30
 
31
31
  def initialize options, cmdlinecls: nil, optcls: nil, xml: false, caching: caching?
32
32
  factory = CommandFactory.new
33
-
33
+
34
34
  params = factory.create self.class, cmdlinecls: cmdlinecls, optcls: optcls
35
35
 
36
36
  optcls ||= params.options
@@ -62,7 +62,7 @@ module Svnx::Base
62
62
  modl::Entries
63
63
  end
64
64
 
65
- @entries = entries_class.new lines: @output
65
+ @entries = entries_class.new @output
66
66
  end
67
67
  end
68
68
  end
@@ -28,6 +28,8 @@ module Svnx::Base
28
28
  modl::Options
29
29
  end
30
30
 
31
+ cmdlinecls ||= CommandLine
32
+
31
33
  CommandParams.new options: optcls, subcommand: melements[-1].downcase, cmdline: cmdlinecls
32
34
  end
33
35
  end
@@ -25,7 +25,7 @@ module Svnx::Base
25
25
  # it's a hash, but indexed with integers, for non-sequential access:
26
26
  @entries = Hash.new
27
27
  doc = if $use_nokogiri
28
- Nokogiri::XML Array(lines).join
28
+ Nokogiri::XML lines.join('')
29
29
  else
30
30
  REXML::Document.new Array(lines).join
31
31
  end
data/lib/svnx/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
 
4
4
  module Svnx
5
5
  NAME = 'svnx'
6
- VERSION = '2.5.0'
6
+ VERSION = '2.5.1'
7
7
  end
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: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Pace
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-23 00:00:00.000000000 Z
11
+ date: 2019-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: command-cacheable