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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d50a39cf7a043cecb6161f1bbedf343697cf31b5
4
- data.tar.gz: 6bc3521ad69b60348601a85622b5c6b8b3e14825
3
+ metadata.gz: 74f836fcd8a183eec3da71acd42f6a4abfc0235d
4
+ data.tar.gz: 64192d3095ac550f30b1701b67dee609d58e753a
5
5
  SHA512:
6
- metadata.gz: 17723a2514b88919984296e86bce7c7040f014a4c05dbc95352e49c09c67d3c79065991f80d6f2435e244e19f942689616af5aa85e7fba2b338f990a1abe1466
7
- data.tar.gz: 367e0238a8b8da4a419874ff1ee6b78bd1776cff8fcc1ce77337bb89435a22ade517d2ce3578a5203a61959152d1089ac9d6db40114709e35fbe461e9655537a
6
+ metadata.gz: d6faba6a3e9411da23428f03567bfd6cff7f39f69a12450f23d483ce2ea18a5923a8b92fb6a8cbf4b5df2bda7e6165ef7d50e35e5de079620808eba83191c822
7
+ data.tar.gz: 3b6c9f20ccc0295671697fa1b94ee418468b480b51e12286cedd85ecb587b9d79c54122fc5e65881ae7f0c41ed7c84b8671ae4f77fa0350089a870c663a83735
@@ -1,3 +1,3 @@
1
1
  module LucidHttp
2
- VERSION = "0.9.0"
2
+ VERSION = "0.10.0"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucid_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti