openlayer 0.1.2 → 0.2.0

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: 793c38bd5d26267925b37737509d9ba7d125e0a971b566d084880fac2d6d6141
4
- data.tar.gz: 6efe638382bfee6a626873633403c53664b77cdce4aef522dadb5c1d72db11b1
3
+ metadata.gz: bf4d880b659e95a8a73c7948c877ddb2149484e87e1c5be370e4cc3c31438642
4
+ data.tar.gz: 0a501f964cfbd01640dfde94bbea7144818726b349cca477e3e58ff0a745d0ba
5
5
  SHA512:
6
- metadata.gz: 4661129b261a1f1907f28a12ac5b5d269a7f4e609b09175ac7f4a9f916e7459a464d07384831082fdc09cf2947dbcf39322c97683737f3350c164ca0f86e6d75
7
- data.tar.gz: 67f6fc0e8537f52d239d65c60f7d4960ea154fe62058486fff6a001b5972bfca88a71336d3f6589f45ea51c4eb8e0b5afa79a35bf86364d93b38252d0882f7a3
6
+ metadata.gz: 25a7f82dd32a7b0c7cb26e93139e705dc7b0467fd6023386d1a579c4b620940f72c8322a7b787f64bce6fb64d76b8528a31d057ed49b40ecc37071dc9cff68bf
7
+ data.tar.gz: 0f77e74e0851240ca390e168222b8cf2322dc4aaf7810476c78642368667839070ff6664419cba81834a4bc741a6a388ca63ce14fc603c871d64b4c1313d674f
data/README.md CHANGED
@@ -14,9 +14,9 @@ If bundler is not being used to manage dependencies, install the gem by executin
14
14
  ## Usage
15
15
 
16
16
  ```ruby
17
- client = OpenLayer::Client.new(api_key: "YOUR_OPENLAYER_API_KEY")
17
+ client = Openlayer::Client.new(api_key: "YOUR_OPENLAYER_API_KEY")
18
18
  inference_pipeline = client.inference_pipeline("YOUR_INFERENCE_PIPELINE_ID")
19
- inferencce_pipeline.stream_data(
19
+ inference_pipeline.stream_data(
20
20
  {
21
21
  rows: [...],
22
22
  config: {...}
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "faraday"
4
- require "faraday_middleware"
5
4
 
6
5
  module Openlayer
7
6
  class Client
@@ -21,6 +20,7 @@ module Openlayer
21
20
  conn.request :authorization, "Bearer", api_key
22
21
  conn.request :json
23
22
  conn.response :json, content_type: "application/json"
23
+ conn.response :logger
24
24
  conn.adapter adapter, @stubs
25
25
  end
26
26
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openlayer
4
- VERSION = "0.1.2"
4
+ VERSION = "0.2.0"
5
5
  end
data/openlayer.gemspec CHANGED
@@ -34,8 +34,7 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  # Uncomment to register a new dependency of your gem
36
36
  # spec.add_dependency "example-gem", "~> 1.0"
37
- spec.add_dependency "faraday", "~> 1.7"
38
- spec.add_dependency "faraday_middleware", "~> 1.1.0"
37
+ spec.add_dependency "faraday", "~> 2.9.0"
39
38
 
40
39
  # For more information and examples about making a new gem, check out our
41
40
  # guide at: https://bundler.io/guides/creating_gem.html
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openlayer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Fernando Davila
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-18 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: 2.9.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.7'
27
- - !ruby/object:Gem::Dependency
28
- name: faraday_middleware
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 1.1.0
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 1.1.0
26
+ version: 2.9.0
41
27
  description: Openlayer api wrapper
42
28
  email:
43
29
  - davila.jose23@gmail.com