Skip to content

Commit d4eee5b

Browse files
committed
Bumps up version and upgrades description
1 parent 24295fd commit d4eee5b

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 1.1.1 (Next)
1+
### 1.2.0 (Next)
22

33
#### Features
44

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ end
370370

371371
## Remounting
372372

373-
You can mount the same endpoints in two different locations
373+
You can mount the same endpoints in two different locations.
374374

375375
```ruby
376376
class Voting::API < Grape::API
@@ -394,13 +394,11 @@ class Comment::API < Grape::API
394394
end
395395
```
396396

397-
Assuming that the post and comment endpoints are mounted in `/posts` and `/comments`,
398-
you should now be able to do `get /posts/votes`, `post /posts/votes`, `get /comments/votes`
397+
Assuming that the post and comment endpoints are mounted in `/posts` and `/comments`, you should now be able to do `get /posts/votes`, `post /posts/votes`, `get /comments/votes`.
399398

400399
### Configuration
401400

402-
You can configure remountable endpoints for small details changing according to where
403-
they are mounted
401+
You can configure remountable endpoints for small details changing according to where they are mounted.
404402

405403
```ruby
406404
class Voting::API < Grape::API

UPGRADING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Upgrading Grape
22
===============
33

4-
### Upgrading to >= 1.1.1
4+
### Upgrading to >= 1.2.0
55

66
### Changes in the Grape::API class
77

@@ -19,9 +19,9 @@ Grape will now check the object returned from `rescue_from` and ensure that it i
1919
```ruby
2020
class Twitter::API < Grape::API
2121
rescue_from :all do |e|
22-
# version prior to 1.1.1
22+
# version prior to 1.2.0
2323
Rack::Response.new([ e.message ], 500, { 'Content-type' => 'text/error' }).finish
24-
# 1.1.1 version
24+
# 1.2.0 version
2525
Rack::Response.new([ e.message ], 500, { 'Content-type' => 'text/error' })
2626
end
2727
end

lib/grape/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Grape
22
# The current version of Grape.
3-
VERSION = '1.1.1'.freeze
3+
VERSION = '1.2.0'.freeze
44
end

0 commit comments

Comments
 (0)