sunstone 1.8.0 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/active_record/connection_adapters/sunstone_adapter.rb +8 -1
- data/sunstone.gemspec +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: eae0846af813b1c0fc695244c0d5f41c596213cd
|
|
4
|
+
data.tar.gz: 8bd60e37e8b04992ea6b60abbc732a6f479f6753
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ae2591677494501e528f9c390c631de45576f47b5154f5e84eb3cce67e00a50bbc2188bfa0d84681eabb1d474055adb6bd6e1983cf0785c89044af08abd66ae
|
|
7
|
+
data.tar.gz: 76c26a37f72174c37c52feef35c2837dd298697a805232a917ac9c73a229a20fc7ba559dee2d6c4348a041396a05dd54e6ae7643419698010c1b04530d039f22
|
|
@@ -167,7 +167,14 @@ module ActiveRecord
|
|
|
167
167
|
# exec_cache(sql, name, binds)
|
|
168
168
|
sar = to_sar(arel, binds)
|
|
169
169
|
|
|
170
|
-
log(sar.is_a?(String) ? sar : "#{sar.class} #{CGI.unescape(sar.path)}", name) {
|
|
170
|
+
log(sar.is_a?(String) ? sar : "#{sar.class} #{CGI.unescape(sar.path)}", name) {
|
|
171
|
+
response = @connection.send_request(sar)
|
|
172
|
+
if response.is_a?(Net::HTTPNoContent)
|
|
173
|
+
nil
|
|
174
|
+
else
|
|
175
|
+
Wankel.parse(response.body)
|
|
176
|
+
end
|
|
177
|
+
}
|
|
171
178
|
end
|
|
172
179
|
|
|
173
180
|
# Connects to a Sunstone API server and sets up the adapter depending on
|
data/sunstone.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sunstone
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jon Bracy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07-
|
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|