kairos_rb 1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 62aff8a43a999f4077156566806ed8af7148028f35707391ee5b9efa9f339974
4
+ data.tar.gz: d00c212593d91d3746149a20ef652b1af1df9ecc5028ee99eda2ea924f3f0afc
5
+ SHA512:
6
+ metadata.gz: a95909ed0376549fde908751fa84693a31d35143a91311d8992080e217a8c0a19b105108d3932dbfacc1917f113f04e24607d0c852a91ab818c99f1bf54e7d06
7
+ data.tar.gz: 934e93f02887ae38173f09f7e4f001610a59af2f5577ab2c86e2a8c352c405c5476844a430616052d3bbf22c300b64c4d86bee7cdbce9c7e84afd31685d8c91f
data/.byebug_history ADDED
@@ -0,0 +1,9 @@
1
+ continue
2
+ default_headers.merge(headers)
3
+ default_headers = { 'app_id' => @app_id, 'app_key' => @app_key }
4
+ headers
5
+ continue
6
+ connection.headers
7
+ connection
8
+ faraday.headers
9
+ faraday
@@ -0,0 +1,20 @@
1
+ name: Ruby
2
+
3
+ on: [push]
4
+
5
+ jobs:
6
+ build:
7
+
8
+ runs-on: ubuntu-latest
9
+
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+ - name: Set up Ruby 2.6
13
+ uses: actions/setup-ruby@v1
14
+ with:
15
+ ruby-version: 2.6.x
16
+ - name: Build and test with Rake
17
+ run: |
18
+ gem install bundler
19
+ bundle install --jobs 4 --retry 3
20
+ bundle exec rake
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,37 @@
1
+ require:
2
+ - rubocop-rspec
3
+ - rubocop-performance
4
+
5
+ AllCops:
6
+ TargetRubyVersion: 2.6.3
7
+
8
+ Metrics/LineLength:
9
+ Max: 130
10
+
11
+ Metrics/BlockLength:
12
+ Enabled: true
13
+ Max: 35
14
+ Exclude:
15
+ - spec/**/*
16
+
17
+ Metrics/MethodLength:
18
+ Max: 20
19
+
20
+ Metrics/ParameterLists:
21
+ Max: 6
22
+
23
+ Style/MixinUsage:
24
+ Exclude:
25
+ - bin/*
26
+
27
+ Metrics/AbcSize:
28
+ Max: 30
29
+
30
+ Style/Documentation:
31
+ Enabled: false
32
+
33
+ RSpec/MessageSpies:
34
+ Enabled: false
35
+
36
+ RSpec/ExpectInHook:
37
+ Enabled: false
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.6.3
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.3
7
+ before_install: gem install bundler -v 1.17.2
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in kairos_rb.gemspec
8
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,74 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ kairos_rb (0.1.0)
5
+ faraday
6
+ faraday_middleware
7
+ typhoeus
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ ast (2.4.0)
13
+ byebug (11.0.1)
14
+ diff-lcs (1.3)
15
+ ethon (0.12.0)
16
+ ffi (>= 1.3.0)
17
+ faraday (0.17.0)
18
+ multipart-post (>= 1.2, < 3)
19
+ faraday_middleware (0.13.1)
20
+ faraday (>= 0.7.4, < 1.0)
21
+ ffi (1.11.1)
22
+ jaro_winkler (1.5.3)
23
+ multipart-post (2.1.1)
24
+ parallel (1.18.0)
25
+ parser (2.6.5.0)
26
+ ast (~> 2.4.0)
27
+ rainbow (3.0.0)
28
+ rake (10.5.0)
29
+ rspec (3.9.0)
30
+ rspec-core (~> 3.9.0)
31
+ rspec-expectations (~> 3.9.0)
32
+ rspec-mocks (~> 3.9.0)
33
+ rspec-core (3.9.0)
34
+ rspec-support (~> 3.9.0)
35
+ rspec-expectations (3.9.0)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.9.0)
38
+ rspec-mocks (3.9.0)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.9.0)
41
+ rspec-support (3.9.0)
42
+ rubocop (0.75.1)
43
+ jaro_winkler (~> 1.5.1)
44
+ parallel (~> 1.10)
45
+ parser (>= 2.6)
46
+ rainbow (>= 2.2.2, < 4.0)
47
+ ruby-progressbar (~> 1.7)
48
+ unicode-display_width (>= 1.4.0, < 1.7)
49
+ rubocop-performance (1.5.0)
50
+ rubocop (>= 0.71.0)
51
+ rubocop-rspec (1.36.0)
52
+ rubocop (>= 0.68.1)
53
+ ruby-progressbar (1.10.1)
54
+ typhoeus (1.3.1)
55
+ ethon (>= 0.9.0)
56
+ unicode-display_width (1.6.0)
57
+ vcr (5.0.0)
58
+
59
+ PLATFORMS
60
+ ruby
61
+
62
+ DEPENDENCIES
63
+ bundler (~> 2.0.2)
64
+ byebug
65
+ kairos_rb!
66
+ rake (~> 10.0)
67
+ rspec (~> 3.0)
68
+ rubocop
69
+ rubocop-performance
70
+ rubocop-rspec
71
+ vcr
72
+
73
+ BUNDLED WITH
74
+ 2.0.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Mateusz Urbański
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # KairosRB
2
+
3
+
4
+ ## Installation
5
+
6
+ Add this line to your application's Gemfile:
7
+
8
+ ```ruby
9
+ gem 'kairos_rb'
10
+ ```
11
+
12
+ And then execute:
13
+
14
+ $ bundle
15
+
16
+ Or install it yourself as:
17
+
18
+ $ gem install kairos_rb
19
+
20
+ ## Usage
21
+
22
+ Check https://github.com/MatUrbanski/kairos_rb/blob/master/spec/kairos_rb/client_spec.rb for more details
23
+
24
+
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'kairos_rb'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/kairos_rb.gemspec ADDED
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'kairos_rb/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'kairos_rb'
9
+ spec.version = KairosRB::VERSION
10
+ spec.authors = ['Mateusz Urbański']
11
+ spec.email = ['mateuszurbanski@yahoo.pl']
12
+
13
+ spec.summary = 'Ruby wrapper for Kairos API.'
14
+ spec.description = 'Ruby wrapper for Kairos API. See https://www.kairos.com/docs/api/#overview for more details.'
15
+ spec.homepage = 'https://github.com/maturbanski/kairos_rb'
16
+ spec.license = 'MIT'
17
+
18
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
19
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
20
+ # if spec.respond_to?(:metadata)
21
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
22
+
23
+ # spec.metadata["homepage_uri"] = spec.homepage
24
+ # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
25
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
26
+ # else
27
+ # raise "RubyGems 2.0 or newer is required to protect against " \
28
+ # "public gem pushes."
29
+ # end
30
+
31
+ # Specify which files should be added to the gem when it is released.
32
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
33
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
34
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
35
+ end
36
+ spec.bindir = 'exe'
37
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
38
+ spec.require_paths = ['lib']
39
+
40
+ spec.add_dependency 'faraday'
41
+ spec.add_dependency 'faraday_middleware'
42
+ spec.add_dependency 'typhoeus'
43
+
44
+ spec.add_development_dependency 'bundler', '~> 2.0.2'
45
+ spec.add_development_dependency 'byebug'
46
+ spec.add_development_dependency 'rake', '~> 10.0'
47
+ spec.add_development_dependency 'rspec', '~> 3.0'
48
+ spec.add_development_dependency 'rubocop'
49
+ spec.add_development_dependency 'rubocop-performance'
50
+ spec.add_development_dependency 'rubocop-rspec'
51
+ spec.add_development_dependency 'vcr'
52
+ end
@@ -0,0 +1,149 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'securerandom'
4
+
5
+ module KairosRB
6
+ class Client
7
+ def initialize(app_id:, app_key:)
8
+ @connection = KairosRB::Connection.new(
9
+ app_id: app_id,
10
+ app_key: app_key
11
+ )
12
+ end
13
+
14
+ def enroll(image:, gallery_name:, subject_id:, selector: nil)
15
+ body = { gallery_name: gallery_name, image: image, subject_id: subject_id, selector: selector }
16
+
17
+ @connection.call(
18
+ method: 'post',
19
+ url: '/enroll',
20
+ body: body.to_json,
21
+ headers: { 'Content-Type' => 'application/json' }
22
+ )
23
+ end
24
+
25
+ def verify(image:, gallery_name:, subject_id:, selector: nil)
26
+ body = { gallery_name: gallery_name, image: image, subject_id: subject_id, selector: selector }
27
+
28
+ @connection.call(
29
+ method: 'post',
30
+ url: '/verify',
31
+ body: body.to_json,
32
+ headers: { 'Content-Type' => 'application/json' }
33
+ )
34
+ end
35
+
36
+ def recognize(image:, gallery_name:, selector: nil, min_head_scale: nil, threshold: nil, max_num_results: nil)
37
+ body = {
38
+ 'image' => image,
39
+ 'gallery_name' => gallery_name,
40
+ 'selector' => selector,
41
+ 'MinHeadScale' => min_head_scale,
42
+ 'threshold' => threshold,
43
+ 'max_num_results' => max_num_results
44
+ }
45
+
46
+ @connection.call(
47
+ method: 'post',
48
+ url: '/recognize',
49
+ body: body.to_json,
50
+ headers: { 'Content-Type' => 'application/json' }
51
+ )
52
+ end
53
+
54
+ def detect(image:, selector: nil, min_head_scale: nil)
55
+ body = { 'image' => image, 'selector' => selector, 'MinHeadScale' => min_head_scale }
56
+
57
+ @connection.call(
58
+ method: 'post',
59
+ url: '/detect',
60
+ body: body.to_json,
61
+ headers: { 'Content-Type' => 'application/json' }
62
+ )
63
+ end
64
+
65
+ def all_galeries
66
+ @connection.call(
67
+ method: 'post',
68
+ url: '/gallery/list_all',
69
+ headers: { 'Content-Type' => 'application/json' }
70
+ )
71
+ end
72
+
73
+ def gallery_details(gallery_name:)
74
+ body = { gallery_name: gallery_name }
75
+
76
+ @connection.call(
77
+ method: 'post',
78
+ url: '/gallery/view',
79
+ body: body.to_json,
80
+ headers: { 'Content-Type' => 'application/json' }
81
+ )
82
+ end
83
+
84
+ def gallery_subject(gallery_name:, subject_id:)
85
+ body = { gallery_name: gallery_name, subject_id: subject_id }
86
+
87
+ @connection.call(
88
+ method: 'post',
89
+ url: '/gallery/view_subject',
90
+ body: body.to_json,
91
+ headers: { 'Content-Type' => 'application/json' }
92
+ )
93
+ end
94
+
95
+ def remove_subject_from_gallery(gallery_name:, subject_id:)
96
+ body = { gallery_name: gallery_name, subject_id: subject_id }
97
+
98
+ @connection.call(
99
+ method: 'post',
100
+ url: '/gallery/remove_subject',
101
+ body: body.to_json,
102
+ headers: { 'Content-Type' => 'application/json' }
103
+ )
104
+ end
105
+
106
+ def remove_gallery(gallery_name:)
107
+ body = { gallery_name: gallery_name }
108
+
109
+ @connection.call(
110
+ method: 'post',
111
+ url: '/gallery/remove',
112
+ body: body.to_json,
113
+ headers: { 'Content-Type' => 'application/json' }
114
+ )
115
+ end
116
+
117
+ def add_media(media:, landmarks: 1, timeout: 10)
118
+ @connection.call(
119
+ method: 'post',
120
+ url: "/v2/media?source=#{media}&landmarks=#{landmarks}&timeout=#{timeout}",
121
+ headers: { 'Content-Type' => 'application/x-www-form-urlencoded' }
122
+ )
123
+ end
124
+
125
+ def get_media(media_id:)
126
+ @connection.call(
127
+ method: 'get',
128
+ url: "/v2/media/#{media_id}",
129
+ headers: { 'Content-Type' => 'application/x-www-form-urlencoded' }
130
+ )
131
+ end
132
+
133
+ def media_analytics(media_id:)
134
+ @connection.call(
135
+ method: 'get',
136
+ url: "/v2/analytics/#{media_id}",
137
+ headers: { 'Content-Type' => 'application/x-www-form-urlencoded' }
138
+ )
139
+ end
140
+
141
+ def remove_media(media_id:)
142
+ @connection.call(
143
+ method: 'delete',
144
+ url: "/v2/media/#{media_id}",
145
+ headers: { 'Content-Type' => 'application/json' }
146
+ )
147
+ end
148
+ end
149
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ module KairosRB
4
+ class Connection
5
+ def initialize(app_id:, app_key:)
6
+ @app_id = app_id
7
+ @app_key = app_key
8
+
9
+ @connection = Faraday.new(
10
+ 'https://api.kairos.com'
11
+ ) do |conn|
12
+ conn.response :json, content_type: /\bjson$/
13
+ conn.use Faraday::Response::RaiseError
14
+ conn.adapter Faraday.default_adapter
15
+ end
16
+ end
17
+
18
+ def call(url:, method:, headers: {}, body: nil)
19
+ default_headers = { 'app_id' => @app_id, 'app_key' => @app_key }
20
+ all_headers = default_headers.merge(headers)
21
+
22
+ body = @connection.send(method, url) do |req|
23
+ req.body = body
24
+ req.headers = req.headers.merge(all_headers)
25
+ end.body
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module KairosRB
4
+ VERSION = '1.0'
5
+ end
data/lib/kairos_rb.rb ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'faraday_middleware'
4
+ require 'faraday'
5
+ require 'kairos_rb/version'
6
+ require 'kairos_rb/connection'
7
+ require 'kairos_rb/client'
8
+ require 'byebug'
9
+
10
+ module KairosRB
11
+ end
metadata ADDED
@@ -0,0 +1,217 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kairos_rb
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.0'
5
+ platform: ruby
6
+ authors:
7
+ - Mateusz Urbański
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-10-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '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: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: typhoeus
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.0.2
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.0.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: byebug
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-performance
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop-rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: vcr
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: Ruby wrapper for Kairos API. See https://www.kairos.com/docs/api/#overview
168
+ for more details.
169
+ email:
170
+ - mateuszurbanski@yahoo.pl
171
+ executables: []
172
+ extensions: []
173
+ extra_rdoc_files: []
174
+ files:
175
+ - ".byebug_history"
176
+ - ".github/workflows/ruby.yml"
177
+ - ".gitignore"
178
+ - ".rspec"
179
+ - ".rubocop.yml"
180
+ - ".ruby-version"
181
+ - ".travis.yml"
182
+ - Gemfile
183
+ - Gemfile.lock
184
+ - LICENSE.txt
185
+ - README.md
186
+ - Rakefile
187
+ - bin/console
188
+ - bin/setup
189
+ - kairos_rb.gemspec
190
+ - lib/kairos_rb.rb
191
+ - lib/kairos_rb/client.rb
192
+ - lib/kairos_rb/connection.rb
193
+ - lib/kairos_rb/version.rb
194
+ homepage: https://github.com/maturbanski/kairos_rb
195
+ licenses:
196
+ - MIT
197
+ metadata: {}
198
+ post_install_message:
199
+ rdoc_options: []
200
+ require_paths:
201
+ - lib
202
+ required_ruby_version: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ required_rubygems_version: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: '0'
212
+ requirements: []
213
+ rubygems_version: 3.0.3
214
+ signing_key:
215
+ specification_version: 4
216
+ summary: Ruby wrapper for Kairos API.
217
+ test_files: []