formify 0.14.0 → 0.14.1

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: 57df4b06652d88b09ed805e520a3f7a5094521d10b72cff897f9de4b3b2128f0
4
- data.tar.gz: 0714c6d9aa3f11cba679850da3df9a83ff24e9918075d1179c2e904fade02320
3
+ metadata.gz: e8817447649c9d1d84e70b0dc42c9bc885015b308f770590b7f259d080d17515
4
+ data.tar.gz: df7070b4016f81f3a4dde7aeb9f03e4f09a316791f0e67eaa144aa3a073d4d3f
5
5
  SHA512:
6
- metadata.gz: 0731a4059b85239f6104016c35cff093a460a8890546d4424645510e2e91a6f78abf765f2a834035774947c82ebf0ac2ab69d17e521f98582b352676248a42c9
7
- data.tar.gz: 6a8dd740d3e89e5724503a9598b2ba60c56df840ed28bcedc33c58db801601ce457e5ea3ee62cfc7db14ac3f24d652d6059c45a7de072e5e4a41cdcb15fa6ebd
6
+ metadata.gz: e2562f47d7a925553d905ed031c104ecc80e031693c729c9ba8c06e2661ea7bc53c0504bb075c242c341637eb1885353eb0e54444f8ce68206d362f310fea614
7
+ data.tar.gz: 2f28a0259aa0ba2b75e3b33b0101c1d93a23733fba71bd8c4435094197f213b74f8c583aec7b87fd826dd6437495ac0827fb45ad466f7f886e8a02709044ff34
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formify (0.14.0)
4
+ formify (0.14.1)
5
5
  rails
6
6
  resonad
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Formify
2
- VERSION = '0.14.0'.freeze
2
+ VERSION = '0.14.1'.freeze
3
3
  end
@@ -14,7 +14,7 @@ class <%= name.split('/').last.to_s.camelcase %>
14
14
  # :bar,
15
15
  # :baz
16
16
 
17
- # validate :validate_
17
+ # validate :validate_something
18
18
 
19
19
  # initialize_with :fixed_attr do |attributes|
20
20
  # puts attributes
@@ -25,9 +25,17 @@ class <%= name.split('/').last.to_s.camelcase %>
25
25
 
26
26
  with_advisory_lock_transaction(:foo) do
27
27
  validate_or_fail
28
- .and_then { method }
29
- .and_then { success(object) }
28
+ .and_then { form_method }
29
+ .and_then { success(fixed_attr) }
30
30
  end
31
31
  end
32
+
33
+ private
34
+
35
+ # def form_method
36
+ # end
37
+
38
+ # def validate_something
39
+ # end
32
40
  end
33
41
  <% end -%>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Jackson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-16 00:00:00.000000000 Z
11
+ date: 2019-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler