simple-sql 0.2.9 → 0.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/simple/sql.rb +6 -7
- data/lib/simple/sql/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6970e8a68e60cb864a751516eab22b48cf747d13
|
4
|
+
data.tar.gz: f953e02ac5408f7ca1beed4a5247b109c526acf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51cf095dc99c3e312273c8655bb2ef7ed6c7de8d50dd8241c870e688aeede9606eb4a96c1f52e0b27433be4b655314926dfeaadac73a0193ff505bcc4bfe0afe
|
7
|
+
data.tar.gz: 572250ea4fc3e22be6605932eba180988b188db195af51bd5eb330ddec72b078c4edab035ca1638745dcbc98f5ca7fa3fa0841682884c8d6f3f3f5131933e4aa
|
data/Gemfile.lock
CHANGED
data/lib/simple/sql.rb
CHANGED
@@ -25,13 +25,12 @@ module Simple
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def default_logger
|
28
|
-
if defined?(ActiveRecord)
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
end
|
28
|
+
logger = ActiveRecord::Base.logger if defined?(ActiveRecord)
|
29
|
+
return logger if logger
|
30
|
+
|
31
|
+
logger = Logger.new(STDERR)
|
32
|
+
logger.level = Logger::INFO
|
33
|
+
logger
|
35
34
|
end
|
36
35
|
|
37
36
|
# execute one or more sql statements. This method does not allow to pass in
|
data/lib/simple/sql/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- radiospiel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-02-
|
12
|
+
date: 2018-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pg_array_parser
|