valkyrie 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/valkyrie/change_set.rb +5 -3
- data/lib/valkyrie/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cff1ad0c4b431559feb21421651cf04b85e9b1a2d5ed905fa46d583666ea090
|
4
|
+
data.tar.gz: 5cbf0e244c1440cc7f9d6de661cb676851a6d7f2e03f26c9732c1c37d9aca7b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8633180f3f5f54d0d0ea4361e436c59e6412b9a2e374a3bda5aacddacfb64f0c06a6e70825d8953cbce9ad920653d02572ad980328ba25c006939e04838eedf6
|
7
|
+
data.tar.gz: 866dd8ba5d3e850ea7b37feb3b763f1f946a875caf49b4a027b0fba51049f1edaa5011a620914efb498442971dcede2bdf605f69b1e40c72ca9c7960e1ec6c65
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
# v3.0.3 2023-05-15
|
2
|
+
|
3
|
+
## Changes since last release
|
4
|
+
|
5
|
+
* Avoid `delegate` in ChangeSet. ([dlpierce](https://github.com/dlpierce))
|
6
|
+
|
7
|
+
Additional thanks to the following for code review and issue reports leading to
|
8
|
+
this release:
|
9
|
+
|
10
|
+
* [ShanaLMoore](https://github.com/ShanaLMoore)
|
11
|
+
* [jeremyf](https://github.com/jeremyf)
|
12
|
+
|
1
13
|
# v3.0.2 2023-04-10
|
2
14
|
|
3
15
|
## Changes since last release
|
data/lib/valkyrie/change_set.rb
CHANGED
@@ -77,9 +77,11 @@ module Valkyrie
|
|
77
77
|
send(key) if respond_to?(key)
|
78
78
|
end
|
79
79
|
|
80
|
-
|
81
|
-
|
82
|
-
|
80
|
+
[:internal_resource, :created_at, :updated_at, :model_name, :optimistic_locking_enabled?, :attributes].each do |method_name|
|
81
|
+
define_method(method_name) do |*args|
|
82
|
+
resource.public_send(method_name, *args)
|
83
|
+
end
|
84
|
+
end
|
83
85
|
|
84
86
|
# Prepopulates all fields with defaults defined in the changeset. This is an
|
85
87
|
# override of Reform::Form's method to allow for single-valued fields to
|
data/lib/valkyrie/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: valkyrie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trey Pendragon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|