README.md in rambling-trie-2.3.0 vs README.md in rambling-trie-2.3.1

- old
+ new

@@ -1,9 +1,19 @@ # Rambling Trie -[![Gem Version][badge_fury_badge]][badge_fury_link] [![Build Status][travis_ci_badge]][travis_ci_link] [![Code Climate][code_climate_badge]][code_climage_link] [![Coverage Status][coveralls_badge]][coveralls_link] [![Documentation Status][inch_ci_badge]][inch_ci_link] [![License][license_badge]][license_link] +[![Gem Version][badge_fury_badge]][badge_fury_link] +[![Downloads][downloads_badge]][downloads_link] +[![License][license_badge]][license_link] +[![Build Status][github_action_build_badge]][github_action_build_link] +[![Coverage Status][coveralls_badge]][coveralls_link] +[![Documentation Status][inch_ci_badge]][rubydoc] +[![CodeQL Status][github_action_codeql_badge]][github_action_codeql_link] + +[![Code Climate Grade][code_climate_grade_badge]][code_climate_link] +[![Code Climate Issue Count][code_climate_issues_badge]][code_climate_link] + The Rambling Trie is a Ruby implementation of the [trie data structure][trie_wiki], which includes compression abilities and is designed to be very fast to traverse. ## Installing the Rambling Trie ### Requirements @@ -165,11 +175,11 @@ ``` Then, when you need to use a trie next time, you don't have to create a new one with all the necessary words. Rather, you can retrieve a previously stored one with `.load` like this: ``` ruby -trie = Rambling::Trie.load trie, '/path/to/file' +trie = Rambling::Trie.load '/path/to/file' ``` #### Supported formats Currently, these formats are supported to store tries on disk: @@ -195,11 +205,11 @@ Then, you can load contents form a `.zip` file like this: ``` ruby require 'zip' -trie = Rambling::Trie.load trie, '/path/to/file.zip' +trie = Rambling::Trie.load '/path/to/file.zip' ``` > For `.zip` files, the format is also determined automatically based on the > file extension, so `.yml.zip` or `.yaml.zip` files will be handled through > `YAML` after decompression and `.marshal.zip` files through `Marshal`. @@ -263,42 +273,46 @@ Take a look at the [contributing guide][rambling_trie_contributing_guide] to get started, or fire a question to [@gonzedge][github_user_gonzedge]. ## License and copyright -Copyright (c) 2012-2017 Edgar Gonzalez +Copyright (c) 2012-2023 Edgar González 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. -[badge_fury_badge]: https://badge.fury.io/rb/rambling-trie.svg +[badge_fury_badge]: https://badge.fury.io/rb/rambling-trie.svg?version=2.3.0 [badge_fury_link]: https://badge.fury.io/rb/rambling-trie [chruby]: https://github.com/postmodern/chruby -[code_climage_link]: https://codeclimate.com/github/gonzedge/rambling-trie -[code_climate_badge]: https://codeclimate.com/github/gonzedge/rambling-trie/badges/gpa.svg +[code_climate_grade_badge]: https://codeclimate.com/github/gonzedge/rambling-trie/badges/gpa.svg +[code_climate_issues_badge]: https://codeclimate.com/github/gonzedge/rambling-trie/badges/issue_count.svg +[code_climate_link]: https://codeclimate.com/github/gonzedge/rambling-trie [coveralls_badge]: https://img.shields.io/coveralls/gonzedge/rambling-trie.svg [coveralls_link]: https://coveralls.io/r/gonzedge/rambling-trie +[downloads_badge]: https://img.shields.io/gem/dt/rambling-trie.svg +[downloads_link]: https://rubygems.org/gems/rambling-trie [gemnasium_badge]: https://gemnasium.com/gonzedge/rambling-trie.svg [gemnasium_link]: https://gemnasium.com/gonzedge/rambling-trie +[github_action_build_badge]: https://github.com/gonzedge/rambling-trie/actions/workflows/ruby.yml/badge.svg +[github_action_build_link]: https://github.com/gonzedge/rambling-trie/actions/workflows/ruby.yml +[github_action_codeql_badge]: https://github.com/gonzedge/rambling-trie/actions/workflows/codeql.yml/badge.svg +[github_action_codeql_link]: https://github.com/gonzedge/rambling-trie/actions/workflows/codeql.yml [github_user_gonzedge]: https://github.com/gonzedge [inch_ci_badge]: https://inch-ci.org/github/gonzedge/rambling-trie.svg?branch=master -[inch_ci_link]: https://inch-ci.org/github/gonzedge/rambling-trie -[license_badge]: https://badges.frapsoft.com/os/mit/mit.svg?v=103 +[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg [license_link]: https://opensource.org/licenses/mit-license.php [marshal]: https://ruby-doc.org/core-2.7.0/Marshal.html [rambling_trie_configuration]: https://github.com/gonzedge/rambling-trie#configuration [rambling_trie_contributing_guide]: https://github.com/gonzedge/rambling-trie/blob/master/CONTRIBUTING.md [rambling_trie_plain_text_reader]: https://github.com/gonzedge/rambling-trie/blob/master/lib/rambling/trie/readers/plain_text.rb [rbenv]: https://github.com/sstephenson/rbenv [rubydoc]: http://rubydoc.info/gems/rambling-trie [rubydoc_github]: http://rubydoc.info/github/gonzedge/rambling-trie [rubyzip]: https://github.com/rubyzip/rubyzip [rvm]: https://rvm.io -[travis_ci_badge]: https://travis-ci.com/gonzedge/rambling-trie.svg?branch=master -[travis_ci_link]: https://travis-ci.com/github/gonzedge/rambling-trie [trie_wiki]: https://en.wikipedia.org/wiki/Trie [yaml]: https://ruby-doc.org/stdlib-2.7.0/libdoc/yaml/rdoc/YAML.html