wikk_sql 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wikk_sql.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b44f3220ce0dfd76001f10d0050068bc5c78351
|
4
|
+
data.tar.gz: '08f7b039eca6733f51882fa48b820107a6ae81ea'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8792cdf2b2247da43c528d5376656aae88d56ae494cf02bc13c10a7ad52363839f7eaf194728325081e0444a116c8aa7c9551e2da163116001ce257bb657e1bb
|
7
|
+
data.tar.gz: e0136313a530dd3a4cded3c3bd8f890e0507491a3c9bfbba71c28e0f8786525990b3766397123d2723602012d4413a11b96787c9890672a9b8a8582204c70143
|
data/lib/wikk_sql.rb
CHANGED
@@ -8,7 +8,7 @@ module WIKK
|
|
8
8
|
# @attr_reader [Mysql::Result] result the last query's result
|
9
9
|
# @attr_reader [Mysql] my the DB connection descriptor
|
10
10
|
class SQL
|
11
|
-
VERSION = '0.1.
|
11
|
+
VERSION = '0.1.2'
|
12
12
|
|
13
13
|
attr_reader :affected_rows, :result, :my
|
14
14
|
|
@@ -69,8 +69,8 @@ module WIKK
|
|
69
69
|
@result = nil
|
70
70
|
end
|
71
71
|
@affected_rows = 0 #incase this query crashes and burns, this will have a value.
|
72
|
-
@affected_rows = @my.affected_rows #This is non-zero for insert/delete/update of rows
|
73
72
|
@result = @my.query(the_query)
|
73
|
+
@affected_rows = @my.affected_rows #This is non-zero for insert/delete/update of rows
|
74
74
|
if block_given?
|
75
75
|
yield @result
|
76
76
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wikk_sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Burrowes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hoe-yard
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
81
|
rubyforge_project:
|
82
|
-
rubygems_version: 2.
|
82
|
+
rubygems_version: 2.6.8
|
83
83
|
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: "```"
|