ohloh_scm 3.0.12 → 3.0.13

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
  SHA256:
3
- metadata.gz: b32be744bc5684422dfeef8a919b22d68e6ae6a79cc84b52e9a0d127f64d063f
4
- data.tar.gz: a014a5ff88ed596881dd549dade0b5773bd7e9628d3be8401df9aa9473831b70
3
+ metadata.gz: bf0cce0039d7ed0c71c841edf71fed33eb962093d88c149dd6c75a29b8f05425
4
+ data.tar.gz: 900243a6614515e950e68cc8e2bfdbe790fa9651113d50bbb8a06b1d7ee76bae
5
5
  SHA512:
6
- metadata.gz: 77b6d8b83597f278826e59a619c2cb73cd115ad1c8051dc10f555894abc9bce82a1f6ef57398bed40394242b54566849acaa8146e931fa7610d1523f7e54bc88
7
- data.tar.gz: 62f122295f3b8768f373f66820fdf1259b3fdfff6f5cc7e47ad50742f11e3d1b04195797c103d09bd2842cb8ca897b005fcdcc1aa806e38c076e925c4ebaf04c
6
+ metadata.gz: b3cd4508600d221c9b3456f054e5845392d23e2483609d560afc3eeb137b16a786164d92df3a935b0fd5939f318f6f48844f84a32b247ac3ab094dec2abb7715
7
+ data.tar.gz: c4649e65d09e9639876344ab6e9ed89ba81396809a80fa26278b0488ec43c81fcc4d44db093fdeceed9a42cfbd9b2360e2bb1db3861691881088fe7b47a80651
@@ -73,7 +73,8 @@ module OhlohScm
73
73
 
74
74
  def cat(revision, file_path)
75
75
  file_path = file_path.to_s
76
- run("cd #{url} && git show #{revision}:#{file_path.shellescape}").strip
76
+ run("cd #{url} && git show #{revision}:#{file_path.shellescape} | #{string_encoder_path}")
77
+ .strip
77
78
  end
78
79
 
79
80
  def git_svn_log_cmd
@@ -2,7 +2,7 @@
2
2
 
3
3
  module OhlohScm
4
4
  module Version
5
- STRING = '3.0.12'
5
+ STRING = '3.0.13'
6
6
  GIT = '2.17.1'
7
7
  SVN = '1.9.7'
8
8
  CVSNT = '2.5.04'
@@ -60,7 +60,7 @@ describe 'GitSvn::Activity' do
60
60
 
61
61
  it 'cat_file_with_invalid_filename' do
62
62
  with_git_svn_repository('git_svn') do |git_svn|
63
- -> { git_svn.activity.cat_file(commit_1, OhlohScm::Diff.new(path: 'invalid')) }.must_raise(RuntimeError)
63
+ assert git_svn.activity.cat_file(commit_1, OhlohScm::Diff.new(path: 'invalid')).must_be_empty
64
64
  end
65
65
  end
66
66
 
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.12
4
+ version: 3.0.13
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: 2020-12-02 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  The OpenHub source control management library for \