active_scaffold_batch 3.7.0 → 3.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 42db6e255e4d5f78f2a89d3672cab58251dff8a38923ac8e749d20b0ff1085b8
4
- data.tar.gz: 96440eb1de5e155712497186bdd4a34d1cca5e84b6552fb492007a34a947e4ec
3
+ metadata.gz: d7da29c82528f1fd8e72cb8afab1e35335d1502dd694e2e844557243cdddca15
4
+ data.tar.gz: 125342e2141966e6da5e56b802d35a15a9166d9d1c8c77652d9e1684b0eb7712
5
5
  SHA512:
6
- metadata.gz: a97a06b52fc769968be96757c9e7f2deeabd37e34ca038292f5f5f4f835842067299107b2c280a599276daafe870740b42ef69c8df560cf4cd7dfe62211e34df
7
- data.tar.gz: e9dea8b470c94155b879c93f3183a525b857deb51e96a00a8a0867d5345bb663c50ea3c8974859e6678360ecee3233cfe75f169e2417aa94803891e00141b931
6
+ metadata.gz: e5272ba21913d198e515020426287a7a9de63c90ab05d3a98970a523c1f9d17cf20f78f5f635e267e41a49adb6449bc1099fd5a1cc7791dfe1d40ff0e9baf17e
7
+ data.tar.gz: 289b53b5e2919831fb2582ecd7dcf54892c12c7388f03b4acbffcd878641f8ed6736ac712f658d4e4bf04b91a0dd4f3fe93a40b6e263f23ced9b6374824177ef
@@ -71,8 +71,8 @@ module ActiveScaffold::Config
71
71
  end
72
72
 
73
73
  # the label= method already exists in the Form base class
74
- def label(model = nil)
75
- model ||= @core.label(:count => 2)
74
+ def label(model = nil, core: @core)
75
+ model ||= core.label(:count => 2)
76
76
  @label ? as_(@label) : as_(:create_model, :model => model)
77
77
  end
78
78
  end
@@ -40,11 +40,6 @@ module ActiveScaffold::Config
40
40
  # the ActionLink for this action
41
41
  attr_accessor :link
42
42
 
43
- # the label= method already exists in the Form base class
44
- def label(model = nil)
45
- model ||= @core.label(:count => 2)
46
- @label ? as_(@label) : as_(:delete_model, :model => model)
47
- end
48
-
43
+ undef_method :label=
49
44
  end
50
45
  end
@@ -44,8 +44,8 @@ module ActiveScaffold::Config
44
44
 
45
45
 
46
46
  # the label= method already exists in the Form base class
47
- def label(model = nil)
48
- model ||= @core.label(:count => 2)
47
+ def label(model = nil, core: @core)
48
+ model ||= core.label(:count => 2)
49
49
  @label ? as_(@label) : as_(:update_model, :model => model)
50
50
  end
51
51
  end
@@ -2,7 +2,7 @@ module ActiveScaffoldBatch
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 7
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Cambra
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-08-13 00:00:00.000000000 Z
12
+ date: 2025-10-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: active_scaffold