grape-batch 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb4dfcf0e90958b52990dfe1baae968e533b2ac8
4
- data.tar.gz: ee69288ac014717af2465e68358007cb055be8a5
3
+ metadata.gz: 1d44da10d99311fac7ea2ab26e21f51fe4185fa8
4
+ data.tar.gz: 3b4e7c65774ee071de8ae399da12676d80299a57
5
5
  SHA512:
6
- metadata.gz: ea924509379e820daf936ac90f5c030fbd72ebc7c66aa5119d6354d14070039762c0a8bf141b07bffcf12de32d14b699a6937c5ad7607ab0097b6d8ba76e7f74
7
- data.tar.gz: a48b02990c38dadd8dd00ddc3ef6a861ecf904a1f8cc71caacc9a7247dae81616d4848afd0c0ded73713224285c7d8f0214eacdb61bcca0048723575b86a4fce
6
+ metadata.gz: 456b5d51c14e167a76c2149e2576f2a888dcd685805860fae0125971b8c27f1c29977f297b7d676df89bd8686c65814df7bb1025e6fdcd808ad5bcbee504ace3
7
+ data.tar.gz: 90304eccca5899c48ccb0a944d635647ae6bab4ea28e4d27247ce46791f58c1b4f0d5d090fb47999cb517501b857e83ae65ed71686fb2584235719450623d09f
data/.travis.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.2
3
+ - 2.2.2
4
4
  script: bundle exec rspec spec
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
- # 2.2.0 (13th November 2015)
1
+ # 2.2.1 (11th January 2016)
2
+ * Fix main module NameError
3
+
4
+ # 2.2.0 (11th January 2016)
2
5
  * Added authentication during request batch
3
6
 
4
7
  # 2.1.1 (5th November 2015)
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
- # grape-batch.rb
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
  ```
@@ -1,6 +1,6 @@
1
1
  module Grape
2
2
  # Gem main module
3
3
  module Batch
4
- VERSION = '2.2.0'
4
+ VERSION = '2.2.1'
5
5
  end
6
6
  end
File without changes
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
  require 'rack/test'
3
3
  require 'grape'
4
- require 'grape/base'
4
+ require 'grape/batch'
5
5
  require 'api'
6
6
 
7
7
  RSpec.describe Grape::Batch::Base do
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.0
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/base.rb
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