rail-locator-api 1.0.31 → 1.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rail-locator-api/api_request.rb +1 -0
- data/lib/rail-locator-api/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a150f0e89a0530c4bff3458bf26c3cd0d752c2a7e1b13f8d7e4aacd377e0b777
|
4
|
+
data.tar.gz: b29fd8486c0ffe1082a5ddcbd17799ec4412c2d5e1f8593c34c1f7bb1bed6304
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ef354b288e848b1d2778d7d17b48b9bd0784c5249a58a91471ac98d0f330e10c4159e83f3fef7373767d2781c5b374d5b6fa1373764319e79b1e1c3180e819d
|
7
|
+
data.tar.gz: 2fc5e28438b9870871a6d33b54625a78606c7ebe8524735f2e802771e30950f60a187a7487315128bdc857645d189f9d04b6dcead4270b37dc2805b3589689c5
|
@@ -8,6 +8,7 @@ module RailLocatorApi
|
|
8
8
|
def post(params: nil, headers: nil, format: nil, body: {})
|
9
9
|
validate_api_key
|
10
10
|
begin
|
11
|
+
headers ||= {}
|
11
12
|
if is_multipart?(body)
|
12
13
|
if self.api_auth_method == :base64
|
13
14
|
headers['Authorization'] = "Basic " + Base64::encode64("#{self.api_user_email}:#{self.api_user_password}")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rail-locator-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Osetrov
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: psych
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 4.0.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 4.0.0
|
97
111
|
description: ''
|
98
112
|
email: pavel.osetrov@me.com
|
99
113
|
executables: []
|