rack-request_replication 0.1.2 → 0.1.3

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: 67e1924221a07e4198b2b44a035d2c0a25404c30
4
- data.tar.gz: 2b828c7b292629ee757ab2028ff7d7571c0d0545
3
+ metadata.gz: 4d25517c39a0513f9daab7c9f90bf24382974c08
4
+ data.tar.gz: d534c1b60e433347a4488144b64ac8f26eeefa40
5
5
  SHA512:
6
- metadata.gz: 14911f9384c7b0f69db66075f2cf268c04051d882426219ab28272bdbfa04c5bda1760fc4975277935bfd864960e670aad8c78b59871c595814414306a9052b9
7
- data.tar.gz: 3fcf4cb6242c75e1ea6d0029fec4beb88d76748f4142436121636db654d1025dbf91e732d948575ad62216de72876e7c9d1dc5aa219834c26a5dfb890fc70041
6
+ metadata.gz: 0291e0558590cb8f6fa162370962659c1a3a52a9214853c0fec6f8a0c192611306f666b04fa28c44274ee149b5ac1bccd9ce080051c7e4d314dbaf3c88ecd802
7
+ data.tar.gz: b71351c30606ff5ca4a454f2525645a4b9a84f55ce14d0dea363fa3a2b180a2fb76257d21b4aae7796531e7791d6961fadbf51c26f71a6b35c534f6115f1d0e7
@@ -279,6 +279,19 @@ module Rack
279
279
  Net::HTTP::Options.new uri.request_uri
280
280
  end
281
281
 
282
+ ##
283
+ # Prepare a PROPFIND request to the forward app.
284
+ #
285
+ # The passed in options hash is ignored.
286
+ #
287
+ # @param [URI] uri
288
+ # @param [Hash{Symbol => Object}] opts ({})
289
+ # @returns [Net:HTTP::Options]
290
+ #
291
+ def create_propfind_request( uri, opts = {} )
292
+ Net::HTTP::Propfind.new uri.request_uri
293
+ end
294
+
282
295
  ##
283
296
  # Replicates all the options and data that was in
284
297
  # the original request and puts them in a Hash.
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module RequestReplication
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-request_replication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wouter de Vos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-30 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler