gollum-rugged_adapter 0.99.1 → 0.99.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/rugged_adapter/git_layer_rugged.rb +1 -4
- data/lib/rugged_adapter/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae443605ad0dd343310fee4b9bac502bc21654108468f91002a1686be978a587
|
4
|
+
data.tar.gz: 957d8466bed97f5287131cde9aa63a7f88629ace4363680c8c0d1b90e30775b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4f70708545e36a1b0695ee0ea02860ca60187439e1c23d506ba3b11cb7d902666c943d6f0abcce4ccb0c7c0c3374bb3b4dda444200bf3e57ca0ad32ec23b1ee
|
7
|
+
data.tar.gz: 7a1b3a517bf612f7dd019b68b31ee4e0cb0eae6a8dd282e14b6a09e511957239663ddd1e3a0075dfd97d0492c8967d1f3d11186574937e6836a50cea737e3674
|
data/Gemfile
CHANGED
@@ -16,7 +16,6 @@ module Gollum
|
|
16
16
|
|
17
17
|
DEFAULT_MIME_TYPE = "text/plain"
|
18
18
|
class NoSuchShaFound < StandardError; end
|
19
|
-
class PathApplyError < StandardError; end
|
20
19
|
|
21
20
|
class Actor
|
22
21
|
|
@@ -609,9 +608,7 @@ module Gollum
|
|
609
608
|
|
610
609
|
def diff(sha1, sha2, *paths)
|
611
610
|
opts = paths.nil? ? {} : {:paths => paths}
|
612
|
-
@repo.diff(sha1, sha2, opts).
|
613
|
-
OpenStruct.new(:diff => patch.to_s.split("\n")[2..-1].join("\n").force_encoding("UTF-8")) # First remove two superfluous lines.
|
614
|
-
end.reverse # Rugged seems to order the diffs differently than Grit, so reverse.
|
611
|
+
@repo.diff(sha1, sha2, opts).patch
|
615
612
|
end
|
616
613
|
|
617
614
|
def log(commit = 'refs/heads/master', path = nil, options = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum-rugged_adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.99.
|
4
|
+
version: 0.99.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bart Kamphorst, Dawa Ometto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rugged
|
@@ -86,8 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
|
90
|
-
rubygems_version: 2.7.8
|
89
|
+
rubygems_version: 3.0.3
|
91
90
|
signing_key:
|
92
91
|
specification_version: 4
|
93
92
|
summary: Adapter for Gollum to use Rugged (libgit2) at the backend.
|