healtcheck_proxy_client 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32c146e5e3c1f6d2151d53887d942e71cf2a1322a53f96bb263aba8caa84f249
4
- data.tar.gz: 79f1f6f8bd2472aa93d4275487ee8aa7fa0d6f4bf6fd5d94d340ffabec304ab5
3
+ metadata.gz: 1fcccc05faf0e5a7df60ea44fa3ddf6650101c8dc1ebeba1dc01002d720c712f
4
+ data.tar.gz: c4e3afa5d8b7853ffc1ae53321d1d461cf0d0e52361c7514d2dfa42e261e1792
5
5
  SHA512:
6
- metadata.gz: b898991e7285b10699831a4e69109856204e6408335c1fca6a64a0245c487624dfa5ba279ab5c06551e3a7702f53a9558002605d467a115cd43d80d18ed1937b
7
- data.tar.gz: '08686ce6fb92124f0aa6908e6390c355a2b167f4bf01d5bd77bbaac24393b460a1ae13c7ffb76b23429258e0f6c11954e5df4d561bd3a89606eca92c3a5c0f9a'
6
+ metadata.gz: 7298b242787327448e65711ceb2702c3a4168febafa8d0a0e2fa25ec64b1defafb3d86ba9c1b76f4441166a35ad06b8df6c143d8f0720a02c827b7c0c51df63f
7
+ data.tar.gz: 1f2cdcfdeac351992c64da71bf4e87b2f9e28647f6dd7299d097d424733a016c067fd0cb78511af81d57ccdfbb11d649fc9481ddf9bb95e6d66d38771c938105
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- healtcheck_proxy_client (0.1.0)
5
- faraday (~> 0.15)
4
+ healtcheck_proxy_client (0.2.0)
5
+ faraday (~> 0.10)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -36,4 +36,4 @@ DEPENDENCIES
36
36
  rspec (~> 3.0)
37
37
 
38
38
  BUNDLED WITH
39
- 1.16.0
39
+ 1.16.1
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
- # HealtcheckProxyClient
1
+ # Healthcheck Proxy Ruby Client
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/healtcheck_proxy_client`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ This is a small wrapper for the healthcheck ruby API.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
5
 
7
6
  ## Installation
8
7
 
@@ -22,7 +21,14 @@ Or install it yourself as:
22
21
 
23
22
  ## Usage
24
23
 
25
- TODO: Write usage instructions here
24
+ Create an initialiser in your rails app like this:
25
+
26
+ ```
27
+ HealtcheckProxyClient.configure do |config|
28
+ config.endpoint = "https://trivago-healthcheck-proxy.herokuapp.com"
29
+ config.api_key = "foobar"
30
+ end
31
+ ```
26
32
 
27
33
  ## Development
28
34
 
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_runtime_dependency "faraday", '~> 0.15'
24
+ spec.add_runtime_dependency "faraday", '~> 0.10'
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 1.16"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
@@ -1,3 +1,3 @@
1
1
  module HealtcheckProxyClient
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: healtcheck_proxy_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hendrik Kleinwaechter
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.15'
19
+ version: '0.10'
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: '0.15'
26
+ version: '0.10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement