Skip to content

Commit 778dc52

Browse files
authored
Merge branch 'master' into master
2 parents 9333339 + 98270b6 commit 778dc52

38 files changed

+1288
-629
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
continuous_integration_build:
11+
continue-on-error: true
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
ruby: [2.3, 2.7]
16+
operating-system: [ubuntu-latest]
17+
include:
18+
- ruby: head
19+
operating-system: ubuntu-latest
20+
- ruby: truffleruby-head
21+
operating-system: ubuntu-latest
22+
- ruby: 2.7
23+
operating-system: windows-latest
24+
- ruby: jruby-head
25+
operating-system: windows-latest
26+
27+
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
28+
29+
runs-on: ${{ matrix.operating-system }}
30+
31+
steps:
32+
- name: Checkout Code
33+
uses: actions/checkout@v2
34+
35+
- name: Setup Ruby
36+
uses: ruby/setup-ruby@v1
37+
with:
38+
ruby-version: ${{ matrix.ruby }}
39+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
40+
41+
- name: Run Build
42+
run: bundle exec rake default
43+
44+
- name: Test Gem
45+
run: bundle exec rake test:gem

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*.sw?
44
.DS_Store
55
coverage
6+
doc
7+
.yardoc
68
pkg
79
rdoc
810
Gemfile.lock

.travis.yml

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

.yardopts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--default-return=''
2+
--hide-void-return
3+
--markup-provider=redcarpet
4+
--markup=markdown
5+
--fail-on-warning
6+
-
7+
README.md
8+
CHANGELOG.md
9+
CONTRIBUTING.md
10+
RELEASING.md
11+
MAINTAINERS.md

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
<!--
2+
# @markup markdown
3+
# @title Change Log
4+
-->
5+
16
# Change Log
27

8+
## 1.8.1
9+
10+
See https://github.com/ruby-git/ruby-git/releases/tag/v1.8.1
11+
12+
## 1.8.0
13+
14+
See https://github.com/ruby-git/ruby-git/releases/tag/v1.8.0
15+
316
## 1.7.0
417

518
See https://github.com/ruby-git/ruby-git/releases/tag/v1.7.0

CONTRIBUTING.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
# @markup markdown
3+
# @title How To Contribute
4+
-->
5+
16
# Contributing to ruby-git
27

38
Thank you for your interest in contributing to the ruby-git project.
@@ -8,7 +13,7 @@ judgement.
813

914
Propose changes to these guidelines with a pull request.
1015

11-
## How to contribute to ruby-git
16+
## How to contribute
1217

1318
You can contribute in two ways:
1419

@@ -73,12 +78,14 @@ In order to ensure high quality, all pull requests must meet these requirements:
7378

7479
### Unit tests
7580
* All changes must be accompanied by new or modified unit tests
76-
* The entire test suite must pass when `bundle exec rake test` is run from the
77-
project's local working copy
78-
79-
### Continuous Integration
80-
* All tests must pass in the project's [Travis CI](https://travis-ci.org/ruby-git/ruby-git)
81-
build before the pull request will be merged
81+
* The entire test suite must pass when `bundle exec rake default` is run from the
82+
project's local working copy.
83+
84+
### Continuous integration
85+
* All tests must pass in the project's [GitHub Continuous Integration build](https://github.com/ruby-git/ruby-git/actions?query=workflow%3ACI)
86+
before the pull request will be merged.
87+
* The [Continuous Integration workflow](https://github.com/ruby-git/ruby-git/blob/master/.github/workflows/continuous_integration.yml)
88+
runs both `bundle exec rake default` and `bundle exec rake test:gem` from the project's [Rakefile](https://github.com/ruby-git/ruby-git/blob/master/Rakefile).
8289

8390
### Documentation
8491
* New and updated public methods must have [YARD](https://yardoc.org/)

MAINTAINERS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
# @markup markdown
3+
# @title Maintainers
4+
-->
5+
16
# Maintainers
27

38
When making changes in this repository, one of the maintainers below must review and approve your pull request.

0 commit comments

Comments
 (0)