about summary refs log tree commit
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-12-31 22:54:00 +0000
committerEric Wong <e@80x24.org>2017-12-31 22:54:00 +0000
commitc7e0972eb81e53ddbe1def3d6d8439dcb6b907e4 (patch)
tree766a9e113efc6cadd0509d979096e24dad05a5cd
parent729378121f789632acd4fc84badf11dd1f66d0a5 (diff)
This release simplifies the API to avoid (and raise on) user
errors.  If your code worked with previous versions, there
are no changes necessary to make.

This release fixes our API to match the documentation in making
Msgthr#order! optional.  Furthermore, the block previously
passed to Msgthr#order! may now be passed to Msgthr#thread!
instead.

For users who truly do not care about ordering, Msgthr#walk_thread
may be called immediately after the last call to Msgthr#add.

Thanks to Dimid Duchovny for the feedback which led to this release:
https://80x24.org/msgthr-public/CANKvuDc2mkxLuh+3+WXWfMXzxK2bShNesrD5xLocGOD1RybbwQ@mail.gmail.com/
-rw-r--r--GNUmakefile2
-rw-r--r--msgthr.gemspec2
2 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index dbc02f4..ae993b1 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -4,7 +4,7 @@ all::
 pkg = msgthr
 RUBY = ruby
 lib := lib
-VERSION := 1.0.1
+VERSION := 1.1.0
 RSYNC_DEST := 80x24.org:/srv/80x24/msgthr/
 
 RSYNC = rsync
diff --git a/msgthr.gemspec b/msgthr.gemspec
index 90d6b7e..c01adbd 100644
--- a/msgthr.gemspec
+++ b/msgthr.gemspec
@@ -4,7 +4,7 @@
 Gem::Specification.new do |s|
   manifest = File.read('.manifest').split(/\n/)
   s.name = %q{msgthr}
-  s.version = ENV['VERSION'] || '1.0.1'
+  s.version = ENV['VERSION'] || '1.1.0'
   s.authors = ['msgthr hackers']
   s.summary = 'container-agnostic, non-recursive message threading'
   s.description = File.read('README').split(/\n\n/)[1].strip