# Ruby-nis library packaged as gem 'nis' 0.1.1.1

**URL:** <https://www.ruby-forum.com/t/ruby-nis-library-packaged-as-gem-nis-0-1-1-1/196173>\
**Category:** Ruby\
**Created:** [October 7, 2010, 10:28pm UTC](https://www.ruby-forum.com/t/ruby-nis-library-packaged-as-gem-nis-0-1-1-1/196173 "2010-10-07T22:28:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![miked](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@miked](https://www.ruby-forum.com/u/miked)\
**Post date:** [October 7, 2010, 10:28pm UTC](https://www.ruby-forum.com/t/ruby-nis-library-packaged-as-gem-nis-0-1-1-1/196173/1 "2010-10-07T22:28:11Z")

</div>

nis 0.1.1.1 has been released!

= nis

This is a gem repackage of the code available at:

- [http://raa.ruby-lang.org/project/ruby-nis](http://raa.ruby-lang.org/project/ruby-nis)
- [GitHub - flavorjones/nis: Mirror (and gem source) for the NIS(YP) API rubygem.](https://github.com/flavorjones/nis)

== CHANGES

Code is unchanged from 0.1.1 (which was available only as a tarball).

Module NIS has been aliased to the module YP in an attempt to be a good  
Rubygem citizen.

== DESCRIPTION:

Provides an interface for NIS(YP) API.

== USAGE

YP Module (and aliased NIS Module)

Constants:

- YPERR\_…
- YPOP\_…

Module Functions:

- yp\_all(domain, map, callback)
- yp\_all(domain, map){|status, key, val| … }
- key, val = yp\_first(domain, map)
- next\_key, next\_val = yp\_next(domain, map, key)
- val = yp\_match(domain, map, key)
- yp\_update(domain, map, ypop, key, val)

== AUTHOR

- Takaaki T. (removed\_email\_address@domain.invalid)

== SUPPORT

Unchanged since 2002.

Gemified in 2010 by Mike D. (@flavorjones).

== LICENSE:

Copyright (C) 2001, Takaaki T. (removed\_email\_address@domain.invalid)
