tapsoob 0.3.13-java → 0.3.14-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tapsoob/schema.rb +10 -1
- data/lib/tapsoob/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b603f0745ce072e4794e745abe8f372df0f6632aaef4e8a3a0918773ee85f0dc
|
4
|
+
data.tar.gz: dc2f5837094c55a142957f0a5a32443a80198cb3dd709186d94afd4f09849d28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7eb3cf9383f59b0609a03e153857e628b6fd03f9bc0db7bdf74c5363c26c6e8729040ea7292495b97f0e67ac132b867d51b25dbfc8a4320af832a7da947130f
|
7
|
+
data.tar.gz: a28a0568eb91932fe6d1a0c37a92d3a33bbbff8b061b260f4f71a3602bceeeb287253d505f843c83b17047c82bff5b96cefe366985a9ffab787023d046238f43
|
data/lib/tapsoob/schema.rb
CHANGED
@@ -84,7 +84,16 @@ END_MIG
|
|
84
84
|
Sequel.connect(database_url) do |db|
|
85
85
|
db.extension :schema_dumper
|
86
86
|
klass = eval(schema)
|
87
|
-
|
87
|
+
if options[:drop]
|
88
|
+
# Start special hack for MySQL
|
89
|
+
db.run("SET foreign_key_checks = 0") if [:mysql, :mysql2].include?(db.adapter_scheme)
|
90
|
+
|
91
|
+
# Run down migration
|
92
|
+
klass.apply(db, :down)
|
93
|
+
|
94
|
+
# End special hack for MySQL
|
95
|
+
db.run("SET foreign_key_checks = 1") if [:mysql, :mysql2].include?(db.adapter_scheme)
|
96
|
+
end
|
88
97
|
klass.apply(db, :up)
|
89
98
|
end
|
90
99
|
end
|
data/lib/tapsoob/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tapsoob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.14
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Félix Bellanger
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|