Skip to content

Commit 3632ad9

Browse files
committed
Finish 3.2.0
2 parents b5e8471 + 815a64e commit 3632ad9

7 files changed

Lines changed: 79 additions & 52 deletions

File tree

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# This workflow runs continuous CI across different versions of ruby on all branches and pull requests to develop.
2+
3+
name: CI
4+
on:
5+
push:
6+
branches: [ '**' ]
7+
pull_request:
8+
branches: [ develop ]
9+
workflow_dispatch:
10+
11+
jobs:
12+
tests:
13+
name: Ruby ${{ matrix.ruby }}
14+
if: "contains(github.event.commits[0].message, '[ci skip]') == false"
15+
runs-on: ubuntu-latest
16+
env:
17+
CI: true
18+
ALLOW_FAILURES: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'jruby' }}
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
ruby:
23+
- 2.6
24+
- 2.7
25+
- 3.0
26+
- 3.1
27+
- ruby-head
28+
- jruby
29+
mongodb-version:
30+
- 4.4
31+
steps:
32+
- name: Clone repository
33+
uses: actions/checkout@v2
34+
- name: Set up Ruby
35+
uses: ruby/setup-ruby@v1
36+
with:
37+
ruby-version: ${{ matrix.ruby }}
38+
- name: Install dependencies
39+
run: bundle install --jobs 4 --retry 3
40+
- name: Start MongoDB
41+
uses: supercharge/mongodb-github-action@1.3.0
42+
with:
43+
mongodb-version: ${{ matrix.mongodb-version }}
44+
- name: Run tests
45+
run: ruby --version; bundle exec rspec spec || $ALLOW_FAILURES
46+

.travis.yml

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

CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Community contributions are essential for keeping Ruby RDF great. We want to kee
66

77
This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
88

9-
* create or respond to an issue on the [Github Repository](http://github.com/ruby-rdf/rdf-mongo/issues)
9+
* create or respond to an issue on the [Github Repository](https://github.com/ruby-rdf/rdf-mongo/issues)
1010
* Fork and clone the repo:
1111
`git clone git@github.com:your-username/rdf-mongo.git`
1212
* Install bundle:
@@ -28,9 +28,11 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to manage devel
2828
enough, be assured we will eventually add you in there.
2929
* Do note that in order for us to merge any non-trivial changes (as a rule
3030
of thumb, additions larger than about 15 lines of code), we need an
31-
explicit [public domain dedication][PDD] on record from you.
31+
explicit [public domain dedication][PDD] on record from you,
32+
which you will be asked to agree to on the first commit to a repo within the organization.
33+
Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.
3234

33-
[YARD]: http://yardoc.org/
34-
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
35-
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
36-
[pr]: https://github.com/ruby-rdf/rdf-mongo/compare/
35+
[YARD]: https://yardoc.org/
36+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
37+
[PDD]: https://unlicense.org/#unlicensing-contributions
38+
[pr]: https://github.com/ruby-rdf/rdf/compare/

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source "http://rubygems.org"
1+
source "https://rubygems.org"
22

33
gemspec
44

README.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22

33
This is an [RDF.rb][] storage adapter for MongoDB.
44

5-
See <http://blog.datagraph.org/2010/04/rdf-repository-howto> for an overview of the general approach of creating RDF::Repository adaptors.
6-
7-
[![Gem Version](https://badge.fury.io/rb/rdf-mongo.png)](http://badge.fury.io/rb/rdf-mongo)
8-
[![Build Status](https://travis-ci.org/ruby-rdf/rdf-mongo.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-mongo)
5+
[![Gem Version](https://badge.fury.io/rb/rdf-mongo.png)](https://badge.fury.io/rb/rdf-mongo)
6+
[![Build Status](https://github.com/ruby-rdf/rdf-mongo/workflows/CI/badge.svg?branch=develop)](https://github.com/ruby-rdf/rdf-mongo/actions?query=workflow%3ACI)
7+
[![Gitter chat](https://badges.gitter.im/ruby-rdf/rdf.png)](https://gitter.im/ruby-rdf/rdf)
98

109
## Versioning and backwards compatibility
1110

1211
Moving forward, the versioning will reflect the [RDF.rb][] version number for which all rdf-specs are passing.
1312

14-
It should also be noted that prior to 1.0, there are no guarantees of backwards compatibility for data stored using previous versions of the gem. This is to make optimizing the schema for MongoDB easy.
15-
1613
## Requirements
1714

1815
You'll need the 'mongo', 'rdf', 'rdf-spec', and 'rspec' libraries. The easiest way to install these is via RubyGems.
@@ -44,12 +41,12 @@ one more more predicates having one or more types.
4441
Please post questions or feedback to the [W3C-ruby-rdf mailing list][].
4542

4643
### Authors
47-
* [Pius Uzamere][] | <http://github.com/pius> | <http://pius.me>
48-
* [Gregg Kellogg][] | <http://github.com/gkellogg> | <http://greggkellogg.net>
44+
* [Pius Uzamere][] | <https://github.com/pius> | <https://pius.me>
45+
* [Gregg Kellogg][] | <https://github.com/gkellogg> | <https://greggkellogg.net>
4946

5047
### Thank you
5148

52-
* Ben Lavender (author of the adapter skeleton) | <blavender@gmail.com> | <http://github.com/bhuga> | <http://bhuga.net> | <http://blog.datagraph.org>
49+
* Ben Lavender (author of the adapter skeleton) | <blavender@gmail.com> | <https://github.com/bhuga> | <https://bhuga.net>
5350

5451
### Contributing
5552

@@ -65,16 +62,18 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
6562
list in the the `README`. Alphabetical order applies.
6663
* Do note that in order for us to merge any non-trivial changes (as a rule
6764
of thumb, additions larger than about 15 lines of code), we need an
68-
explicit [public domain dedication][PDD] on record from you.
65+
explicit [public domain dedication][PDD] on record from you,
66+
which you will be asked to agree to on the first commit to a repo within the organization.
67+
Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.
6968

7069
### License
7170

7271
MIT License
7372

74-
[W3C-ruby-rdf mailing list]: http://lists.w3.org/Archives/Public/public-rdf-ruby/
75-
[Pius Uzamere]: http://pius.me
76-
[Gregg Kellogg]: http://greggkellogg.net/me
77-
[RDF.rb]: http://ruby-rdf.github.com/
78-
[YARD]: http://yardoc.org/
79-
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
80-
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
73+
[W3C-ruby-rdf mailing list]: https://lists.w3.org/Archives/Public/public-rdf-ruby/
74+
[Pius Uzamere]: https://pius.me
75+
[Gregg Kellogg]: https://greggkellogg.net/me
76+
[RDF.rb]: https://ruby-rdf.github.com/
77+
[YARD]: https://yardoc.org/
78+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
79+
[PDD]: https://unlicense.org/#unlicensing-contributions

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.0
1+
3.2.0

rdf-mongo.gemspec

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
1212
gem.date = File.mtime('VERSION').strftime('%Y-%m-%d')
1313

1414
gem.name = 'rdf-mongo'
15-
gem.homepage = 'http://ruby-rdf.github.com/rdf-mongo'
15+
gem.homepage = 'https://ruby-rdf.github.com/rdf-mongo'
1616
gem.license = 'MIT' if gem.respond_to?(:license=)
1717
gem.summary = 'A storage adapter for integrating MongoDB and rdf.rb, a Ruby library for working with Resource Description Framework (RDF) data.'
1818
gem.description = 'rdf-mongo is a storage adapter for integrating MongoDB and rdf.rb, a Ruby library for working with Resource Description Framework (RDF) data.'
@@ -25,15 +25,13 @@ Gem::Specification.new do |gem|
2525
gem.require_paths = %w(lib)
2626
gem.test_files = Dir.glob('spec/*.spec')
2727

28-
gem.required_ruby_version = '>= 2.4'
28+
gem.required_ruby_version = '>= 2.6'
2929
gem.requirements = []
30-
gem.add_runtime_dependency 'rdf', '>= 3.1'
31-
gem.add_runtime_dependency 'mongo', '~> 2.11'
30+
gem.add_runtime_dependency 'rdf', '>= 3.2'
31+
gem.add_runtime_dependency 'mongo', '~> 2.17'
3232

33-
gem.add_development_dependency 'rdf-spec', '>= 3.1'
34-
gem.add_development_dependency 'rspec', '~> 3.9'
33+
gem.add_development_dependency 'rdf-spec', '>= 3.2'
34+
gem.add_development_dependency 'rspec', '~> 3.10'
3535
gem.add_development_dependency 'rspec-its', '~> 1.3'
36-
gem.add_development_dependency 'yard', '~> 0.9.20'
37-
38-
gem.post_install_message = "Have fun! :)"
36+
gem.add_development_dependency 'yard', '~> 0.9'
3937
end

0 commit comments

Comments
 (0)