fictium 0.3.3 → 0.3.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
  SHA256:
3
- metadata.gz: 6d68f0182b847a3713bd7891b4e63273ffa7a79759fea9f3081d7b840ed693a3
4
- data.tar.gz: 91b28c80cc8291ccc7474fb4d643a5c12119742886e737eee6a0af8e4f7d7de4
3
+ metadata.gz: 6dd2c35eac2378d1b4b5ef4904fbc4fed022fac8b42d79b47c7ddd42b08b2826
4
+ data.tar.gz: f797d7273a1b1d02805aa2c2cf0aaa73a1701dd8d72ab260a051ae2648eddc00
5
5
  SHA512:
6
- metadata.gz: 925a29a49dc0dc7ba6987e9970e500d90d327869709ad7c5134a416f71404b685219c954359acd4d5ca3e8bfb584d205dd74826cfbc7059919175c00895fa54e
7
- data.tar.gz: f68a1b545102693083580f8cdc2542f8ddf846b0846d123bf7147ebd8dc504a0896938fee6956df6ed5b3d86ef8b92029b83477f87b6149b2646193a9cfabf30
6
+ metadata.gz: a2ee667f368ac7d16f28dcc907e7646fae81129eec5256b5f14416d67cd4b02d0d00b54f23756ed37079f9d25a56d088572771f65b413aeed3ddc6c10a2104d3
7
+ data.tar.gz: 41fc568758358121c20e8474eac6b8a7c338455973dc93c4be95dd7d00136a768223d16b820e625c6061e72245e43ad3c2147b46aa5d711532869d1afa0666aa
data/CHANGELOG.md CHANGED
@@ -17,6 +17,14 @@
17
17
 
18
18
  ## LOG
19
19
 
20
+ ### 0.3.4 (2019-11-12)
21
+
22
+ Add correct action Method
23
+
24
+ #### Changes
25
+
26
+ - Use request to get action method
27
+
20
28
  ### 0.3.3 (2019-11-12)
21
29
 
22
30
  Improve path recognition using controller actions.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fictium (0.3.3)
4
+ fictium (0.3.4)
5
5
  activesupport (>= 5.1, < 6.2)
6
6
  json-schema (~> 2.8)
7
7
  verbs (~> 2.1.4)
@@ -9,6 +9,7 @@ module Fictium
9
9
  include Rails.application.routes.url_helpers
10
10
 
11
11
  def extract_from_request(action, request)
12
+ action.method = request.method.downcase
12
13
  extract_path(action, request)
13
14
  REQUEST_SECTIONS.each do |section|
14
15
  action.params[section] ||= ActiveSupport::HashWithIndifferentAccess.new
@@ -1,5 +1,5 @@
1
1
  module Fictium
2
- VERSION = '0.3.3'.freeze
2
+ VERSION = '0.3.4'.freeze
3
3
  RAILS_MIN_VERSION = '>= 5.1'.freeze
4
4
  RAILS_MAX_VERSION = '< 6.2'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fictium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramiro Rojo