svnx 2.3.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/svnx/log/entry.rb +10 -8
- data/lib/svnx/version.rb +1 -1
- data/svnx.gemspec +1 -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: 520e01a3b50f0db39d0dedcc9af1d4134128a139
|
4
|
+
data.tar.gz: 33eb076b2f6acac9537433c912dc2f1d38002ebb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 578d7cbbfc9624a929d565bc6ac04d4d57fc768456a2058617cde404eb7ec36ef14c774f86effe296bfb90b3bc1a3b958fe726f337034f8e64fc0b14d68fe306
|
7
|
+
data.tar.gz: 065360d70d43f4d3b8f958ceb74f5f0ae9fa2bbd2e73097c5e0aad47f4e61bd4f40949f4d919e75c6381984b5f979ca8910a693888be369137118b685194bfab
|
data/lib/svnx/log/entry.rb
CHANGED
@@ -13,24 +13,26 @@ end
|
|
13
13
|
|
14
14
|
module Svnx::Log
|
15
15
|
class Entry < Svnx::Base::Entry
|
16
|
-
attr_reader :revision, :author, :date, :paths, :msg
|
16
|
+
attr_reader :revision, :reverse_merge, :author, :date, :paths, :msg, :entries
|
17
17
|
|
18
18
|
def set_from_element elmt
|
19
19
|
set_attr_var elmt, 'revision'
|
20
|
-
|
20
|
+
@reverse_merge = attribute_value elmt, 'reverse-merge'
|
21
21
|
|
22
|
-
|
22
|
+
set_elmt_vars elmt, 'author', 'date', 'msg'
|
23
23
|
|
24
|
-
|
24
|
+
# sort, because Subversion is not consistent with order
|
25
|
+
@paths = elmt.elements.to_a('paths/path').collect do |pe|
|
25
26
|
kind = attribute_value pe, 'kind'
|
26
27
|
action = attribute_value pe, 'action'
|
27
28
|
name = pe.text
|
28
29
|
|
29
|
-
|
30
|
+
EntryPath.new(kind: kind, action: Svnx::Action.new(action), name: name)
|
31
|
+
end.sort
|
32
|
+
|
33
|
+
@entries = elmt.elements.to_a('logentry').collect do |le|
|
34
|
+
Entry.new le
|
30
35
|
end
|
31
|
-
|
32
|
-
# Svn isn't consistent with the order of paths
|
33
|
-
@paths.sort!
|
34
36
|
end
|
35
37
|
|
36
38
|
def message
|
data/lib/svnx/version.rb
CHANGED
data/svnx.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_runtime_dependency "command-cacheable", "~> 0.2"
|
31
31
|
spec.add_development_dependency "bundler", "~> 1.12"
|
32
32
|
spec.add_development_dependency "rake", "~> 10.0"
|
33
|
-
spec.add_development_dependency "logue", "~> 1.0.
|
33
|
+
spec.add_development_dependency "logue", "~> 1.0.16"
|
34
34
|
spec.add_development_dependency "test-unit", "~> 3.1.5"
|
35
35
|
spec.add_development_dependency "paramesan", "~> 0.1.1"
|
36
36
|
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.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Pace
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: command-cacheable
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.0.
|
61
|
+
version: 1.0.16
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.0.
|
68
|
+
version: 1.0.16
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: test-unit
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|