footrest 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/footrest/request.rb +4 -0
- data/lib/footrest/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e1edaefd5d1a604cc0bce710c44e6a8cd7757b31f32950a5de5b637755c2f31
|
4
|
+
data.tar.gz: 61022350f362ef8cc04f1a8ec83c9e21645d314bac12b67984b234cd6b53570c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d589575e6b52848baf5af15e0027111826343f6bbd596d7e1b142a0f5108618a09ad422e5720e23950f7d9743e1d6d511a551ef4d8e519cf03ec5332b8590c85
|
7
|
+
data.tar.gz: 605dec8ec1e209bc6d685a70a8f18f0be7ca2baf202aa11ff7f867e7ec45a0f440b1549271a61d18629a2de0f99eedd188d8ea622a99cc134293fdb27d702b15
|
data/lib/footrest/request.rb
CHANGED
@@ -21,6 +21,10 @@ module Footrest
|
|
21
21
|
request_with_params_in_body(:put, path, options)
|
22
22
|
end
|
23
23
|
|
24
|
+
def patch(path, options={})
|
25
|
+
request_with_params_in_body(:patch, path, options)
|
26
|
+
end
|
27
|
+
|
24
28
|
def request_with_params_in_url(method, path, options)
|
25
29
|
request(method) do |r|
|
26
30
|
r.url(fullpath(path), options)
|
data/lib/footrest/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: footrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Duane Johnson
|
8
8
|
- Nathan Mills
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-08-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -192,7 +192,7 @@ homepage: https://github.com/instructure/footrest
|
|
192
192
|
licenses:
|
193
193
|
- MIT
|
194
194
|
metadata: {}
|
195
|
-
post_install_message:
|
195
|
+
post_install_message:
|
196
196
|
rdoc_options: []
|
197
197
|
require_paths:
|
198
198
|
- lib
|
@@ -207,13 +207,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
|
-
rubygems_version: 3.
|
211
|
-
signing_key:
|
210
|
+
rubygems_version: 3.5.4
|
211
|
+
signing_key:
|
212
212
|
specification_version: 4
|
213
213
|
summary: REST APIs
|
214
214
|
test_files:
|
215
|
-
- spec/footrest/http_error_spec.rb
|
216
215
|
- spec/footrest/client_spec.rb
|
217
|
-
- spec/footrest/
|
216
|
+
- spec/footrest/http_error_spec.rb
|
218
217
|
- spec/footrest/pagination_spec.rb
|
218
|
+
- spec/footrest/request_spec.rb
|
219
219
|
- spec/spec_helper.rb
|