Skip to content

Commit db9d990

Browse files
committed
Update README
1 parent f935fb8 commit db9d990

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# mongoid-tree [![Build Status](https://secure.travis-ci.org/benedikt/mongoid-tree.svg?branch=master)](http://travis-ci.org/benedikt/mongoid-tree) [![Dependency Status](https://gemnasium.com/benedikt/mongoid-tree.svg)](http://gemnasium.com/benedikt/mongoid-tree)
1+
# mongoid-tree [![Build Status](https://github.com/benedikt/mongoid-tree/workflows/Tests/badge.svg)](https://github.com/benedikt/mongoid-tree)
22

33
A tree structure for Mongoid documents using the materialized path pattern
44

@@ -14,13 +14,13 @@ for a mongoid 2.x compatible version, please use mongoid-tree 0.7.x.
1414

1515
To install mongoid_tree, simply add it to your Gemfile:
1616

17-
gem 'mongoid-tree', :require => 'mongoid/tree'
17+
gem 'mongoid-tree', require: 'mongoid/tree'
1818

1919
In order to get the latest development version of mongoid-tree:
2020

21-
gem 'mongoid-tree', :git => 'git://github.com/benedikt/mongoid-tree'
21+
gem 'mongoid-tree', git: 'git://github.com/benedikt/mongoid-tree', branch: :main
2222

23-
You might want to add `:require => nil` option and explicitly `require 'mongoid/tree'` where needed and finally run
23+
You might want to add `require: nil` option and explicitly `require 'mongoid/tree'` where needed and finally run
2424

2525
bundle install
2626

@@ -30,7 +30,7 @@ To fix issues with the ordering of ancestors, mongoid-tree 2.0 introduces a new
3030

3131
## Usage
3232

33-
Read the API documentation at http://benedikt.github.com/mongoid-tree and take a look at the `Mongoid::Tree` module
33+
Read the API documentation at https://www.rubydoc.info/github/benedikt/mongoid-tree and take a look at the `Mongoid::Tree` module
3434

3535
```ruby
3636
class Node
@@ -189,7 +189,7 @@ end
189189

190190
## Build Status
191191

192-
mongoid-tree is on [Travis CI](http://travis-ci.org/benedikt/mongoid-tree) running the specs on Ruby Head, Ruby 1.9.3, JRuby (1.9 mode), and Rubinius (1.9 mode).
192+
mongoid-tree is on [GitHub Actions](https://github.com/benedikt/mongoid-tree/actions) running the specs on Ruby 2.7-3.2 and Mongoid 4.x-8.x.
193193

194194
## Known issues
195195

0 commit comments

Comments
 (0)