An open API service indexing awesome lists of open source software.

https://github.com/r4gus/uhid-ruby

Ruby uhid gem for Linux
https://github.com/r4gus/uhid-ruby

Last synced: 10 months ago
JSON representation

Ruby uhid gem for Linux

Awesome Lists containing this project

README

          

# Uhid Ruby

## Build

### From source

To build from source you need Ruby, and rake.

```bash
gem install rake-compiler
```

Then run one of the following commands:
* `rake compile` - this compiles the C extension and places the `uhid.so` into `lib/uhid/`.
* `gem build` - build a gem
* `rake native gem` - build a native gem using rake

### Build gem

```
rake compile
gem build uhid.gemspec
gem push uhid-x.y.z.gem
```

## Docs

To build the documentation you need Yard.

```bash
gem install yard
```

Then run `yard doc`.

## Testing

Run tests with `./bin/rspec --format doc`.