simple_migrations 0.1.1 → 0.1.2

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: b751ff6ff7d568d7d02df6b1976e75483f76d290
4
- data.tar.gz: d1be080958a63853a96fc7f68a7da79c34c85050
3
+ metadata.gz: ce4c0f0c59f68544077860b9354d4b80c23eb4fe
4
+ data.tar.gz: 4c0b467cd6cf0c61ea22bd6ca1a1867daeb90ce7
5
5
  SHA512:
6
- metadata.gz: f1db9a23a5d3d1d0b089763533426170406a6f612e180c2046aa786f8eab9dffc9e550e77ed7c66d1d52e8205671a7467ab7e9bc46330c2a0efb95ce2894d045
7
- data.tar.gz: 3a184723c4ac259201a54d31fb98fe69f7f3baed5459997debaf4ccaafddfcdc180ee6da4a71862d4f5f281edb83e167cf22b65ebee6a7480d96413e79b83d0c
6
+ metadata.gz: 6142cbf2e78d27f1a950e1523fbea2c10450d9cf2a8c16c2701528ca6b6cd0a9eb3a6c85a3930f64371d4ebfa0659dbc326f66e253de7875f7efeff674318bbd
7
+ data.tar.gz: fe76c764b96fe66186d070096ea46d0ba6adc63ec1bee4b5a35035de4a4602c26f9a95bb0442e9d8af0aa6ecbe7eb76fe341808c84b6e00d5655ce53d31aadc6
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
- # Migrations
1
+ # Simple Migrations
2
2
 
3
3
  Rake tasks for basic migration management
4
4
 
5
5
  ## Usage
6
6
 
7
- Here's an example using Postgres, but any SQL database should be fine.
7
+ Here's an example using Postgres, but any SQL database should be fine. Add the following to your Rakefile:
8
8
  ```
9
- require 'migrations'
9
+ require 'simple_migrations'
10
10
  require 'pg'
11
11
 
12
12
  namespace :migrate do
@@ -17,8 +17,8 @@ namespace :migrate do
17
17
  # Using Postgres here, but any DB should be fine
18
18
  conn = PG::Connection.new(conf)
19
19
 
20
- # set up a block that allows Migrations run SQL
21
- Migrations.sql_executor do |sql|
20
+ # set up a block that allows SimpleMigrations run SQL
21
+ SimpleMigrations.sql_executor do |sql|
22
22
  conn.exec(sql)
23
23
  end
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleMigrations
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_migrations
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
  - Tyler Hartland