rack-reqorder 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b43a9ad9400cf07dfa5796de2c64416dc31226f
4
- data.tar.gz: 199ee21a8ec17f486f8bbb7b08e26403cc0fd5cd
3
+ metadata.gz: 1ad35485f957c33948466e0c6ede72074e7f67ba
4
+ data.tar.gz: a02535e3fad90292943ed5dc25d6144464c5a378
5
5
  SHA512:
6
- metadata.gz: 3392d46d389c1012aa65b4b8dd1fd9dd83bf7c34e67e14563429a568adcc3197ba6142ab9739185aa19907551356c4ae0e084764c7c4613204edba83674877ba
7
- data.tar.gz: 8056f6ed726ac808acaa805abb92a8e6f63db320652d30c4a66c2ce4185970c54a43bdd6e6827488fd935682c6124f08717a87cd21c7c8fc5ed31a563663300b
6
+ metadata.gz: f15d748342d0c691c0b1fed96e9b28d738c8c4d886c245831946bc39f55ed1e4f9a21d645a131867de09434a79144855f23b72ca0f72c1a40d3446670dbcf81d
7
+ data.tar.gz: b5d46d775bc54f8ba14611bb7625930a87db40610fd5152da77b76672a411ef5c94215e10bb335ade16061f3a9551e7dc8c3267f2022444a5fa61725e6af4cb9
data/.gitignore CHANGED
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  mongoid.yml
11
+ *.gem
@@ -11,17 +11,17 @@ module Rack
11
11
  next unless __superclass
12
12
 
13
13
  case __superclass.to_s
14
- when Sinatra::Base.to_s
14
+ when 'Sinatra::Base'
15
15
  @prefixes[route.path.spec.try(:left).to_s + route.path.spec.try(:right).to_s] = {
16
16
  search_method: :sinatra_recognize_path,
17
17
  rack_app: route.app.try(:superclass).nil? ? route.app.app : route.app
18
18
  }
19
- when Rails::Engine.to_s
19
+ when 'Rails::Engine'
20
20
  @prefixes[route.path.spec.try(:left).to_s + route.path.spec.try(:right).to_s] = {
21
21
  search_method: :rails_recognize_path,
22
22
  rack_app: route.app.try(:superclass).nil? ? route.app.app : route.app
23
23
  }
24
- when Grape::API.to_s
24
+ when 'Grape::API'
25
25
  @prefixes[route.path.spec.try(:left).to_s + route.path.spec.try(:right).to_s] = {
26
26
  search_method: :grape_recognize_path,
27
27
  rack_app: route.app.try(:superclass).nil? ? route.app.app : route.app
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Reqorder
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-reqorder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Filippos Vasilakis