File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 6
6
7
7
#### Fixes
8
8
9
+ * Your contribution here.
10
+ * [ #340 ] ( https://github.com/ruby-grape/grape-entity/pull/340 ) : Preparations for 3.0 - [ @LeFnord ] ( https://github.com/LeFnord ) .
9
11
* [ #338 ] ( https://github.com/ruby-grape/grape-entity/pull/338 ) : Fix ruby 2.7 deprecation warning - [ @begotten63 ] ( https://github.com/begotten63 ) .
10
12
11
13
### 0.8.1 (2020-07-15)
Original file line number Diff line number Diff line change 1
1
Upgrading Grape Entity
2
2
===============
3
3
4
+ ### Upgrading to >= 0.8.2
5
+
6
+ In Ruby 3.0: the block handling will be changed
7
+ [ language-changes point 3, Proc] ( https://github.com/ruby/ruby/blob/v3_0_0_preview1/NEWS.md#language-changes ) .
8
+ This:
9
+ ``` ruby
10
+ expose :that_method_without_args , & :method_without_args
11
+ ```
12
+ will be deprecated.
13
+
14
+ Prefer to use this pattern for simple setting a value
15
+ ``` ruby
16
+ expose :method_without_args , as: :that_method_without_args
17
+ ```
18
+
4
19
### Upgrading to >= 0.6.0
5
20
6
21
#### Changes in Grape::Entity#inspect
You can’t perform that action at this time.
0 commit comments