dynamic-active-model 0.3.2 → 0.4.0

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: cdcc2e62dea9d605f8b3d2b9082eb6e59c74a719ec83f09b4e5f3ce885e4d6e5
4
- data.tar.gz: 4009f174fac279cbb93cbcf6b81b9eedfe04d0588aad1dda7bee9e1976331141
3
+ metadata.gz: f0fe4e4064390696aa981937739deee953d59afc4e3ace67e597a21c407483c1
4
+ data.tar.gz: 7bc960979b944ec721c0c401cbbce323b39a151b8f52751e2810297ecab498d0
5
5
  SHA512:
6
- metadata.gz: 5dd5dcefb823f3ffafbf16e15d4a996dbd3ca8967753c1465f8cc5952e1d3e47ea82316a4f6f7041e69064edcc8865b9ec4661798a3c133262cc7a302d7fb7e1
7
- data.tar.gz: 5e878ef66b9fdef4fdef973a5b43ab046934739bf6f5847ed769cacb80993b1615baa7bf1f8ac5ad8656e2a5c4654601c6eab919cbc5c5d3f3c0dc814bcb253d
6
+ metadata.gz: b90fa124c1995a18afa313c22c7d15eb93b7452478ad46b418db4eb406f0bfe6edf880b9286b80e67b3d1b0d6cd5288403a69119e7d93daa28053d76effbda11
7
+ data.tar.gz: a3cbf4d03d86d9984973725bf94227e93c353cb8109801885da1934d27d22b79fde4c307f138bd66654ff2737c8478550a1d2cdfc42e121639477f4f5a55cee8
@@ -12,7 +12,7 @@ module DynamicActiveModel
12
12
  # no-doc
13
13
  module ClassMethods
14
14
  def attribute_names
15
- names = original_attribute_names
15
+ names = original_attribute_names.dup
16
16
  names.reject! { |name| dangerous_attribute_method?(name) }
17
17
  names
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic-active-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-07 00:00:00.000000000 Z
11
+ date: 2021-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  requirements: []
62
- rubygems_version: 3.1.2
62
+ rubygems_version: 3.2.3
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Dynamic ActiveRecord Models