Skip to content

Commit

Permalink
Prepare release 0.9.0 (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeFnord authored Mar 20, 2021
1 parent 51d898d commit 5238a3d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 47 deletions.
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

0 comments on commit 5238a3d

Please sign in to comment.