ruby: specfile
ruby: doc fixes
ruby: use option hash for Thread#duphash