solovis_api_client 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.circleci/config.yml +72 -0
- data/.circleci/setup-rubygems.sh +3 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +66 -0
- data/README.md +39 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/solovis_api_client.rb +11 -0
- data/lib/solovis_api_client/base.rb +35 -0
- data/lib/solovis_api_client/config.rb +23 -0
- data/lib/solovis_api_client/connection.rb +40 -0
- data/lib/solovis_api_client/site.rb +92 -0
- data/lib/solovis_api_client/version.rb +3 -0
- data/solovis_api_client.gemspec +34 -0
- metadata +186 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 68eb754f78feec7009b14eaa29c41cfa3ce8a986
|
4
|
+
data.tar.gz: 8f374a22f1e98c5a7268455b5ab0d31f578e5dcf
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 57659fdd884c1a2956db02afcdcbc07e1a6105dee2d75d8f17a3f7e43fda2ce0d2a737d655fe0d6f2484030796eab26ea73bf489786a8c32b21ca64830038eb3
|
7
|
+
data.tar.gz: e4fefd2cff2dce7b9780579e89d145fd9521c55c2f13fa104311ae677b4b465bba5f26cd38798489b428aced0e7b24e3b630877f4a433e7c3a96be49463e34be
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# Ruby CircleCI 2.0 configuration file
|
2
|
+
#
|
3
|
+
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
|
4
|
+
#
|
5
|
+
version: 2
|
6
|
+
jobs:
|
7
|
+
build:
|
8
|
+
docker:
|
9
|
+
- image: circleci/ruby:2.4.1-node-browsers
|
10
|
+
working_directory: ~/solovis_api_client
|
11
|
+
steps:
|
12
|
+
- checkout
|
13
|
+
- restore_cache:
|
14
|
+
keys:
|
15
|
+
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
16
|
+
# fallback to using the latest cache if no exact match is found
|
17
|
+
- v1-dependencies-
|
18
|
+
- run:
|
19
|
+
name: Install Dependencies
|
20
|
+
command: |
|
21
|
+
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
22
|
+
- save_cache:
|
23
|
+
paths:
|
24
|
+
- ./vendor/bundle
|
25
|
+
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
26
|
+
- run:
|
27
|
+
name: Run Specs
|
28
|
+
command: |
|
29
|
+
mkdir /tmp/test-results
|
30
|
+
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
|
31
|
+
|
32
|
+
bundle exec rspec --format progress \
|
33
|
+
--format RspecJunitFormatter \
|
34
|
+
--out /tmp/test-results/rspec.xml \
|
35
|
+
--format progress \
|
36
|
+
$TEST_FILES
|
37
|
+
- store_test_results:
|
38
|
+
path: /tmp/test-results
|
39
|
+
- store_artifacts:
|
40
|
+
path: /tmp/test-results
|
41
|
+
destination: test-results
|
42
|
+
deploy:
|
43
|
+
docker:
|
44
|
+
- image: circleci/ruby:2.4.1-node-browsers
|
45
|
+
working_directory: ~/solovis_api_client
|
46
|
+
filters:
|
47
|
+
tags:
|
48
|
+
only: /.*/
|
49
|
+
branches:
|
50
|
+
ignore: /.*/
|
51
|
+
steps:
|
52
|
+
- checkout
|
53
|
+
- run:
|
54
|
+
name: Setup Rubygems
|
55
|
+
command: bash .circleci/setup-rubygems.sh
|
56
|
+
|
57
|
+
- run:
|
58
|
+
name: Publish to Rubygems
|
59
|
+
command: |
|
60
|
+
gem build solovis_api_client.gemspec
|
61
|
+
gem push "solovis_api_client-$(git describe --tags).gem"
|
62
|
+
workflows:
|
63
|
+
version: 2
|
64
|
+
build_and_deploy:
|
65
|
+
jobs:
|
66
|
+
- build
|
67
|
+
- deploy:
|
68
|
+
filters:
|
69
|
+
tags:
|
70
|
+
only: /.*/
|
71
|
+
branches:
|
72
|
+
ignore: /.*/
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
solovis_api_client (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
activesupport (5.2.1)
|
10
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
11
|
+
i18n (>= 0.7, < 2)
|
12
|
+
minitest (~> 5.1)
|
13
|
+
tzinfo (~> 1.1)
|
14
|
+
coderay (1.1.2)
|
15
|
+
concurrent-ruby (1.0.5)
|
16
|
+
diff-lcs (1.3)
|
17
|
+
faraday (0.15.3)
|
18
|
+
multipart-post (>= 1.2, < 3)
|
19
|
+
faraday_middleware (0.12.2)
|
20
|
+
faraday (>= 0.7.4, < 1.0)
|
21
|
+
i18n (1.1.1)
|
22
|
+
concurrent-ruby (~> 1.0)
|
23
|
+
jwt (2.1.0)
|
24
|
+
method_source (0.9.0)
|
25
|
+
minitest (5.11.3)
|
26
|
+
multipart-post (2.0.0)
|
27
|
+
pry (0.11.3)
|
28
|
+
coderay (~> 1.1.0)
|
29
|
+
method_source (~> 0.9.0)
|
30
|
+
rake (10.5.0)
|
31
|
+
rspec (3.8.0)
|
32
|
+
rspec-core (~> 3.8.0)
|
33
|
+
rspec-expectations (~> 3.8.0)
|
34
|
+
rspec-mocks (~> 3.8.0)
|
35
|
+
rspec-core (3.8.0)
|
36
|
+
rspec-support (~> 3.8.0)
|
37
|
+
rspec-expectations (3.8.2)
|
38
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
39
|
+
rspec-support (~> 3.8.0)
|
40
|
+
rspec-mocks (3.8.0)
|
41
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
+
rspec-support (~> 3.8.0)
|
43
|
+
rspec-support (3.8.0)
|
44
|
+
rspec_junit_formatter (0.4.1)
|
45
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
46
|
+
thread_safe (0.3.6)
|
47
|
+
tzinfo (1.2.5)
|
48
|
+
thread_safe (~> 0.1)
|
49
|
+
|
50
|
+
PLATFORMS
|
51
|
+
ruby
|
52
|
+
|
53
|
+
DEPENDENCIES
|
54
|
+
activesupport
|
55
|
+
bundler (~> 1.16)
|
56
|
+
faraday
|
57
|
+
faraday_middleware
|
58
|
+
jwt
|
59
|
+
pry
|
60
|
+
rake (~> 10.0)
|
61
|
+
rspec (~> 3.0)
|
62
|
+
rspec_junit_formatter
|
63
|
+
solovis_api_client!
|
64
|
+
|
65
|
+
BUNDLED WITH
|
66
|
+
1.16.6
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# SolovisApiClient
|
2
|
+
|
3
|
+
An API client to communicate with the Solovis API.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
The SolovisApiClient gem is included in the [main Synap app](https://github.com/synap-collaboration/animated-ninja) (`animated-ninja`).
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'solovis_api_client'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install solovis_api_client
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
Create an API client by instantiating `SolovisApiClient::Base`, passing the Solovis environment's URL and a corresponding API key, formatted as `api_key__api_secret`
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
client = SolovisApiClient::Base.new(url: 'https://synap-demo.gateway.solovis.com', api_key: 'my-api-key__my-api-secret');
|
29
|
+
```
|
30
|
+
|
31
|
+
## Development
|
32
|
+
|
33
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
34
|
+
|
35
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
36
|
+
|
37
|
+
## Contributing
|
38
|
+
|
39
|
+
Built by [Synap](https://www.getsynap.com)
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "solovis_api_client"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require "solovis_api_client/version"
|
2
|
+
require "solovis_api_client/base"
|
3
|
+
require "solovis_api_client/site"
|
4
|
+
require "solovis_api_client/connection"
|
5
|
+
require "solovis_api_client/config"
|
6
|
+
|
7
|
+
module SolovisApiClient
|
8
|
+
def self.config
|
9
|
+
SolovisApiClient::Config.instance
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
class SolovisApiClient::Base
|
2
|
+
attr_reader :site
|
3
|
+
|
4
|
+
def initialize(options = {})
|
5
|
+
config.add(:url, options[:url])
|
6
|
+
config.add(:api_key, options[:api_key])
|
7
|
+
end
|
8
|
+
|
9
|
+
def config
|
10
|
+
SolovisApiClient.config
|
11
|
+
end
|
12
|
+
|
13
|
+
def connection
|
14
|
+
SolovisApiClient::Connection.new.rpc_connection
|
15
|
+
end
|
16
|
+
|
17
|
+
def site
|
18
|
+
@site ||= SolovisApiClient::Site.new(self)
|
19
|
+
end
|
20
|
+
|
21
|
+
def rpc_invoke(uri_path, message)
|
22
|
+
response = connection.post do |req|
|
23
|
+
req.headers["Content-Type"] = "x-post-rpc/json"
|
24
|
+
req.headers["Content-Encoding"] = "utf-8"
|
25
|
+
req.url uri_path
|
26
|
+
req.body = message.to_json
|
27
|
+
end
|
28
|
+
body = response.body
|
29
|
+
if body["result"]
|
30
|
+
return body
|
31
|
+
elsif body["error"]
|
32
|
+
raise RuntimeError.new(body["error"])
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'singleton'
|
2
|
+
|
3
|
+
class SolovisApiClient::Config
|
4
|
+
include Singleton
|
5
|
+
|
6
|
+
attr_accessor :configs
|
7
|
+
|
8
|
+
def initialize
|
9
|
+
@configs = {}
|
10
|
+
end
|
11
|
+
|
12
|
+
def add(key, value)
|
13
|
+
@configs[key] = value
|
14
|
+
end
|
15
|
+
|
16
|
+
def url
|
17
|
+
@configs[:url]
|
18
|
+
end
|
19
|
+
|
20
|
+
def api_key
|
21
|
+
@configs[:api_key]
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'jwt'
|
2
|
+
require 'faraday'
|
3
|
+
require 'faraday_middleware'
|
4
|
+
|
5
|
+
require 'active_support'
|
6
|
+
require 'active_support/core_ext/numeric/time'
|
7
|
+
|
8
|
+
class SolovisApiClient::Connection
|
9
|
+
def rpc_connection
|
10
|
+
Faraday.new(SolovisApiClient.config.url) do |conn|
|
11
|
+
conn.authorization :Bearer, bearer_token_jwt.to_s
|
12
|
+
conn.request :json
|
13
|
+
conn.response :json, :content_type => /\bjson$/
|
14
|
+
|
15
|
+
conn.adapter Faraday.default_adapter
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
def bearer_token_jwt
|
22
|
+
api_key_id, api_key_secret = SolovisApiClient.config.api_key.split("__", 2)
|
23
|
+
unless api_key_id && api_key_secret
|
24
|
+
raise "invalid api_key; must contain a __ to split"
|
25
|
+
end
|
26
|
+
|
27
|
+
not_before = Time.now
|
28
|
+
expires = not_before + 10.minutes
|
29
|
+
claims = {
|
30
|
+
'solovis-key-id' => api_key_id, # Solovis specific claim
|
31
|
+
'iss' => 'solovis-client', # issuer claim
|
32
|
+
'aud' => 'solovis-platform', # audience claim
|
33
|
+
'exp' => expires.to_i, # expires
|
34
|
+
'nbf' => not_before.to_i, # not-before
|
35
|
+
}
|
36
|
+
|
37
|
+
token = JWT.encode(claims, api_key_secret, 'HS256')
|
38
|
+
token
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
class SolovisApiClient::Site
|
2
|
+
attr_accessor :client, :model_environment
|
3
|
+
|
4
|
+
def initialize(client)
|
5
|
+
@client = client
|
6
|
+
populate
|
7
|
+
end
|
8
|
+
|
9
|
+
def set_value(property_definition_id, resource_id, new_value)
|
10
|
+
params = {
|
11
|
+
valuesToEdit: [
|
12
|
+
{
|
13
|
+
propertyDefinitionId: property_definition_id,
|
14
|
+
values: [new_value.to_s],
|
15
|
+
fromDayId: 0,
|
16
|
+
resourceId: resource_id
|
17
|
+
}
|
18
|
+
]
|
19
|
+
}
|
20
|
+
client.rpc_invoke('/Rpc/PropertyEdit/SetValues', params)
|
21
|
+
end
|
22
|
+
|
23
|
+
def get_value(property_definition_id, resource_id)
|
24
|
+
fields_for_entity(resource_id)[property_definition_id]
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def get_data_source(report, options)
|
30
|
+
client.rpc_invoke("/Rpc/DataSource/LoadDataSet", {path: report, options: options})
|
31
|
+
end
|
32
|
+
|
33
|
+
def fields_for_entity(resource_id = nil)
|
34
|
+
result = get_data_source('/Solovis/Metadata/ResourcePropertyValues', { resourceIdList: [resource_id] })
|
35
|
+
fields_hash = {}
|
36
|
+
result["result"]["dataSet"]["propertyValues"].each do |pv|
|
37
|
+
fields_hash[pv["propertyDefinitionId"]] = pv["valueStrings"]
|
38
|
+
end
|
39
|
+
fields_hash
|
40
|
+
end
|
41
|
+
|
42
|
+
def populate
|
43
|
+
@model_environment = get_data_source('/Solovis/Metadata/ModelEnvironment', model_environment_options).dig('result', 'dataSet', 'modelEnvironment')
|
44
|
+
end
|
45
|
+
|
46
|
+
def model_environment_options
|
47
|
+
{
|
48
|
+
#currencyOptions: {
|
49
|
+
# loadAll: null , # System.Boolean */,
|
50
|
+
# loadReferencedCurrencies: null , # System.Boolean */,
|
51
|
+
# currencyIdsToLoad: [],
|
52
|
+
# loadConnectedCurrencyPairs: null , # System.Boolean */
|
53
|
+
#},
|
54
|
+
#assetOptions: {
|
55
|
+
# trueOwnerIds: [],
|
56
|
+
# resourceIdsToLoad: []
|
57
|
+
#},
|
58
|
+
entityOptions: {
|
59
|
+
#entityIdsToLoad: [],
|
60
|
+
loadAll: true , # System.Boolean */,
|
61
|
+
#loadIfConnectedToLoadedInvestment: null , # System.Boolean */,
|
62
|
+
loadTrueOwners: true, # System.Boolean */,
|
63
|
+
includeLabel: true, # System.Boolean */,
|
64
|
+
includeCode: true, # System.Boolean */,
|
65
|
+
specialEntityDataOptions: {
|
66
|
+
includeAll: true, # System.Boolean */
|
67
|
+
}
|
68
|
+
},
|
69
|
+
investmentOptions: {
|
70
|
+
#investmentIdsToLoad: [],
|
71
|
+
#includeIfConnectedToEntityIds: [],
|
72
|
+
loadAll: true, # System.Boolean */,
|
73
|
+
includeLabel: true, # System.Boolean */,
|
74
|
+
includeCode: true, # System.Boolean */
|
75
|
+
},
|
76
|
+
#exposureProfileOptions: {
|
77
|
+
# loadAll: null , # System.Boolean */
|
78
|
+
#},
|
79
|
+
propertyDefinitionOptions: {
|
80
|
+
#propertyDefinitionIdsToLoad: [],
|
81
|
+
#propertyDefinitionCodesToLoad: [],
|
82
|
+
loadAll: true, # System.Boolean */
|
83
|
+
},
|
84
|
+
tagSetOptions: {
|
85
|
+
#tagSetIdsToLoad: [],
|
86
|
+
#loadTagSetsForProperties: null , # System.Boolean */,
|
87
|
+
#loadTagSetsForExposureProfiles: null , # System.Boolean */,
|
88
|
+
loadAll: true, # System.Boolean */
|
89
|
+
}
|
90
|
+
}
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "solovis_api_client/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "solovis_api_client"
|
8
|
+
spec.version = SolovisApiClient::VERSION
|
9
|
+
spec.authors = ["Synap"]
|
10
|
+
spec.email = ["ricardo@getsynap.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{A client to interact with Solovis's API, built for use with Synap}
|
13
|
+
spec.description = %q{A client to interact with Solovis's API, built for use with Synap}
|
14
|
+
spec.homepage = "https://getsynap.com"
|
15
|
+
|
16
|
+
# Specify which files should be added to the gem when it is released.
|
17
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
19
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
end
|
21
|
+
spec.bindir = "exe"
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ["lib"]
|
24
|
+
|
25
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
26
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
28
|
+
spec.add_development_dependency "pry"
|
29
|
+
spec.add_development_dependency "jwt"
|
30
|
+
spec.add_development_dependency "faraday"
|
31
|
+
spec.add_development_dependency "faraday_middleware"
|
32
|
+
spec.add_development_dependency "activesupport"
|
33
|
+
spec.add_development_dependency "rspec_junit_formatter"
|
34
|
+
end
|
metadata
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: solovis_api_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Synap
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-10-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.16'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jwt
|
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: faraday
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: faraday_middleware
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: activesupport
|
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: rspec_junit_formatter
|
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
|
+
description: A client to interact with Solovis's API, built for use with Synap
|
140
|
+
email:
|
141
|
+
- ricardo@getsynap.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".circleci/config.yml"
|
147
|
+
- ".circleci/setup-rubygems.sh"
|
148
|
+
- ".gitignore"
|
149
|
+
- ".rspec"
|
150
|
+
- Gemfile
|
151
|
+
- Gemfile.lock
|
152
|
+
- README.md
|
153
|
+
- Rakefile
|
154
|
+
- bin/console
|
155
|
+
- bin/setup
|
156
|
+
- lib/solovis_api_client.rb
|
157
|
+
- lib/solovis_api_client/base.rb
|
158
|
+
- lib/solovis_api_client/config.rb
|
159
|
+
- lib/solovis_api_client/connection.rb
|
160
|
+
- lib/solovis_api_client/site.rb
|
161
|
+
- lib/solovis_api_client/version.rb
|
162
|
+
- solovis_api_client.gemspec
|
163
|
+
homepage: https://getsynap.com
|
164
|
+
licenses: []
|
165
|
+
metadata: {}
|
166
|
+
post_install_message:
|
167
|
+
rdoc_options: []
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
requirements: []
|
181
|
+
rubyforge_project:
|
182
|
+
rubygems_version: 2.6.13
|
183
|
+
signing_key:
|
184
|
+
specification_version: 4
|
185
|
+
summary: A client to interact with Solovis's API, built for use with Synap
|
186
|
+
test_files: []
|