From 7b3a451f1a588aa0d5ef85ee0a3ae4b68496881c Mon Sep 17 00:00:00 2001 From: synesissoftware Date: Sun, 30 Aug 2026 14:44:42 +1000 Subject: [PATCH 1/2] Boilerplate (#7) * .vimrc * chore(ci): canonical branches --- .github/workflows/ruby.yml | 1 - .vimrc | 70 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 .vimrc diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index c7171c5..e0155df 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -18,7 +18,6 @@ on: - master - dev - boilerplate - - bp-2 - idiomatic - rc1 - rc2 diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..b8184be --- /dev/null +++ b/.vimrc @@ -0,0 +1,70 @@ +" Synesis Ruby project .vimrc — aligned with .vscode/settings.json (2-space Ruby) + +set nocompatible +filetype indent plugin on +syntax enable +set autoindent +set backspace=indent,eol,start +set hlsearch +set incsearch +set number + +" files.insertFinalNewline +set eol +set fixeol + +" editor.renderWhitespace: all +set list +set listchars=tab:->,trail:-,extends:>,precedes:<,nbsp:+ + +" editor.detectIndentation: false — global defaults (editor.tabSize: 2, insertSpaces: true) +set colorcolumn=76 +set expandtab +set shiftwidth=2 +set softtabstop=2 +set tabstop=2 + +" colorcolumn draws a full-column tint in Vim (not a VS Code-style 1px line). +" Keep it subtle via the ColorColumn highlight group; reapply after colorscheme changes. +if has('termguicolors') + " set termguicolors +endif + +function! s:ConfigureColorColumn() abort + highlight ColorColumn ctermbg=236 guibg=#2a2a2a cterm=NONE gui=NONE +endfunction + +call s:ConfigureColorColumn() +autocmd ColorScheme * call s:ConfigureColorColumn() + +" files.trimTrailingWhitespace +autocmd BufWritePre * %s/\s\+$//e + +augroup sis_c_cxx + autocmd! + + " [c] / [cpp] + autocmd FileType c,cpp setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 colorcolumn=60,64,68,72,76 + + " [rust] + autocmd FileType rs setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 colorcolumn=76 + + " [cmake] + autocmd FileType cmake setlocal noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 + + " [shellscript] + autocmd FileType sh,bash,zsh setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2 colorcolumn=60,76 + + " [bat] + autocmd FileType bat,dosbatch setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 colorcolumn=60,76 + + " [json] / [markdown] / [yaml] / [ruby] + autocmd FileType json,markdown,yaml,ruby setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2 + + " [python] + autocmd FileType python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 colorcolumn=60,76 + + " [toml] + autocmd FileType toml setlocal noexpandtab tabstop=2 shiftwidth=2 softtabstop=2 +augroup END + From 0c9be26f5a805733fa63201473d9fe34dac84e6d Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Sun, 30 Aug 2026 14:47:20 +1000 Subject: [PATCH 2/2] 0.0.4 --- CHANGES.md | 6 ++++++ NEWS.md | 1 + lib/woad/version.rb | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 9a9c0fc..c69b323 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,12 @@ # woad.Ruby - Changes +## 0.0.4 - 30th August 2026 + +* added shared **.vimrc** editor configuration; +* removed obsolete `bp-2` push branch from **GitHub Actions** CI; + + ## 0.0.3 - 28th August 2026 * updated GitHub Actions checkout references to **v7**; diff --git a/NEWS.md b/NEWS.md index 654a597..caa2892 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,7 @@ | Date | News Item | | ---------------- | -------------------------------------------------------------------------------------- | +| 30th August 2026 | [**woad.Ruby** 0.0.4](https://github.com/synesissoftware/woad.Ruby/releases/tag/0.0.4) | | 28th August 2026 | [**woad.Ruby** 0.0.3](https://github.com/synesissoftware/woad.Ruby/releases/tag/0.0.3) | | 20th August 2026 | [**woad.Ruby** 0.0.2](https://github.com/synesissoftware/woad.Ruby/releases/tag/0.0.2) | | 15th August 2026 | [**woad.Ruby** 0.0.1](https://github.com/synesissoftware/woad.Ruby/releases/tag/0.0.1) | diff --git a/lib/woad/version.rb b/lib/woad/version.rb index 905ebe7..93395d2 100644 --- a/lib/woad/version.rb +++ b/lib/woad/version.rb @@ -5,7 +5,7 @@ # Purpose: Version for woad.Ruby library # # Created: 15th August 2026 -# Updated: 28th August 2026 +# Updated: 30th August 2026 # # Home: https://github.com/synesissoftware/woad.Ruby # @@ -50,7 +50,7 @@ module Woad # Current version of the woad.Ruby library - VERSION = '0.0.3' + VERSION = '0.0.4' private # @!visibility private