codespicuous 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codespicuous/svn_client.rb +1 -1
- data/lib/codespicuous/version.rb +1 -1
- data/spec/svn_client_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9379428b6cb144a43717aa71bcd93ca85f078b4
|
4
|
+
data.tar.gz: 75eef51c8c5aeb3db60eb6c1a19181f7748aece7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5002c811d2e23ab4b971af34232b721354f3daecdae2c6473eb1ac81773355344eecf4e5902bbe07d6580079761f4e9e11bb21510eb58bb61e562e3e434265cb
|
7
|
+
data.tar.gz: a2a5dfdf61f318279c9a8872af6602fb7ad4bd62e2e77bb2b675d8e99475acb79ab8622daf09a877608f50e8b58a1a6c604894ee80ce1d260cf78d1d24bce674
|
@@ -8,7 +8,7 @@ class SVNClient
|
|
8
8
|
|
9
9
|
def log_xml(from, to)
|
10
10
|
AttemptTo.attempt_to('svn log: "' + @repository + '"', 5) {
|
11
|
-
CommandRunner.run("svn log #{@repository} -r{#{from.strftime("%Y-%m-%d")}}:{#{to.strftime("%Y-%m-%d")}} --xml")
|
11
|
+
CommandRunner.run("svn log #{@repository} -r{#{from.strftime("%Y-%m-%d")}}:{#{to.strftime("%Y-%m-%d")}} --xml --non-interactive ")
|
12
12
|
}
|
13
13
|
end
|
14
14
|
end
|
data/lib/codespicuous/version.rb
CHANGED
data/spec/svn_client_spec.rb
CHANGED
@@ -8,7 +8,7 @@ describe "Interface towards the command line svn" do
|
|
8
8
|
now = DateTime.new(1978)
|
9
9
|
|
10
10
|
expect(AttemptTo).to receive(:attempt_to).with('svn log: "Heh"', 5).and_yield
|
11
|
-
expect(CommandRunner).to receive(:run).with("svn log Heh -r{1977-01-01}:{1978-01-01} --xml").and_return(xmllog)
|
11
|
+
expect(CommandRunner).to receive(:run).with("svn log Heh -r{1977-01-01}:{1978-01-01} --xml --non-interactive ").and_return(xmllog)
|
12
12
|
|
13
13
|
svn.repository("Heh")
|
14
14
|
expect(svn.log_xml(now.prev_year, now)).to eq(xmllog)
|