acfs 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/acfs.gemspec +2 -0
- data/lib/acfs/global.rb +10 -6
- data/lib/acfs/request.rb +4 -3
- data/lib/acfs/runner.rb +46 -8
- data/lib/acfs/telemetry.rb +19 -0
- data/lib/acfs/version.rb +1 -1
- data/lib/acfs.rb +4 -0
- data/vendor/bundle/ruby/3.4.0/bundler/gems/rubocop-config-67802c9d1826/rubocop-config.gemspec +1 -1
- data/vendor/bundle/ruby/3.4.0/gems/diff-lcs-1.6.0/CHANGELOG.md +491 -0
- data/vendor/bundle/ruby/3.4.0/gems/diff-lcs-1.6.0/README.md +92 -0
- data/vendor/bundle/ruby/3.4.0/gems/{json-2.9.1 → json-2.10.1}/README.md +75 -2
- data/vendor/bundle/ruby/3.4.0/gems/{json-2.9.1 → json-2.10.1}/json.gemspec +3 -4
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-api-1.4.0/CHANGELOG.md +188 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-api-1.4.0/LICENSE +201 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-api-1.4.0/README.md +69 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-common-0.21.0/CHANGELOG.md +94 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-common-0.21.0/LICENSE +201 -0
- data/vendor/bundle/ruby/3.4.0/gems/opentelemetry-common-0.21.0/README.md +62 -0
- data/vendor/bundle/ruby/3.4.0/gems/{rack-3.1.8 → rack-3.1.10}/CHANGELOG.md +14 -0
- data/vendor/bundle/ruby/3.4.0/gems/{rspec-core-3.13.2 → rspec-core-3.13.3}/Changelog.md +271 -261
- data/vendor/bundle/ruby/3.4.0/gems/{webmock-3.24.0 → webmock-3.25.0}/CHANGELOG.md +6 -0
- data/vendor/bundle/ruby/3.4.0/gems/{webmock-3.24.0 → webmock-3.25.0}/README.md +1 -0
- data/vendor/bundle/ruby/3.4.0/specifications/{diff-lcs-1.5.1.gemspec → diff-lcs-1.6.0.gemspec} +11 -10
- data/vendor/bundle/ruby/3.4.0/specifications/{i18n-1.14.6.gemspec → i18n-1.14.7.gemspec} +4 -5
- data/vendor/bundle/ruby/3.4.0/specifications/{json-2.9.1.gemspec → json-2.10.1.gemspec} +0 -0
- data/vendor/bundle/ruby/3.4.0/specifications/{logger-1.6.5.gemspec → logger-1.6.6.gemspec} +3 -3
- data/vendor/bundle/ruby/3.4.0/specifications/{nokogiri-1.18.1-x86_64-linux-gnu.gemspec → nokogiri-1.18.2-x86_64-linux-gnu.gemspec} +3 -3
- data/vendor/bundle/ruby/3.4.0/specifications/opentelemetry-api-1.4.0.gemspec +35 -0
- data/vendor/bundle/ruby/3.4.0/specifications/opentelemetry-common-0.21.0.gemspec +34 -0
- data/vendor/bundle/ruby/3.4.0/specifications/{rack-3.1.8.gemspec → rack-3.1.10.gemspec} +4 -4
- data/vendor/bundle/ruby/3.4.0/specifications/{rspec-core-3.13.2.gemspec → rspec-core-3.13.3.gemspec} +7 -15
- data/vendor/bundle/ruby/3.4.0/specifications/{webmock-3.24.0.gemspec → webmock-3.25.0.gemspec} +5 -5
- metadata +67 -30
- data/vendor/bundle/ruby/3.4.0/gems/diff-lcs-1.5.1/License.md +0 -41
- data/vendor/bundle/ruby/3.4.0/gems/diff-lcs-1.5.1/README.rdoc +0 -84
- /data/vendor/bundle/ruby/3.4.0/gems/{i18n-1.14.6 → i18n-1.14.7}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{i18n-1.14.6 → i18n-1.14.7}/README.md +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{logger-1.6.5 → logger-1.6.6}/README.md +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{logger-1.6.5 → logger-1.6.6}/logger.gemspec +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{nokogiri-1.18.1-x86_64-linux-gnu → nokogiri-1.18.2-x86_64-linux-gnu}/LICENSE-DEPENDENCIES.md +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{nokogiri-1.18.1-x86_64-linux-gnu → nokogiri-1.18.2-x86_64-linux-gnu}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{nokogiri-1.18.1-x86_64-linux-gnu → nokogiri-1.18.2-x86_64-linux-gnu}/README.md +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{rack-3.1.8 → rack-3.1.10}/MIT-LICENSE +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{rack-3.1.8 → rack-3.1.10}/README.md +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{rspec-core-3.13.2 → rspec-core-3.13.3}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{rspec-core-3.13.2 → rspec-core-3.13.3}/README.md +0 -0
- /data/vendor/bundle/ruby/3.4.0/gems/{webmock-3.24.0 → webmock-3.25.0}/LICENSE +0 -0
@@ -1,84 +0,0 @@
|
|
1
|
-
= Diff::LCS
|
2
|
-
|
3
|
-
home :: https://github.com/halostatue/diff-lcs
|
4
|
-
code :: https://github.com/halostatue/diff-lcs
|
5
|
-
bugs :: https://github.com/halostatue/diff-lcs/issues
|
6
|
-
rdoc :: http://rubydoc.info/github/halostatue/diff-lcs
|
7
|
-
continuous integration :: {<img src="https://github.com/halostatue/diff-lcs/workflows/CI/badge.svg" />}[https://github.com/halostatue/diff-lcs/actions]
|
8
|
-
|
9
|
-
== Description
|
10
|
-
|
11
|
-
Diff::LCS computes the difference between two Enumerable sequences using the
|
12
|
-
McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes utilities
|
13
|
-
to create a simple HTML diff output format and a standard diff-like tool.
|
14
|
-
|
15
|
-
This is release 1.4.3, providing a simple extension that allows for
|
16
|
-
Diff::LCS::Change objects to be treated implicitly as arrays and fixes a
|
17
|
-
number of formatting issues.
|
18
|
-
|
19
|
-
Ruby versions below 2.5 are soft-deprecated, which means that older versions
|
20
|
-
are no longer part of the CI test suite. If any changes have been introduced
|
21
|
-
that break those versions, bug reports and patches will be accepted, but it
|
22
|
-
will be up to the reporter to verify any fixes prior to release. The next
|
23
|
-
major release will completely break compatibility.
|
24
|
-
|
25
|
-
== Synopsis
|
26
|
-
|
27
|
-
Using this module is quite simple. By default, Diff::LCS does not extend
|
28
|
-
objects with the Diff::LCS interface, but will be called as if it were a
|
29
|
-
function:
|
30
|
-
|
31
|
-
require 'diff/lcs'
|
32
|
-
|
33
|
-
seq1 = %w(a b c e h j l m n p)
|
34
|
-
seq2 = %w(b c d e f j k l m r s t)
|
35
|
-
|
36
|
-
lcs = Diff::LCS.LCS(seq1, seq2)
|
37
|
-
diffs = Diff::LCS.diff(seq1, seq2)
|
38
|
-
sdiff = Diff::LCS.sdiff(seq1, seq2)
|
39
|
-
seq = Diff::LCS.traverse_sequences(seq1, seq2, callback_obj)
|
40
|
-
bal = Diff::LCS.traverse_balanced(seq1, seq2, callback_obj)
|
41
|
-
seq2 == Diff::LCS.patch!(seq1, diffs)
|
42
|
-
seq1 == Diff::LCS.unpatch!(seq2, diffs)
|
43
|
-
seq2 == Diff::LCS.patch!(seq1, sdiff)
|
44
|
-
seq1 == Diff::LCS.unpatch!(seq2, sdiff)
|
45
|
-
|
46
|
-
Objects can be extended with Diff::LCS:
|
47
|
-
|
48
|
-
seq1.extend(Diff::LCS)
|
49
|
-
lcs = seq1.lcs(seq2)
|
50
|
-
diffs = seq1.diff(seq2)
|
51
|
-
sdiff = seq1.sdiff(seq2)
|
52
|
-
seq = seq1.traverse_sequences(seq2, callback_obj)
|
53
|
-
bal = seq1.traverse_balanced(seq2, callback_obj)
|
54
|
-
seq2 == seq1.patch!(diffs)
|
55
|
-
seq1 == seq2.unpatch!(diffs)
|
56
|
-
seq2 == seq1.patch!(sdiff)
|
57
|
-
seq1 == seq2.unpatch!(sdiff)
|
58
|
-
|
59
|
-
By requiring 'diff/lcs/array' or 'diff/lcs/string', Array or String will be
|
60
|
-
extended for use this way.
|
61
|
-
|
62
|
-
Note that Diff::LCS requires a sequenced enumerable container, which means that
|
63
|
-
the order of enumeration is both predictable and consistent for the same set of
|
64
|
-
data. While it is theoretically possible to generate a diff for an unordered
|
65
|
-
hash, it will only be meaningful if the enumeration of the hashes is
|
66
|
-
consistent. In general, this will mean that containers that behave like String
|
67
|
-
or Array will perform best.
|
68
|
-
|
69
|
-
== History
|
70
|
-
|
71
|
-
Diff::LCS is a port of Perl's Algorithm::Diff that uses the McIlroy-Hunt
|
72
|
-
longest common subsequence (LCS) algorithm to compute intelligent differences
|
73
|
-
between two sequenced enumerable containers. The implementation is based on
|
74
|
-
Mario I. Wolczko's
|
75
|
-
{Smalltalk version 1.2}[ftp://st.cs.uiuc.edu/pub/Smalltalk/MANCHESTER/manchester/4.0/diff.st]
|
76
|
-
(1993) and Ned Konz's Perl version
|
77
|
-
{Algorithm::Diff 1.15}[http://search.cpan.org/~nedkonz/Algorithm-Diff-1.15/].
|
78
|
-
Diff::LCS#sdiff and Diff::LCS#traverse_balanced were originally written for the
|
79
|
-
Perl version by Mike Schilli.
|
80
|
-
|
81
|
-
The algorithm is described in <em>A Fast Algorithm for Computing Longest Common
|
82
|
-
Subsequences</em>, CACM, vol.20, no.5, pp.350-353, May 1977, with a few minor
|
83
|
-
improvements to improve the speed. A simplified description of the algorithm,
|
84
|
-
originally written for the Perl version, was written by Mark-Jason Dominus.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|