openlayer 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf4d880b659e95a8a73c7948c877ddb2149484e87e1c5be370e4cc3c31438642
4
- data.tar.gz: 0a501f964cfbd01640dfde94bbea7144818726b349cca477e3e58ff0a745d0ba
3
+ metadata.gz: 2c522a801c7673ccfe15d08aa8dffa01df36e9247cdd49181fb2f4f0a09b6ecc
4
+ data.tar.gz: ce80b6e2d2333d8f9118bac2477835c0b2046994726513547cc82b61c3d25d61
5
5
  SHA512:
6
- metadata.gz: 25a7f82dd32a7b0c7cb26e93139e705dc7b0467fd6023386d1a579c4b620940f72c8322a7b787f64bce6fb64d76b8528a31d057ed49b40ecc37071dc9cff68bf
7
- data.tar.gz: 0f77e74e0851240ca390e168222b8cf2322dc4aaf7810476c78642368667839070ff6664419cba81834a4bc741a6a388ca63ce14fc603c871d64b4c1313d674f
6
+ metadata.gz: a082fa2d42ce9fa5d1c13b8f883f675fc1235e4dcbc9699ba26e4bf06f7aff7fecee96295393dc9de650f8b388621b2fc939a20d38eb912943404a79f8595dd2
7
+ data.tar.gz: cdb4dc6acbd4d643ed22a2b3655b949bdd4b99b34c35aaf798583e59175abbb40ab234ec4ab4a1809015457ab3faad820bde8dd0abb2bcad9b3fa0ac30b4dc61
@@ -20,7 +20,6 @@ module Openlayer
20
20
  conn.request :authorization, "Bearer", api_key
21
21
  conn.request :json
22
22
  conn.response :json, content_type: "application/json"
23
- conn.response :logger
24
23
  conn.adapter adapter, @stubs
25
24
  end
26
25
  end
@@ -9,8 +9,8 @@ module Openlayer
9
9
  @inference_pipeline_id = inference_pipeline_id
10
10
  end
11
11
 
12
- def stream_data(**attributes)
13
- handle_response client.connection.post("inference-pipelines/#{inference_pipeline_id}/data-stream", attributes)
12
+ def stream_data(body = {})
13
+ handle_response client.connection.post("inference-pipelines/#{inference_pipeline_id}/data-stream", body)
14
14
  true
15
15
  end
16
16
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openlayer
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openlayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Fernando Davila