active_scaffold 3.6.11.1 → 3.6.12

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: 10795ad02dbbf1ea2033af6b1b36857f0105acf45daa21f44bf576737b838331
4
- data.tar.gz: e5fb0e9f651127a06d8057a5eeab6934ba62211c9bb9d3f0b8ac6df5e7e5bb58
3
+ metadata.gz: c7e719c9e6003904fa2f7765e1f5d5c2dc691fe6fe662bd07277e056f304c597
4
+ data.tar.gz: b2901dfbd786c90000ba12970baa056324caefc60810c8883166b47abf7079ec
5
5
  SHA512:
6
- metadata.gz: e738f18a2fe367d7796057fe2f098c6bc5f7291615e4315a78a33f0283df30b7c6c12b26af51b03489112ecd2c2310ac30a5bfac7d29e1c6be26a9700982dc41
7
- data.tar.gz: 4ccb202176df05c3f9d4882ccd4abf6f025204ffa993b9daa6c3b3b4bcabc06eb22e4f98630253a85c1ef9ce68160b11d6beeb6c6a64ae8f7a885b26e12278ed
6
+ metadata.gz: 0e020933f2fa31d3922a0066cac2bf85c00be4f1424a4bbd6b7544e472af3e7c5f2896290d0bc270af943a4137cbfe937ddee349efa97d8df328f0e1954eba45
7
+ data.tar.gz: acef80c0ff55cd921a72b52384514e05106eb4c842fcd5fad942e952513586fad8f3e79f805e52cf83e9254676ea221efc0877f88b9ad822af82717759014f8b
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ = 3.6.12
2
+ - Fix getting proxy for action link when iterating over action links and threadsafe is enabled, so link can be changed
3
+
1
4
  = 3.6.11.1
2
5
  - Fix required attribute broken on previous version when no validation was found
3
6
 
@@ -71,6 +71,17 @@ module CowProxy
71
71
  name !~ /[!?]$/
72
72
  end
73
73
 
74
+ def each(options = {}, &block)
75
+ super(options) do |item|
76
+ item = __wrap__(item) || item unless item.is_a?(ActiveScaffold::DataStructures::ActionLinks)
77
+ if options[:include_set]
78
+ yield item, __getobj__.instance_variable_get(:@set)
79
+ else
80
+ yield item
81
+ end
82
+ end
83
+ end
84
+
74
85
  protected
75
86
 
76
87
  # Copy wrapped values to duplicated wrapped object
@@ -2,7 +2,7 @@ module ActiveScaffold
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 6
5
- PATCH = '11.1'.freeze
5
+ PATCH = 12
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.11.1
4
+ version: 3.6.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Many, see README
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails