<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/diff-lcs.git, branch fix-issues-5-and-6</title>
<subtitle>github.com: halostatue/diff-lcs
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/'/>
<entry>
<title>Resolve multiple issues for 1.4</title>
<updated>2019-02-04T03:11:23+00:00</updated>
<author>
<name>Austin Ziegler</name>
<email>austin@zieglers.ca</email>
</author>
<published>2019-02-03T03:52:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=64f88e7e55bc29130ee482d6243fb49178b8fd83'/>
<id>64f88e7e55bc29130ee482d6243fb49178b8fd83</id>
<content type='text'>
-   Resolve ldiff output issues: Resolves #5 and #6 by adding system-output
    comparison calls to `bin/ldiff` compared against some pre-generated output.
    There is some timestamp manipulation involved with the output comparison,
    as the timestamps are unstable because of the way that git clone works.

-   Resolved a problem with bin/ldiff --context output.

-   Resolved a Numeric/Integer OptParse issue: later versions of Ruby had
    problems working with an `OptParse` option specification of `Numeric`; this
    has been changed to `Integer`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-   Resolve ldiff output issues: Resolves #5 and #6 by adding system-output
    comparison calls to `bin/ldiff` compared against some pre-generated output.
    There is some timestamp manipulation involved with the output comparison,
    as the timestamps are unstable because of the way that git clone works.

-   Resolved a problem with bin/ldiff --context output.

-   Resolved a Numeric/Integer OptParse issue: later versions of Ruby had
    problems working with an `OptParse` option specification of `Numeric`; this
    has been changed to `Integer`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update documentation</title>
<updated>2019-02-02T03:25:37+00:00</updated>
<author>
<name>Austin Ziegler</name>
<email>austin@zieglers.ca</email>
</author>
<published>2019-01-31T16:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=3a89de07745fea52f611e6955f61c11ffd68c754'/>
<id>3a89de07745fea52f611e6955f61c11ffd68c754</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reintroduce Diff::LCS::Change#to_ary</title>
<updated>2019-02-02T03:25:37+00:00</updated>
<author>
<name>Austin Ziegler</name>
<email>austin@zieglers.ca</email>
</author>
<published>2019-01-28T05:42:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=a798f6f1dc5d41aceb236ea0aeaa113c8dc89c92'/>
<id>a798f6f1dc5d41aceb236ea0aeaa113c8dc89c92</id>
<content type='text'>
-   This required some level of code remediation in the main library, but all
    tests now pass:

    -  Patchsets are now internally flattened one level explicitly, rather than
       using Array#flatten. This ensures that only the outer patchset array is
       flattened.

Fixes #48.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-   This required some level of code remediation in the main library, but all
    tests now pass:

    -  Patchsets are now internally flattened one level explicitly, rather than
       using Array#flatten. This ensures that only the outer patchset array is
       flattened.

Fixes #48.
</pre>
</div>
</content>
</entry>
<entry>
<title>Applied Rubocop rules that I like</title>
<updated>2019-01-28T04:26:05+00:00</updated>
<author>
<name>Austin Ziegler</name>
<email>austin@zieglers.ca</email>
</author>
<published>2019-01-27T05:15:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=45ea1b30c7de0ad840f72afb82fd41eb2b9590db'/>
<id>45ea1b30c7de0ad840f72afb82fd41eb2b9590db</id>
<content type='text'>
- Other linting configuration also applied.
- Soft-deprecating versions older than 2.3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Other linting configuration also applied.
- Soft-deprecating versions older than 2.3.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert PR#47 "Add #to_ary to Diff::LCS::Change…"</title>
<updated>2019-01-27T05:03:42+00:00</updated>
<author>
<name>Austin Ziegler</name>
<email>austin@zieglers.ca</email>
</author>
<published>2019-01-27T05:03:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=07ed577eba341f0ff0d7eebf4c1c2cc23083cba7'/>
<id>07ed577eba341f0ff0d7eebf4c1c2cc23083cba7</id>
<content type='text'>
This reverts commits 01e0cae and 3b4d2be because they introduce fatally
breaking changes in the tests that were hidden by broken CI.

* 01e0cae: Add #to_ary to Diff::LCS::Change and Diff::LCS::ContextChange
  [Akinori MUSHA]
* 3b4d2be: Mention in rdoc that Diff::LCS::ContextChange can be converted to an
  array [Akinori MUSHA]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commits 01e0cae and 3b4d2be because they introduce fatally
breaking changes in the tests that were hidden by broken CI.

* 01e0cae: Add #to_ary to Diff::LCS::Change and Diff::LCS::ContextChange
  [Akinori MUSHA]
* 3b4d2be: Mention in rdoc that Diff::LCS::ContextChange can be converted to an
  array [Akinori MUSHA]
</pre>
</div>
</content>
</entry>
<entry>
<title>Make travis test the right things...</title>
<updated>2019-01-27T02:54:14+00:00</updated>
<author>
<name>Austin Ziegler</name>
<email>austin@zieglers.ca</email>
</author>
<published>2019-01-27T02:54:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=808f83a11a9e6ec45b7ef2b9c336f4b75b9d8368'/>
<id>808f83a11a9e6ec45b7ef2b9c336f4b75b9d8368</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Mention in rdoc that Diff::LCS::ContextChange can be converted to an array</title>
<updated>2019-01-26T05:40:04+00:00</updated>
<author>
<name>Akinori MUSHA</name>
<email>knu@idaemons.org</email>
</author>
<published>2019-01-25T10:08:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=3b4d2be9c32041ebc2a567dcd6518c6fcf9908a8'/>
<id>3b4d2be9c32041ebc2a567dcd6518c6fcf9908a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add #to_ary to Diff::LCS::Change and Diff::LCS::ContextChange</title>
<updated>2019-01-26T05:40:04+00:00</updated>
<author>
<name>Akinori MUSHA</name>
<email>knu@idaemons.org</email>
</author>
<published>2019-01-24T08:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=01e0caeda9ae38b7868f35987844fd9f67aef005'/>
<id>01e0caeda9ae38b7868f35987844fd9f67aef005</id>
<content type='text'>
It would be quite handy if you could write as follows:

```ruby
Diff::LCS.sdiff(a, b).each do |action, (old_position, old_element), (new_position, new_element)|
  case action
  when '!'
    # replace
  when '-'
    # delete
  when '+'
    # insert
  end
end
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It would be quite handy if you could write as follows:

```ruby
Diff::LCS.sdiff(a, b).each do |action, (old_position, old_element), (new_position, new_element)|
  case action
  when '!'
    # replace
  when '-'
    # delete
  when '+'
    # insert
  end
end
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #42 from nicolasleger/patch-1</title>
<updated>2018-02-12T18:55:52+00:00</updated>
<author>
<name>Austin Ziegler</name>
<email>austin@zieglers.ca</email>
</author>
<published>2018-02-12T18:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=8b325657b09ff2e382d626deed38beb02731f96a'/>
<id>8b325657b09ff2e382d626deed38beb02731f96a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[CI] Test against Ruby 2.5</title>
<updated>2018-02-12T18:33:19+00:00</updated>
<author>
<name>Nicolas Leger</name>
<email>nicolasleger@users.noreply.github.com</email>
</author>
<published>2018-02-12T18:33:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/ruby-gems/diff-lcs.git/commit/?id=15f739ca7e40e39fac295a780bca47b1e97d9d77'/>
<id>15f739ca7e40e39fac295a780bca47b1e97d9d77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
