Skip to content

Commit 6eac458

Browse files
authored
Prepare release 0.10.2 (#367)
* Improves GH actions. * Prepare release 0.10.2
1 parent c214de3 commit 6eac458

File tree

7 files changed

+60
-54
lines changed

7 files changed

+60
-54
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ updates:
1212
day: "friday"
1313
assignees:
1414
- "LeFnord"
15+
- package-ecosystem: "github-actions"
16+
directory: "/"
17+
schedule:
18+
interval: weekly
19+
assignees:
20+
- "LeFnord"

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Ruby
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
rubocop:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: '3.1'
22+
bundler-cache: true
23+
- name: Run rubocop
24+
run: bundle exec rubocop --parallel --format progress
25+
26+
rspec:
27+
runs-on: ubuntu-latest
28+
needs: ['rubocop']
29+
strategy:
30+
matrix:
31+
ruby-version: ['2.7', '3.0', '3.1', 'head', jruby, truffleruby]
32+
steps:
33+
- name: Check out branch
34+
uses: actions/checkout@v3
35+
- name: Set up Ruby
36+
uses: ruby/setup-ruby@v1
37+
with:
38+
ruby-version: ${{ matrix.ruby-version }}
39+
bundler-cache: true
40+
- name: Run rspec rest of the suite
41+
run: bundle exec rspec

.github/workflows/rubocop.yml

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

.github/workflows/ruby.yml

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

.rubocop.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AllCops:
55
- vendor/**/*
66
- example/**/*
77
NewCops: enable
8-
TargetRubyVersion: 3.0
8+
TargetRubyVersion: 3.1
99
SuggestExtensions: false
1010

1111
# Layout stuff
@@ -77,6 +77,9 @@ Naming:
7777
Style/Documentation:
7878
Enabled: false
7979

80+
Style/HashSyntax:
81+
Enabled: false
82+
8083
Style/OptionalBooleanParameter:
8184
AllowedMethods:
8285
# from lib/grape_entity/condition/base.rb

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77
#### Fixes
88

99
* Your contribution here.
10+
11+
12+
### 0.10.2 (2022-07-29)
13+
14+
#### Fixes
15+
16+
* [#366](https://github.com/ruby-grape/grape-entity/pull/366): Don't suppress regular ArgumentError exceptions - [splattael](https://github.com/splattael).
1017
* [#363](https://github.com/ruby-grape/grape-entity/pull/338): Fix typo - [@OuYangJinTing](https://github.com/OuYangJinTing).
18+
* [#361](https://github.com/ruby-grape/grape-entity/pull/361): Require 'active_support/core_ext' - [@pravi](https://github.com/pravi).
1119

1220

1321
### 0.10.1 (2021-10-22)

lib/grape_entity/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module GrapeEntity
4-
VERSION = '0.10.1'
4+
VERSION = '0.10.2'
55
end

0 commit comments

Comments
 (0)