Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ AllCops:
Exclude:
- vendor/**/*
- example/**/*
TargetRubyVersion: 2.7
UseCache: true
NewCops: enable
TargetRubyVersion: 3.0
SuggestExtensions: false

# Layout stuff
#
Expand Down
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@

* Your contribution here.

* [#348](https://github.com/ruby-grape/grape-entity/pull/348): Updates danger - [@LeFnord](https://github.com/LeFnord).
* [#346](https://github.com/ruby-grape/grape-entity/pull/346): Adds GH actions - [@LeFnord](https://github.com/LeFnord).

#### Fixes

* Your contribution here.


### 0.9.0 (2021-03-20)

#### Features

* [#346](https://github.com/ruby-grape/grape-entity/pull/346): Ruby 3 support - [@LeFnord](https://github.com/LeFnord).


### 0.8.2 (2020-11-08)

#### Fixes
Expand Down
16 changes: 2 additions & 14 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
# Upgrading Grape Entity

### Upgrading to >= 0.8.2

In Ruby 3.0: the block handling will be changed
[language-changes point 3, Proc](https://github.com/ruby/ruby/blob/v3_0_0_preview1/NEWS.md#language-changes).
This:
```ruby
expose :that_method_without_args, &:method_without_args
```
will be deprecated.

Prefer to use this pattern for simple setting a value
```ruby
expose :method_without_args, as: :that_method_without_args
```

### Upgrading to >= 0.8.2

Official support for ruby < 2.5 removed, ruby 2.5 only in testing mode, but no support.

In Ruby 3.0: the block handling will be changed
[language-changes point 3, Proc](https://github.com/ruby/ruby/blob/v3_0_0_preview1/NEWS.md#language-changes).
This:
Expand Down
2 changes: 1 addition & 1 deletion lib/grape_entity/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module GrapeEntity
VERSION = '0.8.2'
VERSION = '0.9.0'
end