lhc 3.7.1 → 3.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lhc/endpoint.rb +2 -2
- data/lib/lhc/request.rb +1 -1
- data/lib/lhc/response/data.rb +1 -0
- data/lib/lhc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 397933f597d9cf158be45317b4aba6295ffdb896
|
4
|
+
data.tar.gz: a6b9cd7bae4b181b5180f45d89939cd28d517cba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1deac3be083e59de5617b25b0dd8c6e5c59c571b4abaa54f7b9458ea5175c0726c7f8080ca14c5d95491a53b18eb7f78338d883a48e3c351f4124f89598a031d
|
7
|
+
data.tar.gz: d002a91dc88a7fe83f110874ba1dd299c6640e042a13090461b6e38e2c272788d68d341fa76795ea8ec60d5f52a1724d90a9f745be8ff717a2ca9cad13c4264e
|
data/lib/lhc/endpoint.rb
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
# The url can also be an url-template.
|
3
3
|
class LHC::Endpoint
|
4
4
|
|
5
|
-
PLACEHOLDER
|
6
|
-
ANYTHING_BUT_SINGLE_SLASH_AND_DOT
|
5
|
+
PLACEHOLDER ||= %r{:[^\/\.:;\d\&]+}
|
6
|
+
ANYTHING_BUT_SINGLE_SLASH_AND_DOT ||= '([^\/\.]|\/\/)+'.freeze
|
7
7
|
|
8
8
|
attr_accessor :url, :options
|
9
9
|
|
data/lib/lhc/request.rb
CHANGED
@@ -7,7 +7,7 @@ require 'active_support/core_ext/object/deep_dup'
|
|
7
7
|
# and it communicates with interceptors.
|
8
8
|
class LHC::Request
|
9
9
|
|
10
|
-
TYPHOEUS_OPTIONS
|
10
|
+
TYPHOEUS_OPTIONS ||= [:params, :method, :body, :headers, :follow_location]
|
11
11
|
|
12
12
|
attr_accessor :response, :options, :raw, :format, :error_handler
|
13
13
|
|
data/lib/lhc/response/data.rb
CHANGED
data/lib/lhc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lhc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- local.ch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|