baza 0.0.30 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/VERSION +1 -1
- data/baza.gemspec +5 -4
- data/lib/baza/base_sql_driver.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70b254c816708c8d1a509600dfd0c5fc43fad6ce
|
4
|
+
data.tar.gz: 25c386eba844b6b7df1f621fcfa98efa505d4903
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 917fd582151288c9a93875fe252910f4ba13c60f14b711b922d99586f4a8cedbcd5c97125af9c80a510e2763261776e4963c3da23045589285a9851bfaf4da69
|
7
|
+
data.tar.gz: 362224377526dfbd73b2021fb3a76da7cfc8fe38b059177f4af8197a801e3353303f92e3f825965d9c1eec04edca54b1132167afc60ba43ef2337c6f2219875a
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.3.5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.31
|
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.
|
5
|
+
# stub: baza 0.0.31 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "baza".freeze
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.31"
|
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 = "
|
14
|
+
s.date = "2018-01-09"
|
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 = [
|
@@ -23,6 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
".rspec",
|
24
24
|
".rubocop.yml",
|
25
25
|
".rubocop_todo.yml",
|
26
|
+
".ruby-version",
|
26
27
|
".travis.yml",
|
27
28
|
"Gemfile",
|
28
29
|
"Gemfile.lock",
|
@@ -199,7 +200,7 @@ Gem::Specification.new do |s|
|
|
199
200
|
]
|
200
201
|
s.homepage = "http://github.com/kaspernj/baza".freeze
|
201
202
|
s.licenses = ["MIT".freeze]
|
202
|
-
s.rubygems_version = "2.
|
203
|
+
s.rubygems_version = "2.5.2.1".freeze
|
203
204
|
s.summary = "A database abstraction layer, model framework and database framework.".freeze
|
204
205
|
|
205
206
|
if s.respond_to? :specification_version then
|
data/lib/baza/base_sql_driver.rb
CHANGED
@@ -230,7 +230,7 @@ class Baza::BaseSqlDriver
|
|
230
230
|
def sqlval(val)
|
231
231
|
return @conn.sqlval(val) if @conn.respond_to?(:sqlval)
|
232
232
|
|
233
|
-
if val.
|
233
|
+
if val.class.name == "Fixnum" || val.is_a?(Integer)
|
234
234
|
val.to_s
|
235
235
|
elsif val == nil
|
236
236
|
"NULL"
|
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.
|
4
|
+
version: 0.0.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Johansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: array_enumerator
|
@@ -330,6 +330,7 @@ files:
|
|
330
330
|
- ".rspec"
|
331
331
|
- ".rubocop.yml"
|
332
332
|
- ".rubocop_todo.yml"
|
333
|
+
- ".ruby-version"
|
333
334
|
- ".travis.yml"
|
334
335
|
- Gemfile
|
335
336
|
- Gemfile.lock
|
@@ -523,7 +524,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
523
524
|
version: '0'
|
524
525
|
requirements: []
|
525
526
|
rubyforge_project:
|
526
|
-
rubygems_version: 2.
|
527
|
+
rubygems_version: 2.5.2.1
|
527
528
|
signing_key:
|
528
529
|
specification_version: 4
|
529
530
|
summary: A database abstraction layer, model framework and database framework.
|