ocean-dynamo 1.5.1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +6 -21
- data/lib/ocean-dynamo/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: 960ad13518dfbc9b4b70fb24dbfd044b13fef403e6606a6fbf08be3599580153
|
4
|
+
data.tar.gz: 022cd3afd3941e38cb541a8ecb32efeea9aee835e2a5296b0058ac91c6340b10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1271f9f5d677c77e6c1af17077c43ecf645c1d11bf96b543397d7c1983b614c181e15f09b403964c47e5216c073eadfe51c584e3fb908206c107e54560cdded
|
7
|
+
data.tar.gz: 60464826fa2896ec5b60fae1fa3b54fc37b0f6f2585f4606dc6503693810b1cbcc22ba53532b2bdf37f46ea2e0285353595e513198aa5cf02341a49cf86915fb
|
data/README.rdoc
CHANGED
@@ -343,29 +343,14 @@ Enter your AWS credentials in the latter file.
|
|
343
343
|
|
344
344
|
== Running the specs
|
345
345
|
|
346
|
-
|
347
|
-
|
348
|
-
|
346
|
+
We're using localstack (https://github.com/localstack/localstack) for development
|
347
|
+
and testing. Install (we use a Docker container) and run it. If you're using
|
348
|
+
ocean-dynamo with the Ocean Rails context, you can install and start it by
|
349
|
+
following the instructions in the `ocean` repo.
|
349
350
|
|
350
|
-
|
351
|
+
With localstack running, you should now be able to do
|
351
352
|
|
352
|
-
|
353
|
-
|
354
|
-
cp spec/dummy/config/aws.yml.example spec/dummy/config/aws.yml
|
355
|
-
|
356
|
-
NB: +aws.yml+ should be excluded from source control. This allows you to enter your AWS
|
357
|
-
credentials safely. On the other hand, +aws.yml.example+ SHOULD be under source control.
|
358
|
-
Don't put sensitive information in it.
|
359
|
-
|
360
|
-
You're now ready to start DynamoDB Local:
|
361
|
-
|
362
|
-
java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb
|
363
|
-
|
364
|
-
Replace +-sharedDb+ with +-inMemory+ to run the DB in RAM.
|
365
|
-
|
366
|
-
With DynamoDB Local running, you should now be able to do
|
367
|
-
|
368
|
-
rspec
|
353
|
+
bundle exec rspec
|
369
354
|
|
370
355
|
All tests should pass.
|
371
356
|
|
data/lib/ocean-dynamo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ocean-dynamo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Bengtson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|