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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4feb640f864243398ee7e819b75f50334e59d27e
4
- data.tar.gz: 8fd079782c8401032fce326201c0efc8d86a5bd4
3
+ metadata.gz: 4b8e83738960573bddc31e3d4c66f7bb3e8e1bf2
4
+ data.tar.gz: dc336eefeab79974ef455fd3fdf2c0a79c4f3b5f
5
5
  SHA512:
6
- metadata.gz: 2e98d67f80c880c8f91ba9a8da63c7d232c2575d9d17739c89780bc13619a3a0969e56b351f9182fc71001f24cd8263fc720cb192886adb2a97f4aa28e72907f
7
- data.tar.gz: 94185440bb814418d2c870f6f7899673225377825845532a22f825370492e6bf7bde18814c8189630dc7c2125f077f86f16da6eeaebbbbc02096d927aa530d91
6
+ metadata.gz: f2856444004134dd7c6ff6fdc98046de09775ff5f34fa07ed172bfe5990bc7d1d74eb43ccb92185631ca8de069fa2c0bc6659ac9aecfabea9ae9b4bf4a07d6ad
7
+ data.tar.gz: 620f0a0cd574dd14277406797c4a03c2fa115bb4dca2374df87fb900aa10259b327cc280b09cc419feef3ab1420379457f6da4de9cb795d4cae231830a501da4
@@ -2,7 +2,7 @@ module Certmeister
2
2
 
3
3
  module DynamoDB
4
4
 
5
- VERSION = '0.1.1' unless defined?(VERSION)
5
+ VERSION = '0.1.2' unless defined?(VERSION)
6
6
 
7
7
  end
8
8
 
@@ -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
- {region: 'us-east-1', endpoint: ENV['DYNAMODB_ENDPOINT'] || 'http://localhost:8000' },
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.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-02-13 00:00:00.000000000 Z
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.0'
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.0'
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