active_scaffold 4.0.8 → 4.0.9.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: c711dd4f7f557cd581c2e1d4b15d3e1602576f8714e111bedac9860437620f96
4
- data.tar.gz: a62bc3a1fbd7030b5cddbbf69751b548d9de9752c995e7789666ff1864bf57d3
3
+ metadata.gz: e7129b64100acbe9a7759714f6ddf8dbcb2f57e22b5e71a7119b3d3eaba9a1a8
4
+ data.tar.gz: a77231b1ec22dc06d8be9778df001a0e61b147f1ca57316d9085fcdff29dd196
5
5
  SHA512:
6
- metadata.gz: 31de6f1bbc6be46f8b1d480784588cfdf3ea526a54cfb6f45325b6a04fa77091939856600efba0d028519c2b622c90534a90aa82f2d74170b3886b156b6a1b9d
7
- data.tar.gz: 4568a9231ec6bda26f8d8eb64b5d4e3f2793a1f9bebe49eb0d387f59ce955e4d3e4e630a840f5acde6c7caeaf212048402ced3051c3c19a1082f8156aa053b87
6
+ metadata.gz: '09cb7c96cdd1da58e9a7643ce0bd5ef52db6aff0038a56be2d1315b81a38854c787307825908fe1c0744374ff1870d1d745b7c33692fed904767a31401ad8793'
7
+ data.tar.gz: 5fab5c597a9f94f42fc4a561bd59d07d2961055f004425b6608016aca8e8e39e3beb9ec5b26316e99469ecaeef31cfa8b3166eed725432f2a68dceb4a0e83ca0
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ = 4.0.9
2
+ - Fix comparing column with ProxyColumn, fixing sorts_on? when the column is overrided
3
+
1
4
  = 4.0.8
2
5
  - Fix date_picker with format option
3
6
 
@@ -458,7 +458,7 @@ module ActiveScaffold::DataStructures
458
458
  # this is so that array.delete and array.include?, etc., will work by column name
459
459
  def ==(other) # :nodoc:
460
460
  # another column
461
- if other.respond_to?(:name) && other.class == self.class
461
+ if other.respond_to?(:name) && (other.class == self.class || other.class == ProxyColumn)
462
462
  name == other.name.to_sym
463
463
  elsif other.is_a? Symbol
464
464
  name == other
@@ -2,8 +2,8 @@ module ActiveScaffold
2
2
  module Version
3
3
  MAJOR = 4
4
4
  MINOR = 0
5
- PATCH = 8
6
- FIX = nil
5
+ PATCH = 9
6
+ FIX = 1
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, FIX].compact.join('.')
9
9
  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: 4.0.8
4
+ version: 4.0.9.1
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: 2025-05-27 00:00:00.000000000 Z
11
+ date: 2025-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails