exercism-config 0.44.0 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/setup_exercism_local_aws +39 -0
- data/lib/exercism_config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8059e119b7057a0972501f6f3d0921e575024f3497ffaab9b9e62fa63bd186b
|
4
|
+
data.tar.gz: 1ee220aa35d61dbcf41b498ea268b21a0bd0c1cd4d72507993a759d83847faa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '048546048f8700a7156b6b791ebea79a4d622c3f77b997d9a198c975eb4d20571b59c2a97fff65f0c5d3df37179f0fec660f02cdfbb769d8728ae223b999fd55'
|
7
|
+
data.tar.gz: 734e6b495e2e67405d3396e8621ee611050c75043f4a7ab2fc43085bbad45603a45777b328967ccc41eebcdd5dfd28ae7004f6b815065cd4a7b58f3f9764f47f
|
@@ -97,4 +97,43 @@ end
|
|
97
97
|
}
|
98
98
|
]
|
99
99
|
)
|
100
|
+
|
101
|
+
Exercism.config.dynamodb_client.update_table(
|
102
|
+
table_name: table_name,
|
103
|
+
attribute_definitions: [
|
104
|
+
{
|
105
|
+
attribute_name: "submission_uuid",
|
106
|
+
attribute_type: "S"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
attribute_name: "type",
|
110
|
+
attribute_type: "S"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
global_secondary_index_updates: [
|
114
|
+
{
|
115
|
+
create: {
|
116
|
+
index_name: "submission_type", # required
|
117
|
+
key_schema: [ # required
|
118
|
+
{
|
119
|
+
attribute_name: "submission_uuid", # required
|
120
|
+
key_type: "HASH" # required, accepts HASH, RANGE
|
121
|
+
},
|
122
|
+
{
|
123
|
+
attribute_name: "type", # required
|
124
|
+
key_type: "RANGE" # required, accepts HASH, RANGE
|
125
|
+
}
|
126
|
+
],
|
127
|
+
projection: { # required
|
128
|
+
projection_type: "INCLUDE",
|
129
|
+
non_key_attributes: ["id", "job_status"]
|
130
|
+
},
|
131
|
+
provisioned_throughput: {
|
132
|
+
read_capacity_units: 1, # required
|
133
|
+
write_capacity_units: 1 # required
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
]
|
138
|
+
)
|
100
139
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exercism-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Walker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-dynamodb
|