baza 0.0.25 → 0.0.26

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: a08442b27108efbaf692c8672da32fb95e0fb554
4
- data.tar.gz: f975c643812141118d9767aaea21b265143a1ca8
3
+ metadata.gz: 15e9903b9842c231693bf971405eee288676a0f1
4
+ data.tar.gz: 285cc1660fb2b723b17f7b2ca33235a66ee25779
5
5
  SHA512:
6
- metadata.gz: 5b82757ce77e2333b61a881c73c2ef0b0a384d2ada12376caa84e749c887608297f16816a958b56d095e5d3470d5bad693b9d429264466361eb4fa6d82848471
7
- data.tar.gz: 661c572c592445928abd4c1dd9d23f38d8b6275abfd4e3646dff24adc7d6fb4ae91cc790d04893558d20d2670288123d05a0d9060b3487783098c5c666810c79
6
+ metadata.gz: d89f9dd25564cab7e27b25b5f06669c896bfb6e1e8c1b78765c8c017b6050709f8e7c49f5378310198658423f754c16afc716378c5755407e65d613b5052b0bf
7
+ data.tar.gz: aa2c56601b530a92e32cda1f5592a1c9cb59df765124054064769c3d9637cf3349d4248a78d0919a7eb9b6656653f0902dee72c2763bd60e90bc51d2e8c5f22b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.25
1
+ 0.0.26
data/baza.gemspec CHANGED
@@ -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.25 ruby lib
5
+ # stub: baza 0.0.26 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "baza".freeze
9
- s.version = "0.0.25"
9
+ s.version = "0.0.26"
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-01-27"
14
+ s.date = "2017-02-15"
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 = [
@@ -46,8 +46,6 @@ class Baza::Driver::Mysql::Database < Baza::Database
46
46
  use { @db.query(sql) }
47
47
  end
48
48
 
49
- private
50
-
51
49
  def rename(new_name)
52
50
  new_name = new_name.to_s
53
51
  @db.databases.create(name: new_name)
@@ -79,8 +79,6 @@ class Baza::Driver::Pg::Database < Baza::Database
79
79
  return [sql] if args && args[:return_sql]
80
80
  end
81
81
 
82
- private
83
-
84
82
  def rename(new_name)
85
83
  @db.query("ALTER DATABASE #{@db.sep_database}#{@db.escape_database(name_was)}#{@db.sep_database} RENAME TO #{@db.sep_database}#{@db.escape_database(new_name)}#{@db.sep_database}")
86
84
  @name = new_name.to_s
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.25
4
+ version: 0.0.26
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-01-27 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: array_enumerator