aws-record 2.13.2 → 2.13.3

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: f559e294ec426e0b1a7311f71281a3467f6c1b4bf894c8e5e30b0b77d919dea5
4
- data.tar.gz: fcb3b69c3dbe449f2e68b1ead3bc7d606b5bd3f706ef7bbdf0d9db603c5c2eab
3
+ metadata.gz: f00e0b5d064c085fb4c789f556640daa5fdddb73ecca664e9567cd3779b1a644
4
+ data.tar.gz: 400a06cc869afe28dd9a823fada120eee08054d14522b964936c197ae4997d8c
5
5
  SHA512:
6
- metadata.gz: 69f44eaafb4fe0cf41fddad77f8257da36ae06acb48d0682e67e4fc0360ec3b849c4185d25a18d5f1ec561d7a2bbed6c177ef4034df1e85cf4553e532d8e7b78
7
- data.tar.gz: 24ffbbb032972281079776d0a6ec4141f0eb88e96bc85163305cc2c676e24ba5ca58d951644bdf55bd821e1ebf558723d37e0469943a33e510e10756602a1182
6
+ metadata.gz: 86bdbd867e84eeb675418787f8ac29f0f05c7ff9c948bd1cb201a5aa99c108bcb87c945806da861c3835b6f771a509283215360831fc6b8168a74444a8acf021
7
+ data.tar.gz: 0e70aef2a89abc281031dd3d371b92f7a3020d65d850bf7d200d622d3ed3cb1bc13268b3c88a57b237291b0d7bd95c5f6be12ae0fe9912cbc0a385a411c59de2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 2.13.3 (2025-01-02)
2
+ ------------------
3
+
4
+ * Issue - add `attribute_names` class/instance method. (#145)
5
+
1
6
  2.13.2 (2024-08-21)
2
7
  ------------------
3
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.13.2
1
+ 2.13.3
@@ -77,6 +77,11 @@ module Aws
77
77
  @data.hash_copy
78
78
  end
79
79
 
80
+ # @return [Array] List of attribute names.
81
+ def attribute_names
82
+ self.class.attribute_names
83
+ end
84
+
80
85
  def self.inherit_attributes(klass)
81
86
  superclass_attributes = klass.superclass.instance_variable_get('@attributes')
82
87
 
@@ -516,6 +521,11 @@ module Aws
516
521
  @attributes
517
522
  end
518
523
 
524
+ # @return [Array] List of attribute names.
525
+ def attribute_names
526
+ @attributes.attributes.keys
527
+ end
528
+
519
529
  # @api private
520
530
  def keys
521
531
  @keys.keys
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-record
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.2
4
+ version: 2.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-21 00:00:00.000000000 Z
11
+ date: 2025-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.5.5
96
+ rubygems_version: 3.5.9
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: AWS Record library for Amazon DynamoDB