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
- Host: GitHub
- URL: https://github.com/r4gus/uhid-ruby
- Owner: r4gus
- Created: 2023-12-26T15:51:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-29T17:09:35.000Z (about 2 years ago)
- Last Synced: 2025-02-28T14:50:15.399Z (11 months ago)
- Language: Ruby
- Size: 394 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.