Sha256: d47afad29f4ecf32eef54558d3171cd042d859586f5032bd2b87cfe5c7616f45

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

## 0.5.1 - 2018-07-01

- set StringSplitter::VERSION when `string_splitter.rb` is loaded
- doc tweaks

## 0.5.0 - 2018-06-26

- don't treat string delimiters as patterns
- add a `reject`/`exclude` option which rejects splits at the specified positions
- add a `select` alias for `at`

## 0.4.0 - 2018-06-24

- **breaking change**: remove the `offset` alias for `split.index`

## 0.3.1 - 2018-06-24

- remove trailing empty field when the separator is empty ([#1](https://github.com/chocolateboy/string_splitter/issues/1))

## 0.3.0 - 2018-06-23

- **breaking change**: rename the `default_separator` option to `default_delimiter`
  - to avoid ambiguity in the code, refer to the input pattern/string as the
    "delimiter" and the matched string as the "separator"

## 0.2.0 - 2018-06-22

- **breaking change**: make `index` (AKA `offset`) 0-based and add `position`
  (AKA `pos`) as the 1-based accessor

## 0.1.0 - 2018-06-22

- **breaking change**: the block now takes a single `split` object with an
  `index` accessor, rather than seperate `index` and `split` arguments
- add support for negative indices in the value supplied to the `at` option
- add a `count` field to the split object containing the total number of splits

## 0.0.1 - 2018-06-21

- initial release

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
string_splitter-0.5.1 CHANGELOG.md