difftastic 0.6.1-aarch64-linux → 0.8.0-aarch64-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ad3c1afe511cedf73f4af33ea96bdc07efe32a5ea95bd80b1c29bc32f006f13
4
- data.tar.gz: d5fb986e426bf9185262e0702bc6b261aa14e2ab4bbf60d56d7defe470e23d08
3
+ metadata.gz: b5ab0c80434c3d110b326520659c44c0fc6e6ab469fcdecfcd12c1d9b8726d9e
4
+ data.tar.gz: 44a91b1bdb133365e738d7a25f8bd5d62bf6f479974e07422f57d63d5cf65103
5
5
  SHA512:
6
- metadata.gz: 9f9e9b56406edd6b00f52983d692b56a45f51c314ad62df510144d3d753efe384f30c57fa5e8fc9315383f8e51bb3bcf65588e49c189280aec96dc6ee67aeed4
7
- data.tar.gz: 3817f99e2d77829cf90e8a6987751dd88e62a0ce1578fe1500820f92e4107621c5d458fb9152e9ef926c96fc7b4f607ff44896a5e38a3bda739e2d88693842b0
6
+ metadata.gz: ceb9715b9d177b80888183d0c517e89aba8b2cc36f3ffec22078ec8f151a6c67912769ef746d278a6f51fe219739bf4c1bbff384a91201ef07db856534c0e4cc
7
+ data.tar.gz: 6c89adfcc8e157eb3fd7374c05547740859b1cabc22b50b602a56e853de02c2bdd9224bb29cd7e5a9537cdd51793f70468e843b81e3d5016b9723df551c4ca32
Binary file
@@ -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)
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Difftastic
4
4
  module Upstream
5
- VERSION = "0.62.0"
5
+ VERSION = "0.67.0"
6
6
 
7
7
  NATIVE_PLATFORMS = {
8
8
  "arm64-darwin" => "difft-aarch64-apple-darwin.tar.gz",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Difftastic
4
- VERSION = "0.6.1"
4
+ VERSION = "0.8.0"
5
5
  end
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.6.1
4
+ version: 0.8.0
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Joel Drapper
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-12-19 00:00:00.000000000 Z
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.1.0
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.2
64
+ rubygems_version: 3.6.9
65
65
  specification_version: 4
66
66
  summary: Integrate Difftastic with the RubyGems infrastructure.
67
67
  test_files: []