github-ds 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -2
- data/lib/github/ds/version.rb +1 -1
- data/lib/github/sql.rb +1 -1
- 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: b7df77cb6809937119fa2de6b8c56fc949df2562
|
4
|
+
data.tar.gz: 315a6384a50871cc13fc1b3b275eac7e243d3786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6505957502604a32bc5c37e9d45b6002ba824c2085f1d26b85937b4e32f15d9a90464763ab88c64fc96b5c7b54f54578d60c8f16b9b7428af005936872fa5493
|
7
|
+
data.tar.gz: 68168285e35c21a1fb101ca89c4ca9cd00d3bb2e2bef4fc3c62b9ccc260282ff370e2be1ba918059830a921dca2fe554cee9c197ebd4835cf2470a069b7c5a08
|
data/CHANGELOG.md
CHANGED
@@ -1,16 +1,22 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.2.7
|
4
|
+
|
5
|
+
Fixes
|
6
|
+
|
7
|
+
* `GitHub::SQL#hash_results` now correctly returns an array of hashes on Rails 4+ rather than `ActiveRecord::Result`
|
8
|
+
|
3
9
|
## 0.2.6
|
4
10
|
|
5
11
|
Fixes
|
6
12
|
|
7
|
-
* Replaces `
|
13
|
+
* Replaces `require` with `require_relative` also in github-ds https://github.com/github/github-ds/commit/67f0ea37bc1495e62b48b4c7b4ad72fad4f97a1a
|
8
14
|
|
9
15
|
## 0.2.5
|
10
16
|
|
11
17
|
Fixes
|
12
18
|
|
13
|
-
* Replaces `
|
19
|
+
* Replaces `require` with `require_relative` to avoid requirement errors
|
14
20
|
when the gem is required inside the a "gihub" load path https://github.com/github/github-ds/commit/cb50e5318c911cf5bbf30fd07ca8ea93bfbf1c6d
|
15
21
|
|
16
22
|
## 0.2.4
|
data/lib/github/ds/version.rb
CHANGED
data/lib/github/sql.rb
CHANGED
@@ -297,7 +297,7 @@ module GitHub
|
|
297
297
|
|
298
298
|
when /\ASELECT/i
|
299
299
|
# Why not execute or select_rows? Because select_all hits the query cache.
|
300
|
-
@hash_results = connection.select_all(query, "#{self.class.name} Select")
|
300
|
+
@hash_results = connection.select_all(query, "#{self.class.name} Select").to_ary
|
301
301
|
@results = @hash_results.map(&:values)
|
302
302
|
|
303
303
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-ds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-09-
|
12
|
+
date: 2017-09-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
190
|
rubyforge_project:
|
191
|
-
rubygems_version: 2.
|
191
|
+
rubygems_version: 2.5.2
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: A collection of libraries for working with SQL on top of ActiveRecord's connection.
|