webspicy 0.8.2 → 0.8.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: 307186390914fac502fb560054045ff9936bfd84
4
- data.tar.gz: 8d8e2493375de6c5273fb19d57819581665e2ac9
3
+ metadata.gz: ce670706ba555bb3edf4ba23d469bde15dcd33ee
4
+ data.tar.gz: 12711a20555b10b0e20503da6a815c95d85bab6c
5
5
  SHA512:
6
- metadata.gz: 0c902c091f409e70587947564b458e0d0090275c6d908b4bc57440a15c0c7c382a6bb8996a31302f23ca1c0504f4c28de44792d07c80bd76c8509f07230cac13
7
- data.tar.gz: b0d2bef54001b8d1c6ef8218265b8567309c71cd88302ac09193a714e50e9a9d4e1e04b2e52ddb634b87e8d0035745eb715a4b4f4249a229bf2f199b6c5c52ae
6
+ metadata.gz: f7685c29ebfb2f25736bc110823550cfa3de86ebb903f107e45bd8a89cbe6687e15b2e88284cd7f857ed3735c072d0faae4515d0625a4b95a5bd5b9dcb150d2c
7
+ data.tar.gz: ee5981c3bf710146258d5d457bc108779fa00f86ba65c19f67f95090b9b7988213b5219122e88f26fd4ecb5be3274ee23d75eea742fe2d9620008343f0656a40
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- webspicy (0.8.2)
4
+ webspicy (0.8.3)
5
5
  finitio (~> 0.5.2)
6
6
  http (~> 2)
7
7
  path (~> 1.3)
@@ -1,6 +1,17 @@
1
1
  module Webspicy
2
2
  class HttpClient < Client
3
3
 
4
+ class ::HTTP::Request
5
+
6
+ # We monkey patch the URI normalization on Http because
7
+ # we don't want it to interfere with URIs that are encoded
8
+ # in tests, especially security tests.
9
+ def normalize_uri(uri)
10
+ uri
11
+ end
12
+
13
+ end # class ::HTTP::Request
14
+
4
15
  def initialize(scope)
5
16
  super(scope)
6
17
  @api = Api.new
@@ -2,7 +2,7 @@ module Webspicy
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 8
5
- TINY = 2
5
+ TINY = 3
6
6
  end
7
7
  VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::TINY}"
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webspicy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernard Lambeau