lucid_http 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lucid_http/version.rb +1 -1
- data/lib/lucid_http.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74f836fcd8a183eec3da71acd42f6a4abfc0235d
|
4
|
+
data.tar.gz: 64192d3095ac550f30b1701b67dee609d58e753a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6faba6a3e9411da23428f03567bfd6cff7f39f69a12450f23d483ce2ea18a5923a8b92fb6a8cbf4b5df2bda7e6165ef7d50e35e5de079620808eba83191c822
|
7
|
+
data.tar.gz: 3b6c9f20ccc0295671697fa1b94ee418468b480b51e12286cedd85ecb587b9d79c54122fc5e65881ae7f0c41ed7c84b8671ae4f77fa0350089a870c663a83735
|
data/lib/lucid_http/version.rb
CHANGED
data/lib/lucid_http.rb
CHANGED
@@ -73,7 +73,7 @@ def error
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
%i[get post put patch delete].each do |verb|
|
76
|
+
%i[get post put patch delete head options].each do |verb|
|
77
77
|
define_method(verb.upcase) do |url, **opts|
|
78
78
|
__lucid_http__setup(url, action: verb, **opts)
|
79
79
|
new_body = case status.to_i
|