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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8e85d6f1cfede2ec0cac3b16fc24edb68707197811de83149ac3acf2c920774
4
- data.tar.gz: 04c1a4765bb096fa02b0c72bfb874478e9029a217e63f0eb56bdf36b080f875d
3
+ metadata.gz: 960ad13518dfbc9b4b70fb24dbfd044b13fef403e6606a6fbf08be3599580153
4
+ data.tar.gz: 022cd3afd3941e38cb541a8ecb32efeea9aee835e2a5296b0058ac91c6340b10
5
5
  SHA512:
6
- metadata.gz: 7549e4fcbc0ce17c581706a8e354775f9678c02ffafcda8754952009012b774fa25654704cc65b5b579d8c435ad31ffb20e17001dafa3ca17a5afbfd870349e4
7
- data.tar.gz: f50e2e322371651b141f500fe135fb5d1f5b7da2b24246678cbb5e4a9b7df6b2a315429296ed89fec7fbde58a0c13adccdd92ac5e50fb03033eefc92f8034a3c
6
+ metadata.gz: a1271f9f5d677c77e6c1af17077c43ecf645c1d11bf96b543397d7c1983b614c181e15f09b403964c47e5216c073eadfe51c584e3fb908206c107e54560cdded
7
+ data.tar.gz: 60464826fa2896ec5b60fae1fa3b54fc37b0f6f2585f4606dc6503693810b1cbcc22ba53532b2bdf37f46ea2e0285353595e513198aa5cf02341a49cf86915fb
@@ -343,29 +343,14 @@ Enter your AWS credentials in the latter file.
343
343
 
344
344
  == Running the specs
345
345
 
346
- To run the specs for the OceanDynamo gem, you must first install DynamoDB Local.
347
- It's a Java clone of Amazon DynamoDB which runs locally on your computer. We use
348
- it for development and testing.
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
- Download DynamoDB Local from the following location: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html
351
+ With localstack running, you should now be able to do
351
352
 
352
- Next, copy the AWS configuration file from the template:
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
 
@@ -1,3 +1,3 @@
1
1
  module OceanDynamo
2
- VERSION = "1.5.1"
2
+ VERSION = "1.6.0"
3
3
  end
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.5.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-10 00:00:00.000000000 Z
11
+ date: 2018-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk