songdrop 0.1.19 → 0.1.20

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: 9fe257ec7d597936c763e33dbba6abc3d2bad623
4
- data.tar.gz: c4cab8322e749dd1b27cf9c0dd3887f562213998
3
+ metadata.gz: 1ca41f41675b3373769113651b0fe6aa174be27c
4
+ data.tar.gz: 3f67c021aa55f32002b8a85dedd33e456befb11f
5
5
  SHA512:
6
- metadata.gz: 8bbffb0f688f815b37c67934455e5953a5dca35b3e450195955355834b248e32a09a79a5d724402a6c6d9524e1b4e0c9ac2bb2a9ba2ade92c708c05ab9cda359
7
- data.tar.gz: 3c00703b0262dacf1a63355c1470d4fb1ae7438e8c612924d5a668b76ef6a26e3859def689822717328ba92c61c5e5efd068764365a71fa9e960ac4b299ee893
6
+ metadata.gz: d0dc8745b498bb67584a3bcbbebff9ff9d0f3d14c29b7f8247f7461249e22f55d475c08c99c8eee0cdf116e0f54dfe59d6e362326cfd8e89c3781942e18d1b76
7
+ data.tar.gz: 3528ab259a3d72ea76660f9197c4c36c8bd1fcfbae05d3b09e4ec308539bb3a441f844334ffebfe6a9fe134b1ad4cc806254c47541c2c05714ed3c4b37a7bc27
@@ -25,9 +25,9 @@ module Songdrop
25
25
 
26
26
  BubbleWrap::HTTP.send(method, url, bw_options) do |response|
27
27
  if response.ok?
28
- block.call response.body.to_str, nil
28
+ block.call response.body.to_str, response.headers, nil
29
29
  else
30
- block.call nil, response.body.to_str
30
+ block.call nil, response.headers, response.body.to_str
31
31
  end
32
32
  end
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: songdrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor