Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 0 additions & 136 deletions .gemspec

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
pull_request:
workflow_dispatch:
# Monthly, to catch breakage from new Ruby or dependency releases
# when nothing has been pushed.
schedule:
- cron: '0 6 1 * *'

permissions:
contents: read

jobs:
test:
name: Ruby ${{ matrix.ruby }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['3.1', '3.2', '3.3', '3.4', '4.0']
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Tests
run: bundle exec rake test
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.reap/digest
.rdoc
.yardoc
doc
log
pkg
ri
tmp
site/doc
web
doc
web
*.gem
Gemfile.lock
2 changes: 0 additions & 2 deletions .reap/ignore

This file was deleted.

7 changes: 0 additions & 7 deletions .reap/pack.reap

This file was deleted.

16 changes: 0 additions & 16 deletions .reap/spec.reap

This file was deleted.

10 changes: 0 additions & 10 deletions .reap/test.reap

This file was deleted.

55 changes: 0 additions & 55 deletions .ruby

This file was deleted.

10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

35 changes: 0 additions & 35 deletions Assembly

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
source :rubygems
source "https://rubygems.org"
gemspec
39 changes: 39 additions & 0 deletions HISTORY.rdoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,45 @@
= RELEASE HISTORY


== 1.8.0 / UNRELEASED

DNote runs on current Ruby again; it needs Ruby 3.1 or newer. Notes can
now be written as tags, in the manner of YARD, e.g. `@TODO Fix this.`
A tag in capitals is always a note. The usual labels (TODO, FIXME,
OPTIMIZE, THINK and DEPRECATE) are notes in lower case too, so YARD's
own `@todo` is collected. Use `--no-tags` to turn tags off.

Changes:

* Support Ruby 3.1 and newer (ERB is called with keywords).
* Add tag notes, such as `@TODO`, and the `--[no-]tags` option.
* A tag, such as YARD's `@return`, ends the note before it.
* Fix the first line of code after a note being left out of its context.
* Fix `html/list` and `xml/file` formats, which failed with any notes.
* Fix `xoxo` formats, which never finished.
* Fix label-and-file groupings when the plain grouping was used first.
* Fix the Rake task, which was written for another tool's task library.
* Fix `--dryrun`, which wrote the file all the same.
* Escape code context in HTML formats.
* Read files that aren't valid UTF-8, rather than fail on them.
* The string methods the templates use are refinements, no longer
added to String itself.
* A format whose library isn't installed (soap, xoxo) says so.
* Recognize the comment markers of more languages.
* Drop the dependency on REXML.


== 1.7.1 / 2012-01-10

The `dnote.yml` file which provides project metadata, particularly the DNote::VERSION setting,
was left out of the package manifest. This release fixes this issue and gets things working
again.

Changes:

* Add lib/dnote.yml to MANIFEST.


== 1.7.0 / 2011-10-25

This release finishes adding code context support to all formats. Use the `-c`
Expand Down
Loading
Loading