gollum-rugged_adapter 0.99.3 → 0.99.4

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: fccaae999b3b1730aa469a58eb2835fbafc1808f59297753048614075da4569a
4
- data.tar.gz: 1e3e56795ad845bce602c85d6ce20d8ddfda86e7685edcb289aefd0e69d9b5ef
3
+ metadata.gz: e26a1062990e5dae1e42c6f0b55b964b5bc39246fc45ba091556cf3638e35fa6
4
+ data.tar.gz: 6b7163ae78eb0fd4db16a185994116532da4887bd3d8c5da023f6f27e5d1406c
5
5
  SHA512:
6
- metadata.gz: 572f6127991b013e95f2c54eac7c62606afa491bdf30045d98341e8755b5e11d6a1822227153f2238972f753e50dbadf82817d13bfcc3df9d5ccd774bdaee62d
7
- data.tar.gz: 6da3dbf8c4b59532a59491f3664843c5aea36d185ff648b588c8fa7287cbcad5d7c8349b97dfd9a96df9a2f0ff6706582bbbbb0c5da045ec01328ae41089c8a8
6
+ metadata.gz: 184dcbda389bd30dd6548f1d66927c6805cea668b50bf545eff349ea474823f0b6408703005c1748a885049bf0e1d3c49686711913817dbd1044b6fcec931929
7
+ data.tar.gz: fa41ab8888be111f340362fb7c4bc09d3cfb8f270cc84f967570d0557fc6e1f2a605ebe9801d019c6ac6a93d4e39bc2c167d2909497b45ef13d5c80354120100
@@ -346,7 +346,7 @@ module Gollum
346
346
  skipped = 0
347
347
  current_path = options[:path].dup if options[:path]
348
348
  current_path = nil if current_path == ''
349
- renamed_path = current_path.dup
349
+ renamed_path = current_path.nil? ? nil : current_path.dup
350
350
  track_pathnames = true if current_path && options[:follow]
351
351
  limit = options[:limit].to_i
352
352
  offset = options[:offset].to_i
@@ -365,7 +365,7 @@ module Gollum
365
365
  skipped += 1
366
366
 
367
367
  commits.push(Gollum::Git::Commit.new(c, track_pathnames ? renamed_path : nil)) if skipped > offset
368
- renamed_path = current_path.dup
368
+ renamed_path = current_path.nil? ? nil : current_path.dup
369
369
  end
370
370
  end
371
371
  walker.reset
@@ -1,7 +1,7 @@
1
1
  module Gollum
2
2
  module Lib
3
3
  module Git
4
- VERSION = '0.99.3'
4
+ VERSION = '0.99.4'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum-rugged_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.3
4
+ version: 0.99.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Kamphorst, Dawa Ometto