grape-batch 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +4 -1
- data/README.md +3 -2
- data/lib/grape/batch/version.rb +1 -1
- data/lib/grape/{base.rb → batch.rb} +0 -0
- data/spec/grape/batch/base_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d44da10d99311fac7ea2ab26e21f51fe4185fa8
|
4
|
+
data.tar.gz: 3b4e7c65774ee071de8ae399da12676d80299a57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 456b5d51c14e167a76c2149e2576f2a888dcd685805860fae0125971b8c27f1c29977f297b7d676df89bd8686c65814df7bb1025e6fdcd808ad5bcbee504ace3
|
7
|
+
data.tar.gz: 90304eccca5899c48ccb0a944d635647ae6bab4ea28e4d27247ce46791f58c1b4f0d5d090fb47999cb517501b857e83ae65ed71686fb2584235719450623d09f
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -23,11 +23,12 @@ Or install it yourself as:
|
|
23
23
|
This middleware is intended to be used with JSON Grape::API only.
|
24
24
|
|
25
25
|
### Rails apps
|
26
|
-
1. Create an initializer 'config/initializers/grape-batch.rb'
|
26
|
+
1. Create an initializer and add you configuration 'config/initializers/grape-batch.rb'
|
27
27
|
2. Add the middleware to the stack
|
28
28
|
```ruby
|
29
|
-
#
|
29
|
+
# config/application.rb
|
30
30
|
Rails.application.configure do
|
31
|
+
# rest of the file is hidden
|
31
32
|
config.middleware.use Grape::Batch::Base
|
32
33
|
end
|
33
34
|
```
|
data/lib/grape/batch/version.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lionel Oto
|
@@ -145,7 +145,7 @@ files:
|
|
145
145
|
- README.md
|
146
146
|
- Rakefile
|
147
147
|
- grape-batch.gemspec
|
148
|
-
- lib/grape/
|
148
|
+
- lib/grape/batch.rb
|
149
149
|
- lib/grape/batch/configuration.rb
|
150
150
|
- lib/grape/batch/converter.rb
|
151
151
|
- lib/grape/batch/errors.rb
|