mystic 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mystic/adapters/abstract.rb +1 -1
- data/lib/mystic/migration.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8145f377dd3a5bead7ebfecc87e55804af4992a8
|
4
|
+
data.tar.gz: f187a9d25f1d811a12c43326407b0cf6fb6c3661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94b02be8857f3dd2ff99f2820a7e8e456cf4e4738348114f2fca0f9081250e97d2ed9ca090d66d3c3f9948ee2c034aaa6eb8db715a313c9d09ff6691f0ee4478
|
7
|
+
data.tar.gz: 21ca8193be269c8619797450cb0c571dc3064163f2cfa2a3dda3a7280c87d4bd6ac91f7c266355a22800f07359aec8f9d226254969e46479aeed6294f8ed271b
|
data/lib/mystic/migration.rb
CHANGED
@@ -66,10 +66,11 @@ module Mystic
|
|
66
66
|
execute table
|
67
67
|
end
|
68
68
|
|
69
|
-
def drop_table(name)
|
69
|
+
def drop_table(name, opts={})
|
70
70
|
irreversible!
|
71
71
|
execute Mystic::SQL::Operation.drop_table(
|
72
|
-
:table_name => name.to_s
|
72
|
+
:table_name => name.to_s,
|
73
|
+
:cascade? => opts[:cascade]
|
73
74
|
)
|
74
75
|
end
|
75
76
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mystic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathaniel Symer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: densify
|