Skip to content

Commit ab5b883

Browse files
authored
Merge pull request #23 from cacheventures/update-misc
Update README, GH actions, etc
2 parents 3e48a4e + b943df6 commit ab5b883

File tree

8 files changed

+47
-171
lines changed

8 files changed

+47
-171
lines changed

.github/workflows/build.yml

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

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
tests:
5+
name: Tests
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os: [ubuntu-latest]
11+
ruby: [
12+
"3.1",
13+
]
14+
gemfile: [
15+
"gemfiles/mongoid7",
16+
"gemfiles/mongoid8",
17+
]
18+
experimental: [false]
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v5
23+
24+
- name: Start MongoDB
25+
uses: supercharge/mongodb-github-action@1.12.0
26+
with:
27+
mongodb-version: 8.0
28+
29+
- name: Install Ruby and gems
30+
uses: ruby/setup-ruby@v1
31+
with:
32+
ruby-version: ${{ matrix.ruby }}
33+
bundler-cache: true
34+
35+
- name: Ruby Tests
36+
run: bin/rspec

.travis.yml

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

CHANGELOG.md

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

LICENSE.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Copyright (c) 2015 Máximo Mussini
2+
Copyright (c) 2025 Cache Ventures (https://cacheventures.com)
23

34
Permission is hereby granted, free of charge, to any person obtaining
45
a copy of this software and associated documentation files (the

README.md

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
Mongoid::Includes
22
=====================
3-
[![Gem Version](https://badge.fury.io/rb/mongoid_includes.svg)](http://badge.fury.io/rb/mongoid_includes)
4-
[![Build Status](https://travis-ci.org/ElMassimo/mongoid_includes.svg)](https://travis-ci.org/ElMassimo/mongoid_includes)
5-
[![Test Coverage](https://codeclimate.com/github/ElMassimo/mongoid_includes/badges/coverage.svg)](https://codeclimate.com/github/ElMassimo/mongoid_includes)
6-
[![Code Climate](https://codeclimate.com/github/ElMassimo/mongoid_includes.svg)](https://codeclimate.com/github/ElMassimo/mongoid_includes)
7-
[![Inline docs](http://inch-ci.org/github/ElMassimo/mongoid_includes.svg)](http://inch-ci.org/github/ElMassimo/mongoid_includes)
8-
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ElMassimo/mongoid_includes/blob/main/LICENSE.txt)
3+
4+
[![Gem Version](https://badge.fury.io/rb/mongoid_includes.svg)](https://rubygems.org/gems/mongoid_includes)
5+
[![Build Status](https://github.com/cacheventures/mongoid_includes/workflows/ci/badge.svg)](https://github.com/cacheventures/mongoid_includes/actions)
96

107
`Mongoid::Includes` improves eager loading in Mongoid, supporting polymorphic associations, and nested eager loading.
118

@@ -48,26 +45,6 @@ Or install it yourself running:
4845
gem install mongoid_includes
4946
```
5047

51-
License
52-
--------
53-
54-
Copyright (c) 2015 Máximo Mussini
55-
56-
Permission is hereby granted, free of charge, to any person obtaining
57-
a copy of this software and associated documentation files (the
58-
"Software"), to deal in the Software without restriction, including
59-
without limitation the rights to use, copy, modify, merge, publish,
60-
distribute, sublicense, and/or sell copies of the Software, and to
61-
permit persons to whom the Software is furnished to do so, subject to
62-
the following conditions:
63-
64-
The above copyright notice and this permission notice shall be
65-
included in all copies or substantial portions of the Software.
66-
67-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
68-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
69-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
70-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
71-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
72-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
73-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
48+
## License
49+
50+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

bin/rspec

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
require "pathname"
12-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13-
Pathname.new(__FILE__).realpath)
11+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
1412

15-
bundle_binstub = File.expand_path("../bundle", __FILE__)
13+
bundle_binstub = File.expand_path("bundle", __dir__)
1614

1715
if File.file?(bundle_binstub)
1816
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/

mongoid_includes.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ Gem::Specification.new do |s|
1212
s.authors = ['Máximo Mussini']
1313

1414
s.email = ['maximomussini@gmail.com']
15-
s.homepage = %q{https://github.com/ElMassimo/mongoid_includes}
15+
s.homepage = %q{https://github.com/cacheventures/mongoid_includes}
1616

1717
s.platform = Gem::Platform::RUBY
1818
s.required_ruby_version = '>=2.0.0'
1919
s.rdoc_options = ['--charset=UTF-8']
2020

2121
s.require_path = 'lib'
22-
s.files = Dir.glob('lib/**/*') + %w(CHANGELOG.md LICENSE.txt README.md Rakefile)
22+
s.files = Dir.glob('lib/**/*') + %w(LICENSE.txt README.md Rakefile)
2323
s.test_files = Dir.glob('spec/**/*')
2424

2525
s.add_runtime_dependency 'mongoid', ['>= 7.0.10', '< 10.0.0']

0 commit comments

Comments
 (0)