https://github.com/emancu/toml-rb
A parser for TOML using Citrus library.
https://github.com/emancu/toml-rb
Keywords from Contributors
sinatra grape rubygem ruby-gem activerecord static-code-analysis rubocop code-formatter oauth2-server oauth2-provider
Last synced: about 4 hours ago
JSON representation
Repository metadata
A parser for TOML using Citrus library.
- Host: GitHub
- URL: https://github.com/emancu/toml-rb
- Owner: emancu
- License: mit
- Created: 2013-02-24T16:56:27.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2025-10-29T18:36:53.000Z (4 months ago)
- Last Synced: 2026-02-27T16:59:43.297Z (4 days ago)
- Language: Ruby
- Size: 332 KB
- Stars: 115
- Watchers: 3
- Forks: 38
- Open Issues: 0
- Releases: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md

toml-rb
A TOML parser using Citrus library.
TOML specs supported: 1.0.0
Installation
$ gem install toml-rb
Parser Usage
require 'toml-rb'
# From a file!
path = File.join(File.dirname(__FILE__), 'path', 'to', 'file')
TomlRB.load_file(path)
# From a stream!
stream = <<-EOS
title = "wow!"
[awesome]
you = true
others = false
EOS
TomlRB.parse(stream)
# => {"title"=>"wow!", "awesome"=>{"you"=>true, "others"=>false}}
# You want symbols as your keys? No problem!
TomlRB.load_file(path, symbolize_keys: true)
# Works the same for TomlRB.parse
Dumper Usage
require 'toml-rb'
# Simple example
TomlRB.dump( simple: true)
# => "simple = true\n"
# Complex example
hash = {
"title"=>"wow!",
"awesome"=> {
"you"=>true,
"others"=>false
}
}
TomlRB.dump(hash)
# => "title = \"wow!\"\n[awesome]\nothers = false\nyou = true\n"
Contributing
- Fork it
- Create your feature branch
git checkout -b my-new-feature - Add tests and commit your changes
git commit -am 'Add some feature' - Run tests
$ rake - Push the branch
git push origin my-new-feature - Create new Pull Request
License
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Owner metadata
- Name: Emiliano Mancuso
- Login: emancu
- Email:
- Kind: user
- Description:
- Website:
- Location: London
- Twitter: emancu
- Company: @surgeventures
- Icon url: https://avatars.githubusercontent.com/u/56375?v=4
- Repositories: 51
- Last ynced at: 2024-12-06T21:48:16.621Z
- Profile URL: https://github.com/emancu
GitHub Events
Total
- Create event: 5
- Release event: 1
- Issues event: 5
- Watch event: 8
- Delete event: 2
- Issue comment event: 4
- Push event: 5
- Pull request review comment event: 1
- Pull request event: 7
- Fork event: 1
Last Year
- Create event: 5
- Release event: 1
- Issues event: 5
- Watch event: 6
- Delete event: 2
- Issue comment event: 4
- Push event: 5
- Pull request review comment event: 1
- Pull request event: 7
- Fork event: 1
Committers metadata
Last synced: 3 days ago
Total Commits: 324
Total Committers: 30
Avg Commits per committer: 10.8
Development Distribution Score (DDS): 0.333
Commits in past year: 10
Committers in past year: 1
Avg Commits per committer in past year: 10.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Emiliano Mancuso | e****o@g****m | 216 |
| tonchis | l****y@g****m | 38 |
| timcolonel | t****n@o****m | 16 |
| Raimonds Simanovskis | r****s@g****m | 9 |
| yassun | y****v@o****m | 8 |
| Jānis Vanags | j****s@g****m | 5 |
| Grey Baker | g****l@g****m | 3 |
| James White | d****e@g****m | 3 |
| Artem Ignatyev | a****v@r****t | 2 |
| Bernard Lambeau | b****u@g****m | 2 |
| Shan-Yung Yang | s****g@r****m | 2 |
| Tim Smith | t****h@c****o | 2 |
| Alex Yang | a****9@g****m | 1 |
| Andrew Nesbitt | a****z@g****m | 1 |
| Edward Betts | e****d@4****m | 1 |
| Igor Drozdov | i****v@g****m | 1 |
| Igor Victor | g****a@y****u | 1 |
| Jānis Liepa | j****a@e****m | 1 |
| Katsuhiko YOSHIDA | c****d@g****m | 1 |
| Nagesh A T | 7****p | 1 |
| Nicolas Leger | n****r | 1 |
| Ole Reifschneider | m****l@o****e | 1 |
| ReadmeCritic | f****t@g****m | 1 |
| Rolands Bondars | r****s@e****m | 1 |
| Ryan Fortman | r****n@p****m | 1 |
| Sigurd Ljødal | s****d@l****o | 1 |
| Stefan Sundin | g****t@s****m | 1 |
| Tim Meusel | t****m@b****e | 1 |
| dreid | d****d@p****m | 1 |
| jakecoffman | j****e@j****m | 1 |
Committer domains:
- eazybi.com: 2
- jakecoffman.com: 1
- pilot.com: 1
- bastelfreak.de: 1
- stefansundin.com: 1
- ljodal.no: 1
- parchment.com: 1
- ole-reifschneider.de: 1
- yandex.ru: 1
- 4angle.com: 1
- chef.io: 1
- rayark.com: 1
- riskmethods.net: 1
Issue and Pull Request metadata
Last synced: 11 days ago
Total issues: 51
Total pull requests: 73
Average time to close issues: 2 months
Average time to close pull requests: 19 days
Total issue authors: 32
Total pull request authors: 28
Average comments per issue: 2.24
Average comments per pull request: 1.03
Merged pull request: 62
Bot issues: 0
Bot pull requests: 0
Past year issues: 2
Past year pull requests: 8
Past year average time to close issues: 5 days
Past year average time to close pull requests: 5 minutes
Past year issue authors: 2
Past year pull request authors: 2
Past year average comments per issue: 1.0
Past year average comments per pull request: 0.0
Past year merged pull request: 6
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- rsim (11)
- bararchy (5)
- AxelAtS (4)
- znz (2)
- emancu (2)
- lessless (1)
- kplimack (1)
- tsudoko (1)
- amon-sha (1)
- jakobs (1)
- funzoneq (1)
- markhallen (1)
- Jefffrey (1)
- alvaromorales (1)
- marvfinsy (1)
Top Pull Request Authors
- emancu (31)
- rsim (5)
- yassun4dev (4)
- jva (3)
- greysteil (2)
- timotheeguerin (2)
- ukalwa (2)
- timon (2)
- gogainda (2)
- shanyungyang (2)
- tatzyr (1)
- bastelfreak (1)
- rodzhers (1)
- jakecoffman (1)
- kyoshidajp (1)
Top Issue Labels
- bug (3)
- enhancement (2)
- wontfix (2)
Top Pull Request Labels
- hacktoberfest-accepted (1)
Package metadata
- Total packages: 12
-
Total downloads:
- rubygems: 144,377,459 total
- Total docker downloads: 875,560,538
- Total dependent packages: 63 (may contain duplicates)
- Total dependent repositories: 1,524 (may contain duplicates)
- Total versions: 84
- Total maintainers: 1
gem.coop: toml-rb
A Toml parser using Citrus parsing library.
- Homepage: https://github.com/emancu/toml-rb
- Documentation: http://www.rubydoc.info/gems/toml-rb/
- Licenses: MIT
- Latest release: 4.1.0 (published 4 months ago)
- Last Synced: 2026-03-02T04:33:08.123Z (1 day ago)
- Versions: 37
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 72,201,620 Total
- Docker Downloads: 437,780,269
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.17%
- Docker downloads count: 0.271%
- Downloads: 0.41%
- Maintainers (1)
rubygems.org: toml-rb
A Toml parser using Citrus parsing library.
- Homepage: https://github.com/emancu/toml-rb
- Documentation: http://www.rubydoc.info/gems/toml-rb/
- Licenses: MIT
- Latest release: 4.1.0 (published 4 months ago)
- Last Synced: 2026-02-28T02:37:32.319Z (4 days ago)
- Versions: 37
- Dependent Packages: 63
- Dependent Repositories: 1,524
- Downloads: 72,175,839 Total
- Docker Downloads: 437,780,269
-
Rankings:
- Docker downloads count: 0.335%
- Dependent packages count: 0.453%
- Downloads: 0.496%
- Dependent repos count: 0.792%
- Average: 1.947%
- Forks count: 4.188%
- Stargazers count: 5.42%
- Maintainers (1)
debian-11: ruby-toml-rb
- Homepage: http://github.com/emancu/toml-rb
- Documentation: https://packages.debian.org/bullseye/ruby-toml-rb
- Licenses:
- Latest release: 1.0.0-2 (published 21 days ago)
- Last Synced: 2026-02-13T08:25:49.465Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-10: ruby-toml-rb
- Homepage: http://github.com/emancu/toml-rb
- Documentation: https://packages.debian.org/buster/ruby-toml-rb
- Licenses:
- Latest release: 1.0.0-2 (published 20 days ago)
- Last Synced: 2026-02-13T04:26:38.434Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-toml-rb
- Homepage: https://github.com/emancu/toml-rb
- Documentation: https://packages.debian.org/bookworm/ruby-toml-rb
- Licenses:
- Latest release: 2.2.0-1 (published 19 days ago)
- Last Synced: 2026-02-12T23:42:59.996Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: ruby-toml-rb
- Homepage: https://github.com/emancu/toml-rb
- Documentation: https://packages.debian.org/trixie/ruby-toml-rb
- Licenses:
- Latest release: 2.2.0-1 (published 19 days ago)
- Last Synced: 2026-02-13T13:20:23.834Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- minitest ~> 5.7 development
- rake >= 0 development
- standard ~> 1.4 development
- citrus ~> 3.0, > 3.0
- actions/checkout v2 composite
- github/codeql-action/analyze v1 composite
- github/codeql-action/autobuild v1 composite
- github/codeql-action/init v1 composite
- actions/checkout v2 composite
- ruby/setup-ruby v1 composite
Score: 28.889139191167757