motion-sqlite3 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -1
- data/LICENSE +7 -0
- data/lib/motion-sqlite3/result_set.rb +1 -1
- data/lib/motion-sqlite3/statement.rb +1 -1
- data/lib/motion-sqlite3/version.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: 4ab612fddb9cf7a6c0c4c5d73556c585900c5b5a
|
4
|
+
data.tar.gz: 76c20d1eca84a2f529b7fa0f545d9dd332aea6ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f404828905fb82453055d07756d9393b12f72cc9879b21c892787b0178f4f6ac56503c1254ff37b504d21d4b7b1f6caf3243b175dea0633e1ce0acb352e4916
|
7
|
+
data.tar.gz: 49d652fdd8eb7f49f536331fa4f980b72d6da70d241be83861353e6f72d8b5643c77c74ecb00e3148fe3f27d3ab40818e941ea6e6aad9a351ade91cce2489033
|
data/.travis.yml
CHANGED
data/LICENSE
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright (c) 2013-2014 Matt Green
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
+
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -31,7 +31,7 @@ module SQLite3
|
|
31
31
|
when SQLITE_BLOB
|
32
32
|
row[name] = NSData.dataWithBytes(sqlite3_column_blob(@handle.value, i), length: sqlite3_column_bytes(@handle.value, i))
|
33
33
|
when SQLITE_INTEGER
|
34
|
-
row[name] =
|
34
|
+
row[name] = sqlite3_column_int64(@handle.value, i)
|
35
35
|
when SQLITE_FLOAT
|
36
36
|
row[name] = sqlite3_column_double(@handle.value, i)
|
37
37
|
end
|
@@ -53,7 +53,7 @@ module SQLite3
|
|
53
53
|
when String, Symbol
|
54
54
|
result = sqlite3_bind_text(@handle.value, index, value, -1, lambda { |arg| })
|
55
55
|
when Integer
|
56
|
-
result =
|
56
|
+
result = sqlite3_bind_int64(@handle.value, index, value)
|
57
57
|
when Float
|
58
58
|
result = sqlite3_bind_double(@handle.value, index, value)
|
59
59
|
when NSData
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-sqlite3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Green
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- ".travis.yml"
|
50
50
|
- Gemfile
|
51
51
|
- Guardfile
|
52
|
+
- LICENSE
|
52
53
|
- README.md
|
53
54
|
- Rakefile
|
54
55
|
- app/app_delegate.rb
|
@@ -80,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
81
|
version: '0'
|
81
82
|
requirements: []
|
82
83
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.2.
|
84
|
+
rubygems_version: 2.2.2
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: A minimal wrapper over the SQLite 3 C API for RubyMotion
|