Skip to content

Commit eb9d347

Browse files
committed
chore: switch to github actions
- add support for ruby >= 3.0 - from ruby 3.0 on rexml is a gem
1 parent 731c562 commit eb9d347

File tree

6 files changed

+41
-35
lines changed

6 files changed

+41
-35
lines changed

.github/workflows/ruby.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# See https://github.com/ruby/setup-ruby
2+
name: Test
3+
4+
on:
5+
push:
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
test:
13+
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
ruby-version:
18+
- '2.6'
19+
- '2.7'
20+
- '3.0'
21+
- '3.1'
22+
- ruby-head
23+
- jruby-head
24+
25+
steps:
26+
- uses: actions/checkout@v3
27+
- name: Set up Ruby
28+
uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{ matrix.ruby-version }}
31+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
32+
- name: Run tests
33+
run: bundle exec rake test

.travis.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2022-06 Release 0.5.8
2+
3+
Horst Duchene
4+
* switch to github actions (56030d)
5+
16
2020-12 Release 0.5.7
27

38
Horst Duchene

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Ruby Graph Library (RGL) [<img src="https://secure.travis-ci.org/monora/rgl.png?branch=master" alt="Build Status" />](https://travis-ci.org/monora/rgl) [<img src="https://codeclimate.com/github/monora/rgl/badges/coverage.svg" />](https://codeclimate.com/github/monora/rgl/coverage) [<img src="https://badge.fury.io/rb/rgl.svg" alt="Version"/>](https://badge.fury.io/rb/rgl)[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/monora/rgl)
1+
# Ruby Graph Library (RGL) [![test](https://github.com/monora/rgl/actions/workflows/ruby.yml/badge.svg)](https://github.com/monora/rgl/actions/workflows/ruby.yml) [<img src="https://codeclimate.com/github/monora/rgl/badges/coverage.svg" />](https://codeclimate.com/github/monora/rgl/coverage) [<img src="https://badge.fury.io/rb/rgl.svg" alt="Version"/>](https://badge.fury.io/rb/rgl) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/monora/rgl)
22

33
RGL is a framework for graph data structures and algorithms.
44

lib/rgl/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# library. The main module is RGL::Graph which defines the abstract behavior of
55
# all graphs in the library.
66

7-
RGL_VERSION = "0.5.7"
7+
RGL_VERSION = "0.5.8"
88

99
module RGL
1010
class NotDirectedError < RuntimeError; end

rgl.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
1212

1313
s.add_dependency 'stream', '~> 0.5.3'
1414
s.add_dependency 'lazy_priority_queue', '~> 0.1.0'
15+
s.add_dependency 'rexml', '~> 3.2', '>= 3.2.4'
1516

1617
s.add_development_dependency 'rake'
1718
s.add_development_dependency 'yard'

0 commit comments

Comments
 (0)