ohloh_scm 3.0.7 → 3.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1011282c5531aecf6d4adf8105e1bbc7fbce07012cb46aa087d6310156fc5d6d
4
- data.tar.gz: bf05860e5c4118ecd595008348ca845b4b2073a2240f62a38005807ac47ce433
3
+ metadata.gz: 4be961ff2b2412be0a604c15aa62c7613c2ae39385bc838f6b3a9f3d80cbc842
4
+ data.tar.gz: 983e8edda72ad8548e356e50a0f98ff571a05772e64ce07ff885a78c35fa876b
5
5
  SHA512:
6
- metadata.gz: 8985e61bb540f28626d8c92b6d47e5477a6656469e6055bf8020c702ab547229e4d739f2b216f574a87fa8a90543731789c6087038595b54b0678b0456588d45
7
- data.tar.gz: 5f250e570b82f93f679ef66122de1ddb01857283377d9ad12ba25221f334dcc6bc294bd591cc0a19658ed545906a68a3803d5b6ddb7ea53b86cb8efc738fb5cc
6
+ metadata.gz: 464518385dc11ba24761750ac400272f433cb629a368b3c35b22a6def29553051ed2baf3166ac9fc3b1b1e63a92a1de7f4dc5a93f3bb5af4d9fd192d45f9af28
7
+ data.tar.gz: a7bb48f42be86fd01981a3b3d089f27160c7217d9aeb707e82f1e98aaa79d9cebfee9b944e04c41dc0bd981bbb428637b05a563fa5940f8d7df129563d498db0
@@ -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
@@ -2,7 +2,7 @@
2
2
 
3
3
  module OhlohScm
4
4
  module Version
5
- STRING = '3.0.7'
5
+ STRING = '3.0.8'
6
6
  GIT = '2.17.1'
7
7
  SVN = '1.9.7'
8
8
  CVSNT = '2.5.04'
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.7
4
+ version: 3.0.8
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: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  The OpenHub source control management library for \