cybrid_api_organization_ruby 0.123.229 → 0.123.231
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +5 -5
- data/cybrid_api_organization_ruby.gemspec +1 -1
- data/lib/cybrid_api_organization_ruby/api/organizations_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api/subscription_deliveries_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api/subscription_events_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api/subscriptions_organization_api.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_client.rb +1 -1
- data/lib/cybrid_api_organization_ruby/api_error.rb +1 -1
- data/lib/cybrid_api_organization_ruby/configuration.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/error_response_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/patch_organization_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/post_subscription_delivery_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/post_subscription_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_delivery_list_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_delivery_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_environment_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_event_list_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_event_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_list_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_state_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/models/subscription_type_organization_model.rb +1 -1
- data/lib/cybrid_api_organization_ruby/version.rb +2 -2
- data/lib/cybrid_api_organization_ruby.rb +1 -1
- data/spec/api/organizations_organization_api_spec.rb +1 -1
- data/spec/api/subscription_deliveries_organization_api_spec.rb +1 -1
- data/spec/api/subscription_events_organization_api_spec.rb +1 -1
- data/spec/api/subscriptions_organization_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/error_response_organization_model_spec.rb +1 -1
- data/spec/models/organization_organization_model_spec.rb +1 -1
- data/spec/models/patch_organization_organization_model_spec.rb +1 -1
- data/spec/models/post_subscription_delivery_organization_model_spec.rb +1 -1
- data/spec/models/post_subscription_organization_model_spec.rb +1 -1
- data/spec/models/subscription_delivery_list_organization_model_spec.rb +1 -1
- data/spec/models/subscription_delivery_organization_model_spec.rb +1 -1
- data/spec/models/subscription_environment_organization_model_spec.rb +1 -1
- data/spec/models/subscription_event_list_organization_model_spec.rb +1 -1
- data/spec/models/subscription_event_organization_model_spec.rb +1 -1
- data/spec/models/subscription_list_organization_model_spec.rb +1 -1
- data/spec/models/subscription_organization_model_spec.rb +1 -1
- data/spec/models/subscription_state_organization_model_spec.rb +1 -1
- data/spec/models/subscription_type_organization_model_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/cache/diff-lcs-1.6.0.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.0/CHANGELOG.md +491 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.0/CODE_OF_CONDUCT.md +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.0/CONTRIBUTING.md +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.0/CONTRIBUTORS.md +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.0/Contributing.md +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/Manifest.txt +7 -4
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.0/README.md +92 -0
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/Rakefile +12 -44
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.0/SECURITY.md +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/docs/artistic.txt +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/change.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/htmldiff.rb +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/hunk.rb +38 -22
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/ldiff.rb +60 -50
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs.rb +10 -9
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/hunk_spec.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/issues_spec.rb +32 -32
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/ldiff_spec.rb +21 -10
- data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/patch_spec.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/specifications/{diff-lcs-1.5.1.gemspec → diff-lcs-1.6.0.gemspec} +11 -10
- metadata +66 -63
- data/vendor/bundle/ruby/3.3.0/cache/diff-lcs-1.5.1.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/Code-of-Conduct.md +0 -74
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/Contributing.md +0 -121
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/History.md +0 -431
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.5.1/README.rdoc +0 -84
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/.rspec +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1/License.md → diff-lcs-1.6.0/LICENCE.md} +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/bin/htmldiff +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/bin/ldiff +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/docs/COPYING.txt +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/array.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/backports.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/block.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/callbacks.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/internals.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/string.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff-lcs.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/change_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/diff_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/aX +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/bXaX +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ds1.csv +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ds2.csv +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff-c +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff-e +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff-f +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff-u +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef-c +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef-e +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef-f +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef-u +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef2 +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef2-c +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef2-d +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef2-e +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef2-f +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/ldiff/output.diff.chef2-u +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/new-chef +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/new-chef2 +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/old-chef +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/old-chef2 +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/lcs_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/sdiff_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/spec_helper.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/traverse_balanced_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/traverse_sequences_spec.rb +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
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/backports.rb
RENAMED
File without changes
|
File without changes
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/callbacks.rb
RENAMED
File without changes
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/internals.rb
RENAMED
File without changes
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/lib/diff/lcs/string.rb
RENAMED
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
|
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
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/new-chef
RENAMED
File without changes
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/new-chef2
RENAMED
File without changes
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/old-chef
RENAMED
File without changes
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/fixtures/old-chef2
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/vendor/bundle/ruby/3.3.0/gems/{diff-lcs-1.5.1 → diff-lcs-1.6.0}/spec/traverse_balanced_spec.rb
RENAMED
File without changes
|
File without changes
|