sandthorn_driver_sequel 3.2.0 → 3.2.1

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
  SHA1:
3
- metadata.gz: fe89e8b9c894faf9428a62a4c8d90c34a8d44eb4
4
- data.tar.gz: 395ab023a22dac49c4bdf92aeb01dc1c5c1e824a
3
+ metadata.gz: afdf98e380414f253698243d6c774c0ee744f01c
4
+ data.tar.gz: 0a47f12826b1009ac40f7425f63040f91aeba81a
5
5
  SHA512:
6
- metadata.gz: f3238375a6be6f5d00335d093f56bf223b20e06fb6d46cca4eb7a7b18bb51fe36549a98dbf1033f16c30d8431648161ffc24978da752d04cc0aa5488c4b82ab2
7
- data.tar.gz: 82b4dd32000acbd0ccff1d5acae6bf2213fcaa2cf55f73ffc7d00cb1800798070e1c12cdc28aa3e31d9db848c9724149cd780d00caa83768bd2e9e31c6fb77f3
6
+ metadata.gz: 684d556c1a96bcad5a8a471e2d4f3ef470f7f2db40f4cf37af8f1f491c102ed9c32ad5c06fad652817927b17cfbf82ffe26ead0aae01305e69aa9f04c35a8c6b
7
+ data.tar.gz: 9e4f1345797c3d9906f66cfc056f2a971b6e17c9d303ba080a4db850ae545a8ab2de1b9454ced03609369d609e3a81c7a216242432a98142c2ed3758123d1c7d
data/README.md CHANGED
@@ -51,6 +51,22 @@ Creates a driver from a Sequel url. Its possible to send in a block like the one
51
51
  driver = SandthornDriverSequel.driver_from_connection(url: "<sequel url string>")
52
52
  ```
53
53
 
54
+ ### `SandthornDriverSequel.migrate_url`
55
+
56
+ Migrate the database based on a url string
57
+
58
+ ```ruby
59
+ SandthornDriverSequel.migrate_url(url: "<sequel url string>")
60
+ ```
61
+
62
+ ### `SandthornDriverSequel.migrate_connection`
63
+
64
+ Migrate the database based on a connection
65
+
66
+ ```ruby
67
+ SandthornDriverSequel.migrate_connection(connection: "<sequel connection>")
68
+ ```
69
+
54
70
  ## Contributing
55
71
 
56
72
  1. Fork it
@@ -20,7 +20,7 @@ module SandthornDriverSequel
20
20
  Migration.new(url: url, context: context).migrate!
21
21
  end
22
22
 
23
- def migrate_connection connection:, context: nil
23
+ def migrate_connection connection: nil, context: nil
24
24
  Migration.new(connection: connection, context: context).migrate!
25
25
  end
26
26
 
@@ -1,3 +1,3 @@
1
1
  module SandthornDriverSequel
2
- VERSION = "3.2.0"
2
+ VERSION = "3.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sandthorn_driver_sequel
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Krantz