- Windows Vista/Windows Server 2008 or later.
- gcc and g++ from MSYS2 for building C/C++ extension.
- Ruby 2.4 or later with MSYS2.
Add this line to your application's Gemfile:
gem 'winevt_c'
And then execute:
$ ridk exec bundle
Or install it yourself as:
$ ridk exec gem install winevt_c
- Docker is needed to build fat gem due to rake-compiler-dock uses docker container.
Usage examples are found in example directory.
Currently, the following locales should be supported to output description:
locale | language |
---|---|
bg_BG | Bulgarian |
zh_CN | Simplified Chinese |
zh_TW | Traditional Chinese |
zh_HK | Chinese (Hong Kong) |
zh_SG | Chinese (Singapore) |
hr_HR | Croatian |
cz_CZ | Czech |
da_DK | Danish |
nl_NL | Dutch |
nl_BG | Dutch (Belgium) |
en_US | English (United States) |
en_GB | English (UK) |
en_AU | English (Australia) |
en_CA | English (Canada) |
en_NZ | English (New Zealand) |
en_IE | English (Ireland) |
fi_FI | Finnish |
fr_FR | French |
fr_BE | French (Belgium) |
fr_CA | French (Canada) |
fr_CH | French (Swiss) |
de_DE | German |
de_CH | German (Swiss) |
de_AT | German (Austria) |
el_GR | Greek (Ελληνικά) |
hu_HU | Hungarian |
is_IS | Icelandic |
it_IT | Italian (Italy) |
it_CH | Italian (Swiss) |
ja_JP | Japanese |
ko_KO | Korean |
no_NO | Norwegian (Bokmål) |
nb_NO | Norwegian (Bokmål) |
nn_NO | Norwegian (Nynorsk) |
pl_PL | Polish (Poland) |
pt_PT | Portuguese |
pt_BR | Portuguese (Brazil) |
ro_RO | Romanian |
ru_RU | Russian (русский язык) |
sk_SK | Slovak |
sl_SI | Slovenian |
es_ES | Spanish |
es_ES_T | Spanish (Traditional) |
es_MX | Spanish (Mexico) |
es_ES_M | Spanish (Modern) |
sv_SE | Swedish |
tr_TR | Turkish |
After checking out the repo, run bin/setup
to install dependencies. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/fluent-plugins-nursery/winevt_c.