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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 968495656167e6aaa1f4eff684bc443ce0ecbb496ca08d284b45e150a4e936cb
4
- data.tar.gz: a8b50fb742eb80e4b6457ed45cb12e4d78e0eaf9a6d16ac20fcd3f7a4de172d6
3
+ metadata.gz: 6e1edaefd5d1a604cc0bce710c44e6a8cd7757b31f32950a5de5b637755c2f31
4
+ data.tar.gz: 61022350f362ef8cc04f1a8ec83c9e21645d314bac12b67984b234cd6b53570c
5
5
  SHA512:
6
- metadata.gz: 9780495420710ac46734287437553e257ea2fb4c7df9247703efd0c60b73d090351f6e5f1bb41150b98aa4b856594d562d0d50aa663ed3f7a07aaff7de97869b
7
- data.tar.gz: 5d053606a8b9a18fc6d0104966cd2f9c60a695e241295dc564c54629dcde63a38582f12d816137fdc2041ecb460895bdc8667ae608d8a487d9a5a1f0020333ce
6
+ metadata.gz: d589575e6b52848baf5af15e0027111826343f6bbd596d7e1b142a0f5108618a09ad422e5720e23950f7d9743e1d6d511a551ef4d8e519cf03ec5332b8590c85
7
+ data.tar.gz: 605dec8ec1e209bc6d685a70a8f18f0be7ca2baf202aa11ff7f867e7ec45a0f440b1549271a61d18629a2de0f99eedd188d8ea622a99cc134293fdb27d702b15
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Footrest
2
- VERSION = '0.5.7' unless defined?(Footrest::VERSION)
2
+ VERSION = '0.5.8' unless defined?(Footrest::VERSION)
3
3
  end
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.7
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-04-10 00:00:00.000000000 Z
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.1.6
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/request_spec.rb
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