soda-ruby 0.2.21 → 0.2.22
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/README.mkd +5 -0
- data/lib/soda/client.rb +1 -1
- data/lib/soda/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcd92523a205c1ee53969f8cc6d15c9bff052ad5
|
4
|
+
data.tar.gz: cf214fa32b9c34f1b4495637ac137f05318c5566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3e9e24153e8e34a1dcd5a9e8687457ad686eb355aac3cf55f7292812379859081002c5643e64a2e868371048350fc84ebe315cc2ab02ea61d8f74f96a84e8e1
|
7
|
+
data.tar.gz: 8b8efa129b9800ed78be0890a2691e9a4e819ef36d2fa69407d468a06f58458dfbdae59ae7fb673e280e1cf877f43aa7ba209b29fc02fecf1d6ae7f3d64a04ba
|
data/README.mkd
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
[](https://ci.appveyor.com/project/chrismetcalf/soda-ruby)
|
2
3
|
[](https://travis-ci.org/socrata/soda-ruby)
|
3
4
|
|
@@ -13,6 +14,10 @@ Include the gem and hashie in your Gemfile:
|
|
13
14
|
gem 'soda-ruby', :require => 'soda'
|
14
15
|
```
|
15
16
|
|
17
|
+
### Important Note!
|
18
|
+
|
19
|
+
In order to access the SODA API via HTTPS, clients must now [support the Server Name Indication (SNI)](https://dev.socrata.com/changelog/2016/08/24/sni-now-required-for-https-connections.html) extension to the TLS protocol. What does this mean? It means that if you're using `soda-ruby`, you must [use Ruby 2.0.0 or above](https://en.wikipedia.org/wiki/Server_Name_Indication), as that is when `net/http` introduced support for SNI. 2.0.0 was released in 2011, so most up-to-date platforms will be on version 2.0 or greater.
|
20
|
+
|
16
21
|
## Quick Start
|
17
22
|
|
18
23
|
Create a new client. Register for an application token at <http://dev.socrata.com/register>.
|
data/lib/soda/client.rb
CHANGED
@@ -238,7 +238,7 @@ module SODA
|
|
238
238
|
end
|
239
239
|
|
240
240
|
def send_request(method, http, request)
|
241
|
-
return delete_method_response(
|
241
|
+
return delete_method_response(http, request) if method === :Delete
|
242
242
|
handle_response(http.request(request))
|
243
243
|
end
|
244
244
|
|
data/lib/soda/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soda-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Metcalf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.0.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: activesupport
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 4.2.5
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 4.2.5
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: bundler
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -211,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
225
|
version: 1.3.6
|
212
226
|
requirements: []
|
213
227
|
rubyforge_project: soda-ruby
|
214
|
-
rubygems_version: 2.
|
228
|
+
rubygems_version: 2.5.1
|
215
229
|
signing_key:
|
216
230
|
specification_version: 4
|
217
231
|
summary: Ruby for SODA 2.0
|