formalism-model_forms 0.7.0 → 0.7.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: 95151411e345c20bfa1f48b1d4b81b9b278d7a0d78d98f69479e9f4cea2fdc79
4
- data.tar.gz: 73986aaeb3079d6e2b2a7416466f8b4be353f3b4792f0209a3bc1116bb6ddf38
3
+ metadata.gz: cc8b20722682897e6c54cfe366337927d8b789a25759edb21b20dccf15674184
4
+ data.tar.gz: a41dea200c31014cb6925f7df0e7ef15505ec3256b4518aff8f05b2af0d3ba4e
5
5
  SHA512:
6
- metadata.gz: c0255a6211a4b6fea6a214763df0afaf02b16da026da6b338db047188e194a290880399f9bd87bd5c2ef6ad0b6cb04113d0b6e4e62336e5c6d056d89236272f3
7
- data.tar.gz: 9c5a28f7ea6016437191f70f6c98e127a9c461d24500a30971d7ac360b1f0ab0f4908c7c91875b7ae1e6aa98c85e68bc8b4923744a1f50fde902c9f04281e33f
6
+ metadata.gz: 8b46bf3ec1bdeb2e952cfe981fad6469a69f45dbad1dde0d3c7cfe592a78c7875ccc8b86dbbe004512329ea3d089d19b7ab36b069869eef5490d6af9637e7253
7
+ data.tar.gz: 5c936a3ce7dae40858b583b01190b6822c0d303450b28b0e27777dd0d1e533563b106c4d209158b4498675a4faa49d3aea8136a3133e19110e3686cbf30adf9e
@@ -2,8 +2,12 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.7.1 (2020-10-15)
6
+
5
7
  ## 0.7.0 (2020-10-14)
6
8
 
9
+ * Add `primary_field`, don't lock on `id` field.
10
+
7
11
  ## 0.6.2 (2020-09-28)
8
12
 
9
13
  * Update `formalism` to a new version.
@@ -21,7 +21,9 @@ module Formalism
21
21
  private
22
22
 
23
23
  def execute
24
- instance.changes_author = changes_author if model.auditable?
24
+ if model.respond_to?(:auditable?) && model.auditable?
25
+ instance.changes_author = changes_author
26
+ end
25
27
 
26
28
  instance.destroy
27
29
  super
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Formalism
4
4
  module ModelForms
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formalism-model_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov