sequel_tools 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sequel_tools/actions/schema_load.rb +2 -1
- data/lib/sequel_tools/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32e099063c3894c5db70b957e1be9f7a4e7602cea0d1846629dced9ffac55962
|
4
|
+
data.tar.gz: 8c80785fa25afda0f17b135adbf9d746fb6e9afa6afa23748ce891c8bb73ef2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab9f509e0019d56162ff099694a62b99a4eb07cdbdfd5ad1fe12ee3c9a6b26499efa2c268c2ed83ef20481d6f48ad43be1967e55104269140d16da4488e08e0
|
7
|
+
data.tar.gz: cc0aea53aad131259f09bd8a19597502e14a031732bcde32941b4a8b25e88c497073379ed2c4ee96ca7cbf8c08baad982dec80b6a7dec05afd5dd0fc0a141419
|
@@ -16,7 +16,8 @@ class SequelTools::ActionsManager
|
|
16
16
|
puts "Schema file '#{schema_location}' does not exist. Aborting."
|
17
17
|
exit 1
|
18
18
|
end
|
19
|
-
context[:db]
|
19
|
+
context[:db].run File.read(schema_location)
|
20
|
+
context[:db].disconnect # forces reconnection
|
20
21
|
end
|
21
22
|
end
|
22
23
|
end
|
data/lib/sequel_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.7.
|
158
|
+
rubygems_version: 2.7.6
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Add Rake tasks to manage Sequel migrations
|