dynamodb-migration 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/dynamodb-migration.gemspec +1 -1
- data/lib/dynamodb/migration.rb +1 -1
- data/lib/dynamodb/migration/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7445a09827d6a036940dd9961effae7a921d0dab
|
4
|
+
data.tar.gz: c886f1eead9ba884717445ce7afc8beaa8920572
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d769e0eb504b061e74100039f256e365e9ffa489c399d50654cd2d19ed7d32d18fb0d176b48b86330cfbe7927831f82cb5075bf19dd8aa022ccbe4979f02218b
|
7
|
+
data.tar.gz: 92eb21fa24f7667e6555a358bed4ca21fbef9853a60338bfd5dae6f7c11ce2e1f9100d09eb46c3d4189168cf7c6f6a28a6c1f8aff360cfa91b155cfdb5541301
|
data/README.md
CHANGED
@@ -23,6 +23,8 @@ Or install it yourself as:
|
|
23
23
|
In a rake task or in your applications start up, simply add:
|
24
24
|
|
25
25
|
```ruby
|
26
|
+
require 'dynamodb/migration'
|
27
|
+
|
26
28
|
options = {
|
27
29
|
client: dynamodb-client, # an Aws::DynamoDB::Client instance
|
28
30
|
path: '~/my_project/migrations' # the full path to the folder where your migration classes will live
|
@@ -33,6 +35,8 @@ DynamoDB::Migration.run_all_migrations(options)
|
|
33
35
|
Or if you are using a Sinatra application, in your `config.ru`:
|
34
36
|
|
35
37
|
```ruby
|
38
|
+
require 'dynamodb/migration'
|
39
|
+
|
36
40
|
# the full path to the folder where your migration classes will live
|
37
41
|
# we are assuming you will place your migrations in a "migrations" folder
|
38
42
|
# next to config.ru
|
data/dynamodb-migration.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'dynamodb/migration/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "dynamodb-migration"
|
8
|
-
spec.version =
|
8
|
+
spec.version = DynamoDB::Migration::VERSION
|
9
9
|
spec.authors = ["Henry Lawson"]
|
10
10
|
spec.email = ["henry.lawson@foinq.com"]
|
11
11
|
|
data/lib/dynamodb/migration.rb
CHANGED