A summary of data about the Ruby ecosystem.

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.

README.md

TOML Logo

toml-rb

Gem Version
Build Status
Code Climate
RubyGem

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

  1. Fork it
  2. Create your feature branch git checkout -b my-new-feature
  3. Add tests and commit your changes git commit -am 'Add some feature'
  4. Run tests $ rake
  5. Push the branch git push origin my-new-feature
  6. 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


GitHub Events

Total
Last Year

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 Email 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:


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

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/emancu/toml-rb

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

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)
ubuntu-24.04: ruby-toml-rb

  • Homepage: https://github.com/emancu/toml-rb
  • Licenses:
  • Latest release: 2.2.0-1 (published 25 days ago)
  • Last Synced: 2026-02-06T16:08:39.710Z (25 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-20.04: ruby-toml-rb

  • Homepage: http://github.com/emancu/toml-rb
  • Licenses:
  • Latest release: 1.0.0-2 (published 18 days ago)
  • Last Synced: 2026-02-13T07:24:21.115Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.10: ruby-toml-rb

  • Homepage: https://github.com/emancu/toml-rb
  • Licenses:
  • Latest release: 2.2.0-1 (published 18 days ago)
  • Last Synced: 2026-02-13T18:34:30.335Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: ruby-toml-rb

  • Homepage: https://github.com/emancu/toml-rb
  • Licenses:
  • Latest release: 2.2.0-1 (published 20 days ago)
  • Last Synced: 2026-02-11T06:51:27.394Z (20 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: ruby-toml-rb

  • Homepage: https://github.com/emancu/toml-rb
  • Licenses:
  • Latest release: 2.2.0-1 (published 22 days ago)
  • Last Synced: 2026-02-09T17:27:43.862Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
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%
ubuntu-22.04: ruby-toml-rb

  • Homepage: https://github.com/emancu/toml-rb
  • Licenses:
  • Latest release: 2.1.0-1 (published 18 days ago)
  • Last Synced: 2026-02-13T13:27:41.938Z (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-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

toml-rb.gemspec rubygems
  • minitest ~> 5.7 development
  • rake >= 0 development
  • standard ~> 1.4 development
  • citrus ~> 3.0, > 3.0
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v2 composite
  • github/codeql-action/analyze v1 composite
  • github/codeql-action/autobuild v1 composite
  • github/codeql-action/init v1 composite
.github/workflows/ruby.yml actions
  • actions/checkout v2 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems

Score: 28.889139191167757