openlayer 0.1.1 → 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: 255305d0ee35d06cd50f6243adece29a13abcd94e39cd72eeaafa0ad9ef64818
4
- data.tar.gz: afc2292d13f5bfd99e136c805c300c43d46cbecad09dacfac5c60c5a8f7eadf7
3
+ metadata.gz: bf4d880b659e95a8a73c7948c877ddb2149484e87e1c5be370e4cc3c31438642
4
+ data.tar.gz: 0a501f964cfbd01640dfde94bbea7144818726b349cca477e3e58ff0a745d0ba
5
5
  SHA512:
6
- metadata.gz: e819098a710660d080afd35ac2de37efcc5259cadb2b9ff446325b7ee5f924f44f68b514816252ca28825c7301caf99a897a4c37b0e2cd505fbd66a8c2f6a82b
7
- data.tar.gz: 1f242e2ba0bb14f5a1123aed04b0a8f7f2723641ca9c41a67072b2603f71dd772c866563d3f507a2d1ddb7e2d8642f78f3412722ed8be711d4ce6953ef16eb09
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.1"
4
+ VERSION = "0.2.0"
5
5
  end
data/openlayer.gemspec CHANGED
@@ -35,7 +35,6 @@ Gem::Specification.new do |spec|
35
35
  # Uncomment to register a new dependency of your gem
36
36
  # spec.add_dependency "example-gem", "~> 1.0"
37
37
  spec.add_dependency "faraday", "~> 2.9.0"
38
- spec.add_dependency "faraday_middleware", "~> 1.2.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.1
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
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.9.0
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.2.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.2.0
41
27
  description: Openlayer api wrapper
42
28
  email:
43
29
  - davila.jose23@gmail.com