glimr-api-client 0.2.3 → 0.2.4

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
  SHA1:
3
- metadata.gz: f2a465b55c349f163e7ed0c3a1c1615e79f81cd4
4
- data.tar.gz: 946d139aa937ee74cb839b751a45d36d0fb11328
3
+ metadata.gz: 7f0fab32d65bceb85478c42d25d708be7a828877
4
+ data.tar.gz: 500efa86ddf1c3c125339577e38a9b2e6b8e228c
5
5
  SHA512:
6
- metadata.gz: 22dd47ac86558090a6110a34d12a83e5fde8bfcb683d4a2bd1b667bf7645ae7461a77ee03792def2adcec3669ea7be2277e88d17cb71bc783f55ab101bc2f163
7
- data.tar.gz: bd3f2a0deaa3702e5481a666b927d4ca0e887f5999760016aa0065fcae10ed41097874dc0f60202c46131da2a2cffc661e1e788e55782335b759251c14cb5b4f
6
+ metadata.gz: ff8a5075972da215af4d15837cea074989ec3054338b61a9017c5022acacc7c99ba5b5645a07376f9198139a0f75dd38e837a722717c1b391f49f54e95b6171d
7
+ data.tar.gz: 981204f7a2da494acff182198933c6e84a0dcdbd262e4d05d38be5413caabd39f5fc1057cdfe6d3b38af7302abcfc81a4a83d612d49b2562d17665b31d875287
@@ -9,7 +9,7 @@ module GlimrApiClient
9
9
  # DO NOT SET THIS ENV VAR IN PRODUCTION - we should not be logging
10
10
  # this sensitive user data from the live service.
11
11
  def post
12
- puts "GLIMR POST: #{request_body.to_json}" if ENV.key?('GLIMR_API_DEBUG')
12
+ puts "GLIMR POST: #{endpoint} - #{request_body.to_json}" if ENV.key?('GLIMR_API_DEBUG')
13
13
  client("#{api_url}#{endpoint}").post(body: request_body.to_json).tap { |resp|
14
14
  handle_response_errors(resp) if (400..599).cover?(resp.status)
15
15
  puts "GLIMR RESPONSE: #{resp.body}" if ENV.key?('GLIMR_API_DEBUG')
@@ -1,3 +1,3 @@
1
1
  module GlimrApiClient
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimr-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Tyree
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler