ohloh_scm 3.0.7 → 3.0.12
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/ohloh_scm/bzr/activity.rb +1 -1
- data/lib/ohloh_scm/git/scm.rb +1 -1
- data/lib/ohloh_scm/git_svn/activity.rb +4 -4
- data/lib/ohloh_scm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b32be744bc5684422dfeef8a919b22d68e6ae6a79cc84b52e9a0d127f64d063f
|
4
|
+
data.tar.gz: a014a5ff88ed596881dd549dade0b5773bd7e9628d3be8401df9aa9473831b70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77b6d8b83597f278826e59a619c2cb73cd115ad1c8051dc10f555894abc9bce82a1f6ef57398bed40394242b54566849acaa8146e931fa7610d1523f7e54bc88
|
7
|
+
data.tar.gz: 62f122295f3b8768f373f66820fdf1259b3fdfff6f5cc7e47ad50742f11e3d1b04195797c103d09bd2842cb8ca897b005fcdcc1aa806e38c076e925c4ebaf04c
|
@@ -23,7 +23,7 @@ module OhlohScm
|
|
23
23
|
# rubocop:enable Metrics/MethodLength
|
24
24
|
|
25
25
|
def export_tag(dest_dir, tag_name)
|
26
|
-
run "cd '#{
|
26
|
+
run "cd '#{url}' && bzr export -r #{tag_name} #{dest_dir}"
|
27
27
|
end
|
28
28
|
|
29
29
|
def export(dest_dir, token = head_token)
|
data/lib/ohloh_scm/git/scm.rb
CHANGED
@@ -40,6 +40,10 @@ module OhlohScm
|
|
40
40
|
cat("#{git_commit(commit)}^", diff.path)
|
41
41
|
end
|
42
42
|
|
43
|
+
def git_commit(commit)
|
44
|
+
run("cd #{url} && git svn find-rev r#{commit.token}").strip
|
45
|
+
end
|
46
|
+
|
43
47
|
private
|
44
48
|
|
45
49
|
def open_log_file(opts = {})
|
@@ -72,10 +76,6 @@ module OhlohScm
|
|
72
76
|
run("cd #{url} && git show #{revision}:#{file_path.shellescape}").strip
|
73
77
|
end
|
74
78
|
|
75
|
-
def git_commit(commit)
|
76
|
-
run("cd #{url} && git svn find-rev r#{commit.token}").strip
|
77
|
-
end
|
78
|
-
|
79
79
|
def git_svn_log_cmd
|
80
80
|
"cd #{url} && git svn log"
|
81
81
|
end
|
data/lib/ohloh_scm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ohloh_scm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenHub Team at Synopsys
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
The OpenHub source control management library for \
|