swiftype 1.0.0 → 1.0.1
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.
- data/.travis.yml +2 -1
- data/README.md +1 -1
- data/lib/swiftype/request.rb +1 -1
- data/lib/swiftype/version.rb +1 -1
- metadata +2 -2
data/.travis.yml
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Swiftype Ruby API Client
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/swiftype/swiftype-rb)
|
|
4
4
|
|
|
5
5
|
This is a simple client for the [Swiftype API](https://swiftype.com/documentation/overview) with no dependencies outside core Ruby (for 1.9 and 2.0; Ruby 1.8 requires the JSON gem).
|
|
6
6
|
|
data/lib/swiftype/request.rb
CHANGED
|
@@ -35,7 +35,7 @@ module Swiftype
|
|
|
35
35
|
if uri.scheme == 'https'
|
|
36
36
|
http.use_ssl = true
|
|
37
37
|
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
38
|
-
http.ca_file = File.join(__FILE__, '..', 'data', 'ca-bundle.crt')
|
|
38
|
+
http.ca_file = File.join(File.dirname(__FILE__), '..', 'data', 'ca-bundle.crt')
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
response = http.request(request)
|
data/lib/swiftype/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: swiftype
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-09-
|
|
13
|
+
date: 2013-09-27 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|