binary-merge 7.0.0
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 +7 -0
- checksums.yaml.gz.sig +0 -0
- data/lib/binary/merge/version.rb +11 -0
- data/lib/binary/merge.rb +52 -0
- data/lib/binary-merge.rb +3 -0
- data.tar.gz.sig +1 -0
- metadata +96 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: b349575345081a53402e6ea2e04998d863b7acdcfc327037ef60591aafdc1d9d
|
|
4
|
+
data.tar.gz: 3a5f7b7eb71932cf7845b92204dd3c71520472f455b75a9463850763f5d9fbcd
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: f68920281184c993ed61ea09b4cbbda1cbb1edf73ed1b8dee5a0a4936d1895d2b0281ab686d6de5766f963c4e8a9b77c4317ca522c6626434a38888f59439713
|
|
7
|
+
data.tar.gz: e45e8bd9237ae78ae12778737531a736b5a62664e1bab6d63e6ddc17cb24616d3d459a08a3502745e4021e200341c8c598eef73f63f5e33f184328ea0db181a3
|
checksums.yaml.gz.sig
ADDED
|
Binary file
|
data/lib/binary/merge.rb
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "tree_haver"
|
|
4
|
+
|
|
5
|
+
module Binary
|
|
6
|
+
module Merge
|
|
7
|
+
PACKAGE_NAME = "binary-merge"
|
|
8
|
+
|
|
9
|
+
module_function
|
|
10
|
+
|
|
11
|
+
def binary_feature_profile
|
|
12
|
+
{
|
|
13
|
+
family: "binary",
|
|
14
|
+
supported_dialects: [],
|
|
15
|
+
supported_policies: []
|
|
16
|
+
}
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def render_policy(schema_path:, byte_range:, operation:, disposition:, reason:)
|
|
20
|
+
TreeHaver::BinaryRenderPolicy.new(
|
|
21
|
+
schema_path: schema_path,
|
|
22
|
+
byte_range: byte_range,
|
|
23
|
+
operation: operation,
|
|
24
|
+
disposition: disposition,
|
|
25
|
+
reason: reason
|
|
26
|
+
)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def unsafe_diagnostic(schema_path:, byte_range:, message:, category: "unsafe_binary_mutation")
|
|
30
|
+
TreeHaver::BinaryDiagnostic.new(
|
|
31
|
+
severity: "error",
|
|
32
|
+
category: category,
|
|
33
|
+
message: message,
|
|
34
|
+
schema_path: schema_path,
|
|
35
|
+
byte_range: byte_range
|
|
36
|
+
)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def preservation_report(format:, schema:, matched_schema_paths:, preserved_ranges:)
|
|
40
|
+
TreeHaver::BinaryMergeReport.new(
|
|
41
|
+
format: format,
|
|
42
|
+
schema: schema,
|
|
43
|
+
matched_schema_paths: matched_schema_paths,
|
|
44
|
+
preserved_ranges: preserved_ranges,
|
|
45
|
+
rewritten_nodes: [],
|
|
46
|
+
checksum_updates: [],
|
|
47
|
+
nested_dispatches: [],
|
|
48
|
+
diagnostics: []
|
|
49
|
+
)
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
data/lib/binary-merge.rb
ADDED
data.tar.gz.sig
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
j��D��L�f"��N�iv���b�b��q���3�[��#���w��EB�n�7�aV����$�M�2�Oԯ�
|
metadata
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: binary-merge
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 7.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Peter H. Boling
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain:
|
|
10
|
+
- |
|
|
11
|
+
-----BEGIN CERTIFICATE-----
|
|
12
|
+
MIIEgDCCAuigAwIBA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EGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
|
27
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
|
28
|
+
ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
|
|
29
|
+
wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
|
|
30
|
+
L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
|
|
31
|
+
GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
|
|
32
|
+
kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
|
|
33
|
+
QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
|
|
34
|
+
0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
|
|
35
|
+
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
|
36
|
+
L9nRqA==
|
|
37
|
+
-----END CERTIFICATE-----
|
|
38
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
39
|
+
dependencies:
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: tree_haver
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - '='
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 7.0.0
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - '='
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 7.0.0
|
|
54
|
+
description: Portable binary preservation planning and diagnostics for Structured
|
|
55
|
+
Merge.
|
|
56
|
+
email:
|
|
57
|
+
- info@structuredmerge.org
|
|
58
|
+
executables: []
|
|
59
|
+
extensions: []
|
|
60
|
+
extra_rdoc_files: []
|
|
61
|
+
files:
|
|
62
|
+
- lib/binary-merge.rb
|
|
63
|
+
- lib/binary/merge.rb
|
|
64
|
+
- lib/binary/merge/version.rb
|
|
65
|
+
homepage: https://github.com/structuredmerge/structuredmerge-ruby
|
|
66
|
+
licenses:
|
|
67
|
+
- AGPL-3.0-only
|
|
68
|
+
- PolyForm-Small-Business-1.0.0
|
|
69
|
+
metadata:
|
|
70
|
+
homepage_uri: https://structuredmerge.org
|
|
71
|
+
source_code_uri: https://github.com/structuredmerge/structuredmerge-ruby/tree/v7.0.0
|
|
72
|
+
changelog_uri: https://github.com/structuredmerge/structuredmerge-ruby/blob/v7.0.0/CHANGELOG.md
|
|
73
|
+
bug_tracker_uri: https://github.com/structuredmerge/structuredmerge-ruby/issues
|
|
74
|
+
documentation_uri: https://www.rubydoc.info/gems/binary-merge/7.0.0
|
|
75
|
+
funding_uri: https://github.com/sponsors/pboling
|
|
76
|
+
wiki_uri: https://github.com/structuredmerge/structuredmerge-ruby/wiki
|
|
77
|
+
discord_uri: https://discord.gg/3qme4XHNKN
|
|
78
|
+
rubygems_mfa_required: 'true'
|
|
79
|
+
rdoc_options: []
|
|
80
|
+
require_paths:
|
|
81
|
+
- lib
|
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
|
+
requirements:
|
|
84
|
+
- - ">="
|
|
85
|
+
- !ruby/object:Gem::Version
|
|
86
|
+
version: 4.0.0
|
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
|
+
requirements:
|
|
89
|
+
- - ">="
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: '0'
|
|
92
|
+
requirements: []
|
|
93
|
+
rubygems_version: 4.0.10
|
|
94
|
+
specification_version: 4
|
|
95
|
+
summary: Structured Merge binary merge contracts for Ruby
|
|
96
|
+
test_files: []
|
metadata.gz.sig
ADDED
|
Binary file
|