├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── BUG_REPORT.md │ ├── FEATURE_REQUEST.md │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── ci.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── appveyor.yml ├── assets └── strings_logo.png ├── benchmarks └── speed_profile.rb ├── bin ├── console └── setup ├── lib ├── strings.rb └── strings │ ├── align.rb │ ├── extensions.rb │ ├── fold.rb │ ├── pad.rb │ ├── padder.rb │ ├── truncate.rb │ ├── version.rb │ └── wrap.rb ├── spec ├── spec_helper.rb └── unit │ ├── align │ ├── align_left_spec.rb │ ├── align_right_spec.rb │ └── align_spec.rb │ ├── align_spec.rb │ ├── ansi_spec.rb │ ├── extensions_spec.rb │ ├── fold │ └── fold_spec.rb │ ├── fold_spec.rb │ ├── pad │ └── pad_spec.rb │ ├── pad_spec.rb │ ├── padder │ └── parse_spec.rb │ ├── sanitize_spec.rb │ ├── truncate │ └── truncate_spec.rb │ ├── truncate_spec.rb │ ├── wrap │ ├── insert_ansi_spec.rb │ └── wrap_spec.rb │ └── wrap_spec.rb ├── strings.gemspec └── tasks ├── console.rake ├── coverage.rake └── spec.rake /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: piotrmurach 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/BUG_REPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.github/ISSUE_TEMPLATE/BUG_REPORT.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.rspec -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/Rakefile -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/appveyor.yml -------------------------------------------------------------------------------- /assets/strings_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/assets/strings_logo.png -------------------------------------------------------------------------------- /benchmarks/speed_profile.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/benchmarks/speed_profile.rb -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/bin/setup -------------------------------------------------------------------------------- /lib/strings.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings.rb -------------------------------------------------------------------------------- /lib/strings/align.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings/align.rb -------------------------------------------------------------------------------- /lib/strings/extensions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings/extensions.rb -------------------------------------------------------------------------------- /lib/strings/fold.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings/fold.rb -------------------------------------------------------------------------------- /lib/strings/pad.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings/pad.rb -------------------------------------------------------------------------------- /lib/strings/padder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings/padder.rb -------------------------------------------------------------------------------- /lib/strings/truncate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings/truncate.rb -------------------------------------------------------------------------------- /lib/strings/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings/version.rb -------------------------------------------------------------------------------- /lib/strings/wrap.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/lib/strings/wrap.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/unit/align/align_left_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/align/align_left_spec.rb -------------------------------------------------------------------------------- /spec/unit/align/align_right_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/align/align_right_spec.rb -------------------------------------------------------------------------------- /spec/unit/align/align_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/align/align_spec.rb -------------------------------------------------------------------------------- /spec/unit/align_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/align_spec.rb -------------------------------------------------------------------------------- /spec/unit/ansi_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/ansi_spec.rb -------------------------------------------------------------------------------- /spec/unit/extensions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/extensions_spec.rb -------------------------------------------------------------------------------- /spec/unit/fold/fold_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/fold/fold_spec.rb -------------------------------------------------------------------------------- /spec/unit/fold_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/fold_spec.rb -------------------------------------------------------------------------------- /spec/unit/pad/pad_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/pad/pad_spec.rb -------------------------------------------------------------------------------- /spec/unit/pad_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/pad_spec.rb -------------------------------------------------------------------------------- /spec/unit/padder/parse_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/padder/parse_spec.rb -------------------------------------------------------------------------------- /spec/unit/sanitize_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/sanitize_spec.rb -------------------------------------------------------------------------------- /spec/unit/truncate/truncate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/truncate/truncate_spec.rb -------------------------------------------------------------------------------- /spec/unit/truncate_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/truncate_spec.rb -------------------------------------------------------------------------------- /spec/unit/wrap/insert_ansi_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/wrap/insert_ansi_spec.rb -------------------------------------------------------------------------------- /spec/unit/wrap/wrap_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/wrap/wrap_spec.rb -------------------------------------------------------------------------------- /spec/unit/wrap_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/spec/unit/wrap_spec.rb -------------------------------------------------------------------------------- /strings.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/strings.gemspec -------------------------------------------------------------------------------- /tasks/console.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/tasks/console.rake -------------------------------------------------------------------------------- /tasks/coverage.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/tasks/coverage.rake -------------------------------------------------------------------------------- /tasks/spec.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piotrmurach/strings/HEAD/tasks/spec.rake --------------------------------------------------------------------------------