sequel_tools 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: 6c23442c4bad32fba906b23fffa3f92089a0f2e5df148839fdc4f52bd199515f
4
- data.tar.gz: b7451d64a3e522b881c9e44f29d8d216011ab34691e76126467a2fdbc3bb9608
3
+ metadata.gz: 32e099063c3894c5db70b957e1be9f7a4e7602cea0d1846629dced9ffac55962
4
+ data.tar.gz: 8c80785fa25afda0f17b135adbf9d746fb6e9afa6afa23748ce891c8bb73ef2b
5
5
  SHA512:
6
- metadata.gz: b36fc069fe4119bc7c94e15c8d119c2d14a7fb9b2d019cc92f53b88537ac105b28c5ee0f545556bbcc459f7db0cc083b74d571cbb7cbce8c5cc720abec6bea2b
7
- data.tar.gz: c91db0d9962cfc581ce28b52f5ed5bb6d3a72cd57d8e0eeb086b9b3c9b136792917ad26df4a3dc0c45e17ecedc2a72a512fd313bc488ca97ff7ce0c46b575103
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] << File.read(schema_location)
19
+ context[:db].run File.read(schema_location)
20
+ context[:db].disconnect # forces reconnection
20
21
  end
21
22
  end
22
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen-string-literal: true
2
2
 
3
3
  module SequelTools
4
- VERSION = '0.1.6'
4
+ VERSION = '0.1.7'
5
5
  end
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.6
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-01-08 00:00:00.000000000 Z
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.3
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