certmeister-dynamodb 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/certmeister/dynamodb/version.rb +1 -1
- data/spec/certmeister/dynamodb/store_spec.rb +5 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b8e83738960573bddc31e3d4c66f7bb3e8e1bf2
|
4
|
+
data.tar.gz: dc336eefeab79974ef455fd3fdf2c0a79c4f3b5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2856444004134dd7c6ff6fdc98046de09775ff5f34fa07ed172bfe5990bc7d1d74eb43ccb92185631ca8de069fa2c0bc6659ac9aecfabea9ae9b4bf4a07d6ad
|
7
|
+
data.tar.gz: 620f0a0cd574dd14277406797c4a03c2fa115bb4dca2374df87fb900aa10259b327cc280b09cc419feef3ab1420379457f6da4de9cb795d4cae231830a501da4
|
@@ -11,10 +11,14 @@ describe Certmeister::DynamoDB::Store do
|
|
11
11
|
include Certmeister::Test::MemoryStoreInterface
|
12
12
|
end
|
13
13
|
|
14
|
+
let(:ddb_options) do
|
15
|
+
{endpoint: 'http://127.0.0.1:8000', credentials: Aws::Credentials.new('key_id', 'secret_key')}
|
16
|
+
end
|
17
|
+
|
14
18
|
subject do
|
15
19
|
Certmeister::DynamoDB::Store.new(
|
16
20
|
TABLE_NAME,
|
17
|
-
|
21
|
+
ddb_options,
|
18
22
|
{read_capacity_units: 10, write_capacity_units: 5}
|
19
23
|
)
|
20
24
|
end
|
@@ -24,7 +28,6 @@ describe Certmeister::DynamoDB::Store do
|
|
24
28
|
private
|
25
29
|
|
26
30
|
def dynamodb_cleanup
|
27
|
-
ddb_options = {region: 'us-east-1', endpoint: ENV['DYNAMODB_ENDPOINT'] || 'http://localhost:8000'}
|
28
31
|
db = Aws::DynamoDB::Client.new(ddb_options)
|
29
32
|
begin
|
30
33
|
db.delete_table(table_name: TABLE_NAME)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: certmeister-dynamodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sheldon Hearn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: certmeister
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2.
|
33
|
+
version: '2.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2.
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.4.5
|
114
|
+
rubygems_version: 2.4.5.1
|
115
115
|
signing_key:
|
116
116
|
specification_version: 4
|
117
117
|
summary: DynamoDB store for certmeister
|