spaceborne 0.1.17 → 0.1.18

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
  SHA1:
3
- metadata.gz: 84043a3d1e6cddd02e71ee2340b4b8276fb2626f
4
- data.tar.gz: 63a42e8122fd94267b40ebe3a0bfed08a5affcb4
3
+ metadata.gz: c5b4c72798174a5029aa6196647a660d7e54cb66
4
+ data.tar.gz: 129182edd0bbdb187b17dbd84188300c1b817a43
5
5
  SHA512:
6
- metadata.gz: 49fd4045a2dad5ddde7ff27b4b4d8cd50647d555078a749c5c8e9ad90cfcb12200c54119b84c106694f6222b0566c10345ca375d1bccbaf5ca7b054ad320d1dd
7
- data.tar.gz: 976ebdc9b0966b3068f696bd0c4db2372bf5f0a9963ad229c5d929a7fdb533ce73df2daf0b6611bbaea0a7ec552c23a2f56c16932206c03246b9046857615aa2
6
+ metadata.gz: 6ddc6c9b2e839e7598c87c180fd5eaa2eb79f6072d9b534c5d2a859305bcaf411f0d52abb4e8eadb160515d733e47a7a5e26beff97ca50cfbce307ec6833a9af
7
+ data.tar.gz: 11300c0550ed4fe180679cb3bf3d94ac24bf98f7a22d4a28c9440421245087326dba5227b87dfbfcf6c6a2caf1ad4039af60cd283fd038cd5d9532562b7b0945
@@ -41,7 +41,7 @@ module Spaceborne
41
41
  str
42
42
  end
43
43
 
44
- def request_info(str = '')
44
+ def request_info(str = "\n")
45
45
  str << add_time << add_request << add_response
46
46
  str
47
47
  end
@@ -50,7 +50,7 @@ module Spaceborne
50
50
  yield
51
51
  rescue Exception => e
52
52
  raise e unless response
53
- puts request_info
53
+ e.message << request_info
54
54
  raise e
55
55
  end
56
56
  end
@@ -121,9 +121,8 @@ module Airborne
121
121
  local_options = split_options(options)
122
122
  handle_proxy(options, local_options)
123
123
  hdrs = calc_headers(options, local_options)
124
- send_restclient(method, get_url(url),
125
- @request_body =
126
- calc_body(options, local_options), hdrs)
124
+ @request_body = calc_body(options, local_options)
125
+ send_restclient(method, get_url(url), @request_body, hdrs)
127
126
  rescue RestClient::Exception => e
128
127
  e.response
129
128
  end
@@ -1,3 +1,3 @@
1
1
  module Spaceborne
2
- VERSION = '0.1.17'.freeze
2
+ VERSION = '0.1.18'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaceborne
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Williams
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-20 00:00:00.000000000 Z
11
+ date: 2018-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport