dynamodb-migration 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9bcbd5523525b31582b3fdc18c2d9eb567d00547
4
- data.tar.gz: 2c939f83c5e65d2d92314addf257450790d16495
3
+ metadata.gz: 7445a09827d6a036940dd9961effae7a921d0dab
4
+ data.tar.gz: c886f1eead9ba884717445ce7afc8beaa8920572
5
5
  SHA512:
6
- metadata.gz: 550f89961218ccebc933cf2f5e5ab177ef88c49b4704bba5ea434e8237e5a6e9192521cfa7066adba920e0ae5a6681159fcc7a5bcc804cd6df06fe89bc3792ea
7
- data.tar.gz: a3ca25874298df3a0423eb12957b3a9ed569b097c3015a5b21a81456418d1943d954f19fdfe305d853247af5f345cd35a406d9630a59fa84bab43d9b33f1a936
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
@@ -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 = Dynamodb::Migration::VERSION
8
+ spec.version = DynamoDB::Migration::VERSION
9
9
  spec.authors = ["Henry Lawson"]
10
10
  spec.email = ["henry.lawson@foinq.com"]
11
11
 
@@ -2,7 +2,7 @@ require "dynamodb/migration/version"
2
2
  require "dynamodb/migration/execute"
3
3
  require "dynamodb/migration/unit"
4
4
 
5
- module Dynamodb
5
+ module DynamoDB
6
6
  module Migration
7
7
  def self.registered(app)
8
8
  options = {
@@ -1,5 +1,5 @@
1
- module Dynamodb
1
+ module DynamoDB
2
2
  module Migration
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamodb-migration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Lawson