baza 0.0.29 → 0.0.30

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: fb0c9dc47499fc957724e7051425231c423e40be
4
- data.tar.gz: 8b5e83c0d0d78e16c16462b338d3e6cd0150fabf
3
+ metadata.gz: 962430cae7bced71bf1423076d2157727894ff1b
4
+ data.tar.gz: 92d0f15ae5068d8c9f03758c941f6986d0ade9bf
5
5
  SHA512:
6
- metadata.gz: 11bb9bb3e0d6c1da04cc4881b354db53e2477607d4b272dc2c416447678fee26c7fa4aaa68b62c49f856e60b3c638d0091f5c47f4c574841040aeff03b5023d8
7
- data.tar.gz: 0ff63d05d3441aa25dbc726a3fe86b5beed0910923db5187892f31a852925aaffc242a9df347cd8031fb59c6c59b2e2a44a0832eb993eb64a4a8e41db7c7850f
6
+ metadata.gz: 781f20c22db2e565d9d6de9cd98ceee425ba3e69b465f506b11a0375f906eda5081aa0579507ea4df57d28b71be71dd37e6944465d46a288b4192344bfd530fc
7
+ data.tar.gz: a1087ed9132477781402bdfeb4a782be8148444a569ba9e8437f2c36bd064c352a22da6ac597350f736955ec89ec3f0a02c3985054e21ac251bc8c313d5f3a95
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.29
1
+ 0.0.30
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: baza 0.0.29 ruby lib
5
+ # stub: baza 0.0.30 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "baza".freeze
9
- s.version = "0.0.29"
9
+ s.version = "0.0.30"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Kasper Johansen".freeze]
14
- s.date = "2017-10-11"
14
+ s.date = "2017-10-23"
15
15
  s.description = "A database abstraction layer, model framework and database framework.".freeze
16
16
  s.email = "kj@gfish.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -199,7 +199,7 @@ Gem::Specification.new do |s|
199
199
  ]
200
200
  s.homepage = "http://github.com/kaspernj/baza".freeze
201
201
  s.licenses = ["MIT".freeze]
202
- s.rubygems_version = "2.6.8".freeze
202
+ s.rubygems_version = "2.6.13".freeze
203
203
  s.summary = "A database abstraction layer, model framework and database framework.".freeze
204
204
 
205
205
  if s.respond_to? :specification_version then
@@ -71,7 +71,7 @@ class Baza::Driver::Pg::Database < Baza::Database
71
71
  end
72
72
 
73
73
  def with_cloned_conn_and_terminated_connections
74
- other_db = db.databases.list.find { |database| database.name != @db.current_database }
74
+ other_db = db.databases.list.find { |database| database.name != @db.current_database && database.name != "template0" }
75
75
 
76
76
  # Drop database through a cloned connection, because Postgres might bug up if dropping the current
77
77
  db.clone_conn(db: other_db.name) do |cloned_conn|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baza
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-11 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: array_enumerator
@@ -523,7 +523,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
523
523
  version: '0'
524
524
  requirements: []
525
525
  rubyforge_project:
526
- rubygems_version: 2.6.8
526
+ rubygems_version: 2.6.13
527
527
  signing_key:
528
528
  specification_version: 4
529
529
  summary: A database abstraction layer, model framework and database framework.