setsuzoku 0.14.6 → 0.14.7

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: 9e8e7e3727f9c6f55d217d5f6945aaf9b0dd70e1e7623df1bff9ce401bfe895c
4
- data.tar.gz: 7ec126f92ad83120308ce9656c4b7b71c37c2bfe9f984a49b733a3f4337652f4
3
+ metadata.gz: 94e8464b496fff97456f77bb72035b9b1f2c1558a6a4c92302c220207ed14021
4
+ data.tar.gz: 4c20493a750c35ea9cbf6acf329fc690ae1e04a0a5a64900ded4901e1ba0bc13
5
5
  SHA512:
6
- metadata.gz: 01a75e9f454f3f9bf3f2527e05aee8655d03ce29a5cb4c7fca264bbfb98cc16e95a8f5b1a18c645f2c77fd5fd92482b98ac33fd18be12271b073e8c64e8c059c
7
- data.tar.gz: 3418e1e71f783fa0c5161cbd2ef9a7633ead4f5a8c4c1195c933b7c80ae691eb1f2b0df85eca7af9e750761cb56c919c97cbfa2ed4fc43e4750220c0a618734c
6
+ metadata.gz: 269c26f65fc71ab2e1222e46f9be9f980247036f273e4d8993fc0566298ed9ff38d6b6864f82ab4b6df676450d134857a08f08a7b9dfcb48565a490ed26a1f3d
7
+ data.tar.gz: 5280e3569f586980bfa2eacbfafb8b9ca15c612805279e3a4c8e6591d5f3d8afc2f0b0f5c484aee3ff05906f9d5d74f308c1967a4ec439e4ffb08fcb8c96491c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- setsuzoku (0.14.6)
4
+ setsuzoku (0.14.7)
5
5
  activesupport (>= 5.0, < 7)
6
6
  faraday (~> 0.11)
7
7
  nokogiri (~> 1.10)
@@ -10,7 +10,7 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (6.1.4)
13
+ activesupport (6.1.4.1)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
15
  i18n (>= 1.6, < 2)
16
16
  minitest (>= 5.1)
@@ -27,9 +27,11 @@ GEM
27
27
  hashdiff (1.0.1)
28
28
  i18n (1.8.10)
29
29
  concurrent-ruby (~> 1.0)
30
+ mini_portile2 (2.6.1)
30
31
  minitest (5.14.4)
31
32
  multipart-post (2.1.1)
32
- nokogiri (1.11.7-x86_64-darwin)
33
+ nokogiri (1.12.5)
34
+ mini_portile2 (~> 2.6.1)
33
35
  racc (~> 1.4)
34
36
  public_suffix (4.0.5)
35
37
  racc (1.5.2)
@@ -50,7 +52,7 @@ GEM
50
52
  safe_yaml (1.0.5)
51
53
  sorbet (0.5.5675)
52
54
  sorbet-static (= 0.5.5675)
53
- sorbet-runtime (0.5.6497)
55
+ sorbet-runtime (0.5.9189)
54
56
  sorbet-static (0.5.5675-universal-darwin-14)
55
57
  tzinfo (2.0.4)
56
58
  concurrent-ruby (~> 1.0)
@@ -126,8 +126,8 @@ module Setsuzoku
126
126
  # Faraday expects get requests params to be a hash
127
127
  params
128
128
  elsif request_properties[:req_params].empty?
129
- if request_properties[:request_method] == :put
130
- params.to_json # Faraday doesn't support an empty hash for PUT requests
129
+ if %i[put patch post].include?(request_properties[:request_method])
130
+ params.to_json # Faraday doesn't support an empty hash for PUT/PATCH/POST requests
131
131
  else
132
132
  params # Faraday supports empty hashes for other request types...
133
133
  end
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Setsuzoku
5
- VERSION = '0.14.6'
5
+ VERSION = '0.14.7'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: setsuzoku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.6
4
+ version: 0.14.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Stadtler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-01 00:00:00.000000000 Z
11
+ date: 2021-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler