aws-record 2.13.1 → 2.13.3
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 +4 -4
- data/CHANGELOG.md +11 -0
- data/VERSION +1 -1
- data/lib/aws-record/record/attributes.rb +10 -0
- data/lib/aws-record/record/table_config.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f00e0b5d064c085fb4c789f556640daa5fdddb73ecca664e9567cd3779b1a644
|
4
|
+
data.tar.gz: 400a06cc869afe28dd9a823fada120eee08054d14522b964936c197ae4997d8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86bdbd867e84eeb675418787f8ac29f0f05c7ff9c948bd1cb201a5aa99c108bcb87c945806da861c3835b6f771a509283215360831fc6b8168a74444a8acf021
|
7
|
+
data.tar.gz: 0e70aef2a89abc281031dd3d371b92f7a3020d65d850bf7d200d622d3ed3cb1bc13268b3c88a57b237291b0d7bd95c5f6be12ae0fe9912cbc0a385a411c59de2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
2.13.3 (2025-01-02)
|
2
|
+
------------------
|
3
|
+
|
4
|
+
* Issue - add `attribute_names` class/instance method. (#145)
|
5
|
+
|
6
|
+
2.13.2 (2024-08-21)
|
7
|
+
------------------
|
8
|
+
|
9
|
+
* Issue - Allow `global_secondary_index` to be defined in `TableConfig` without
|
10
|
+
supplying capacity settings. (#140)
|
11
|
+
|
1
12
|
2.13.1 (2024-07-18)
|
2
13
|
------------------
|
3
14
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.13.
|
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.
|
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:
|
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.
|
96
|
+
rubygems_version: 3.5.9
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: AWS Record library for Amazon DynamoDB
|