belt 0.2.1 → 0.2.2

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: c15e24da909cfce9fa23022d9425cbee3c9a7dfe8478c5248d363178d06954b1
4
- data.tar.gz: f71306321f4e3765d2e8bdb9ea70d0500ebaf10dc3b25477635f39c1891a7f36
3
+ metadata.gz: abb5e5911478ca83dd713847cee268166ad284844fd08f48a20a5d18fc4e00d9
4
+ data.tar.gz: e5f94569672c2f8755e663b569f4036fcf5a6e9ad7db8f13470fdc72c93485b2
5
5
  SHA512:
6
- metadata.gz: 2b13e16dfef3ab199fa85db8da07a18d142b9281e8a663f586f4398049f83ab0eb544714990588d5605709248fa9b240bf20ee9cf9f54657b5aefc669681603c
7
- data.tar.gz: 695fc02afc4d1882becdde2895a03cda4d8424ff8a30e78073a62f2e7eaa12cae71c75b37b8842b7ecc20e591967d690a4afcb7c18fc2dfb708e394db96d96a2
6
+ metadata.gz: 4eacccd50cc5e40c36f34cbb5fc58f81a71e5e7a84b01c9910312c17438a900e0d00c20caf2162226d290e8739109ecdb9319602272b5b2cf0de43566d6de166
7
+ data.tar.gz: 1cd3c537f04c5d0e769a196ca334917558db9d82c9b3eec199656fb9fba53721b68020e5e23e54c9ea1339e0a7cfa977b21b500451d6f36766ef6209a6a94c72
@@ -136,6 +136,23 @@ module Belt
136
136
  type = "S"
137
137
  }
138
138
 
139
+ attribute {
140
+ name = "_recent_pk"
141
+ type = "S"
142
+ }
143
+
144
+ attribute {
145
+ name = "createdAt"
146
+ type = "S"
147
+ }
148
+
149
+ global_secondary_index {
150
+ name = "RecentIndex"
151
+ hash_key = "_recent_pk"
152
+ range_key = "createdAt"
153
+ projection_type = "ALL"
154
+ }
155
+
139
156
  tags = {
140
157
  Name = "#{name}"
141
158
  Environment = var.environment
data/lib/belt/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Belt
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stowzilla