pebblebed 0.4.5 → 0.4.6

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: b77ea379a0a884f6e13e530961afab91960616ca
4
- data.tar.gz: a70fab9d2ca8deb1e7f7f954bd1036168275b0e2
3
+ metadata.gz: 1dd34d36113e5aeb7a5126f1f6e38c254316cf3f
4
+ data.tar.gz: 81eab83c979cefcb30e81139d25675f5b0a31ef7
5
5
  SHA512:
6
- metadata.gz: 887dae8ff2d45d10b6c45b9912db62d07704e28a3096c439b7e6e18c267d86b7a6a2cd1df7d216516e61d8c74e19aa4a567dc5e739909cdf146878ae06109f52
7
- data.tar.gz: e6690cbbe7984a246cb43a4baf561887023ac7958c7ce046555e01104537c47974ef65fa13b2662dc97840704935ed756000799d78b882cdab3cde09207bb338
6
+ metadata.gz: 9bd07609f837a893ac5f8b2b7df36a42042fe6daceb92cd5fc9cede78445856be961643515de80f410105934de63b5b7f0070775df9199c4b1e958e718a1833a
7
+ data.tar.gz: 4a0b10b1bb16ea62c8e267ea836ae87ed897266fef2751b5ca36545891ac19bfe0fc8a1e6e3926e96d1b07c718c1c03aa5ab2a1ba29ef8c4002879b82041e367
@@ -128,10 +128,16 @@ module Pebblebed
128
128
 
129
129
  def self.delete(url, params, &block)
130
130
  url, params, query = url_and_params_from_args(url, params, &block)
131
+ content_type, body = serialize_params(params)
131
132
  return do_request(url) { |connection|
132
133
  connection.delete(
133
134
  :host => url.host,
134
135
  :path => url.path,
136
+ :headers => {
137
+ 'Accept' => 'application/json',
138
+ 'Content-Type' => content_type
139
+ },
140
+ :body => body,
135
141
  :query => query,
136
142
  :persistent => true
137
143
  )
@@ -1,3 +1,3 @@
1
1
  module Pebblebed
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pebblebed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-04 00:00:00.000000000 Z
12
+ date: 2018-04-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec