difftastic 0.7.1-arm64-linux → 0.8.0-arm64-linux
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/exe/arm64-linux/difft +0 -0
- data/lib/difftastic/differ.rb +2 -4
- data/lib/difftastic/upstream.rb +1 -1
- data/lib/difftastic/version.rb +1 -1
- data/lib/difftastic.rb +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ac9a609243763e2afc101c2449016b3be0e2df231814a65ccecbe75e2fece87
|
|
4
|
+
data.tar.gz: 18db0de158ab39473a1e8ae1ca0956b98b740b3cb4afc3204638a58ad635f738
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0aa719fe6d47737f981ff69a199f93dd3adaed1f76b203335416edd980dd5858e0b06ab385bc2faca644cba8dbde223343b153340c2bb7156dbf9c53878858c
|
|
7
|
+
data.tar.gz: 0565b5cb7937e900b4d50c90b3fc7e0bd18d7ec3932b58ceb758f6c9b08e0a1332ed2941e4c552bc9538ca389ca628dde40d9053031f0897ed0373cf5d173b9f
|
data/exe/arm64-linux/difft
CHANGED
|
Binary file
|
data/lib/difftastic/differ.rb
CHANGED
|
@@ -346,9 +346,7 @@ class Difftastic::Differ
|
|
|
346
346
|
result
|
|
347
347
|
end
|
|
348
348
|
|
|
349
|
-
private
|
|
350
|
-
|
|
351
|
-
def right_label_offset(line)
|
|
349
|
+
private def right_label_offset(line)
|
|
352
350
|
tab_width = @tab_width || DEFAULT_TAB_WIDTH
|
|
353
351
|
stripped_line = ::Difftastic::ANSI.strip_formatting(line)
|
|
354
352
|
_lhs, rhs = stripped_line.split(/\s{#{tab_width},}/, 2)
|
|
@@ -363,7 +361,7 @@ class Difftastic::Differ
|
|
|
363
361
|
[minimum_offset, offset].max
|
|
364
362
|
end
|
|
365
363
|
|
|
366
|
-
def file_to_path(file)
|
|
364
|
+
private def file_to_path(file)
|
|
367
365
|
return file if file.is_a?(String)
|
|
368
366
|
return file.path if file.is_a?(File)
|
|
369
367
|
return file.path if file.is_a?(Tempfile)
|
data/lib/difftastic/upstream.rb
CHANGED
data/lib/difftastic/version.rb
CHANGED
data/lib/difftastic.rb
CHANGED
|
@@ -15,6 +15,12 @@ module Difftastic
|
|
|
15
15
|
class ExecutableNotFoundException < StandardError
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
+
class DirectoryNotFoundException < StandardError
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class UnsupportedPlatformException < StandardError
|
|
22
|
+
end
|
|
23
|
+
|
|
18
24
|
def self.execute(command)
|
|
19
25
|
`#{executable} #{command}`
|
|
20
26
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: difftastic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: arm64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Joel Drapper
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: pretty_please
|
|
@@ -54,14 +54,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
54
54
|
requirements:
|
|
55
55
|
- - ">="
|
|
56
56
|
- !ruby/object:Gem::Version
|
|
57
|
-
version: 3.
|
|
57
|
+
version: 3.2.0
|
|
58
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
60
|
- - ">="
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
62
|
version: '0'
|
|
63
63
|
requirements: []
|
|
64
|
-
rubygems_version: 3.6.
|
|
64
|
+
rubygems_version: 3.6.9
|
|
65
65
|
specification_version: 4
|
|
66
66
|
summary: Integrate Difftastic with the RubyGems infrastructure.
|
|
67
67
|
test_files: []
|