README.md in ffi-libc-0.1.0 vs README.md in ffi-libc-0.1.1

- old
+ new

@@ -1,11 +1,13 @@ # ffi-libc +[![CI](https://github.com/postmodern/ffi-libc/actions/workflows/ruby.yml/badge.svg)](https://github.com/postmodern/ffi-libc/actions/workflows/ruby.yml) +[![Code Climate](https://codeclimate.com/github/postmodern/ffi-libc.svg)](https://codeclimate.com/github/postmodern/ffi-libc) + * [Source](https://github.com/postmodern/ffi-libc/) * [Issues](https://github.com/postmodern/ffi-libc/issues) -* [Documentation](http://rubydoc.info/gems/ffi-libc) -* [Email](postmodern.mod3 at gmail.com) +* [Documentation](https://rubydoc.info/gems/ffi-libc) ## Description Useful Ruby FFI bindings for `libc`. @@ -23,12 +25,12 @@ * {FFI::LibC::Timeval} * {FFI::LibC::Timezone} * {FFI::LibC::RUsage} * Binds to common functions and global variables in `libc`: * `errno.h`: - * `sys_errlist` - * `sys_nerr` + * `sys_errlist` (BSD) + * `sys_nerr` (BSD) * `errno` * `unistd.h`: * `brk` * `sbrk` * `getpid` @@ -105,14 +107,28 @@ * [ffi] ~> 1.0 ## Install - $ gem install ffi-libc +```shell +$ gem install ffi-libc +``` +### gemspec + +```ruby +gem.add_dependency 'ffi-libc', '~> 0.1' +``` + +### Gemfile + +```ruby +gem 'ffi-libc', '~> 0.1' +``` + ## License -Copyright (c) 2010-2013 Hal Brodigan +Copyright (c) 2010-2021 Hal Brodigan See {file:LICENSE.txt} for license information. [ffi]: https://github.com/ffi/ffi#readme