flammarion_rails 0.2.3 → 0.2.4

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: 2e1f4fdebc3566a0116876b3dfc610f0994a0c5c
4
- data.tar.gz: ac3d260d127045a570c01fd3ac9c769c774fd32b
3
+ metadata.gz: df684ca972ceadcfd8ba88c0de8dc4e65520c2c0
4
+ data.tar.gz: 8b10df8911f348542977936537ea9c28686a61c8
5
5
  SHA512:
6
- metadata.gz: a85e94f3b9c14773eff730d50b662b23bf1fed56b31fb5543f7a1ddd47d99101b79afa31b18f943549bd064b22309c70405b0d2f4542c75a11202da2bbbb63d5
7
- data.tar.gz: 61b8f21a299e7bde4ccb2f8c598e24bfd14e260831c316dd97d8846b52f1a5f9f074e95e204a84811377771f24cf955a4610bcdb20f1e94416f6ce7714dfbf01
6
+ metadata.gz: 685a4c6e53a633457c0bd1951e24486a543e3191ffb510979b626d04077dec2c6a0a8e102e4a4222709bbea6ea5ed7bd65e8c35dd2a676da195ca8c18c75398e
7
+ data.tar.gz: 01d083fc1f0011bfeeb6fb8645824ed6e3bb5e59f8e9572a5e3c906b4976f12e16809d0daf73d950aeee237d4ded6eac91eeb8729dcf7c3728ba24bdea84e706
@@ -79,7 +79,7 @@ module Flammarion
79
79
  http_method = (params[:method] ||= :get).to_s.upcase!
80
80
 
81
81
  path_params = recognize_path(uri.path, params.merge!(query_params))
82
- unless path_params.key?(:controller)
82
+ unless path_params && path_params.key?(:controller)
83
83
  raise ActionController::RoutingError, "No route matches [#{http_method}] #{url}"
84
84
  end
85
85
 
@@ -1,3 +1,3 @@
1
1
  module FlammarionRails
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flammarion_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrice Lebel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-12 00:00:00.000000000 Z
11
+ date: 2016-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails