formify 0.23.6 → 0.23.7

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: be446cfe7d7bcc02e877464ab52153e2824bc3f2fc34c3954a2ba6cf28263163
4
- data.tar.gz: 9764f9e092f37500c57afacfb009284dc58f84b42d30abb3d6ad31448ed4019f
3
+ metadata.gz: 62c0e47b4cfc7c10abfd87ec1ed66646acda42c83ccf7b1cbf104e6677ac32cf
4
+ data.tar.gz: f11c13dfc2d661d076c546f13a4dc41fcf9944837994f14a47861b5658e71a7f
5
5
  SHA512:
6
- metadata.gz: 839336f05b09b7b4831405ea32217276603df7d3fdf055a3220db06f25d3796576cc41639a47a7130f5e91e291585241e147b8e01cd5da7aedf691be42c86750
7
- data.tar.gz: ff3c76d007e9f4aea98c9001455f710a20247a96b6073c61a16f2757f43be6add69fd2ee82f2b9dc9c9eaf2282befaacb198fee5276107058259f5bc81e2f5b9
6
+ metadata.gz: 85e4cb00e546956b34ff6d79ed035baf0a06b243a8ee74f9e5e9655978688d7fe5a7f0c8085cba3a384ee6b51b154fdad54c1b486148233db576b36b84f90f64
7
+ data.tar.gz: ca48cadd7c79cfc5783a5a20a2bc888f2f4110f4d6eee209bc55ddfd14ff800d5255bfe73efceafc59fe994a031d7967ef0b52800aaefe007cc26eebb998ab97
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formify (0.23.6)
4
+ formify (0.23.7)
5
5
  rails
6
6
  resonad
7
7
  with_advisory_lock
@@ -5,6 +5,13 @@ module Formify
5
5
  extend ActiveSupport::Concern
6
6
 
7
7
  included do
8
+ def formify_params(root, *permitted)
9
+ params
10
+ .permit(
11
+ root => permitted
12
+ )[root]
13
+ end
14
+
8
15
  def redirect_to_with_flash(*args, **keywords)
9
16
  keywords.slice(%i[danger info success]).each do |k, v|
10
17
  flash[k] = v
@@ -1,3 +1,3 @@
1
1
  module Formify
2
- VERSION = '0.23.6'.freeze
2
+ VERSION = '0.23.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.6
4
+ version: 0.23.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Jackson