umbrellio-utils 0.7.1 → 0.7.2

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: 774fdc0636e6db513c88f056cb7f623004b077918b690eda2db500c6caeb8ebe
4
- data.tar.gz: de6fe1fa3e03e0b019f06f3bf926808da16fdb620b6a91912fe1c2639790f44f
3
+ metadata.gz: 5d11583a5e1197f3116096e9ca2c860c3bbcd5d3d1e8522de4505b74e1fef5a1
4
+ data.tar.gz: b0577da49e9570a893c723323dcb87c4274479b2d0fd432c2e1ab79ced78ccb5
5
5
  SHA512:
6
- metadata.gz: 8add3f68aeb19b83897a9a944bd4e9e9f5b7ce666e213589b5d4d9069178b8c57a21c4f69bfeb4ba6bbc7cad2e83d421489a7f057c8b80e6ac2ec2dbe6e75873
7
- data.tar.gz: 2dc81457002a305346ae60c8028ed5c8eb80a5ee34d750bcdfe56c6f4366f61e894887ed29caf34f252da3c508e103574b3915ee55ac29e98efb272e7ac5c5a6
6
+ metadata.gz: 67284303e49e7a28ecb54bee1131edcb14b07364f05c7d1ddace80489e01cb3e09bd10ac4e4b4f73cf87951bc8ff045dc99a4c52b5a6067edd03816bc28e7853
7
+ data.tar.gz: 5edd1d9fb15d1e35dc4ad7b0c93401fbf15d9995f81a0757c34d679d7ea084a2553ac4a09d2c7872b16442b24257d386c48d42fc9fdbd62989a7eeea7c6c484f
data/Gemfile CHANGED
@@ -10,6 +10,7 @@ group :development, :test do
10
10
  gem "bundler"
11
11
  gem "bundler-audit"
12
12
  gem "ci-helper"
13
+ gem "http"
13
14
  gem "nokogiri"
14
15
  gem "nori"
15
16
  gem "pg"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- umbrellio-utils (0.7.1)
4
+ umbrellio-utils (0.7.2)
5
5
  memery (~> 1)
6
6
 
7
7
  GEM
@@ -72,6 +72,8 @@ GEM
72
72
  i18n (>= 1.6, < 2)
73
73
  minitest (>= 5.1)
74
74
  tzinfo (~> 2.0)
75
+ addressable (2.8.5)
76
+ public_suffix (>= 2.0.2, < 6.0)
75
77
  amazing_print (1.5.0)
76
78
  amq-protocol (2.3.2)
77
79
  ast (2.4.2)
@@ -93,15 +95,32 @@ GEM
93
95
  date (3.3.3)
94
96
  diff-lcs (1.5.0)
95
97
  docile (1.4.0)
98
+ domain_name (0.5.20190701)
99
+ unf (>= 0.0.5, < 1.0.0)
96
100
  dry-inflector (0.3.0)
97
101
  erubi (1.12.0)
102
+ ffi (1.15.5)
103
+ ffi-compiler (1.0.1)
104
+ ffi (>= 1.0.0)
105
+ rake
98
106
  globalid (1.1.0)
99
107
  activesupport (>= 5.0)
108
+ http (5.1.1)
109
+ addressable (~> 2.8)
110
+ http-cookie (~> 1.0)
111
+ http-form_data (~> 2.2)
112
+ llhttp-ffi (~> 0.4.0)
113
+ http-cookie (1.0.5)
114
+ domain_name (~> 0.5)
115
+ http-form_data (2.3.0)
100
116
  i18n (1.14.1)
101
117
  concurrent-ruby (~> 1.0)
102
118
  json (2.6.3)
103
119
  lamian (1.7.0)
104
120
  rails (>= 4.2)
121
+ llhttp-ffi (0.4.0)
122
+ ffi-compiler (~> 1.0)
123
+ rake (~> 13.0)
105
124
  loofah (2.21.3)
106
125
  crass (~> 1.0.2)
107
126
  nokogiri (>= 1.12.0)
@@ -145,6 +164,7 @@ GEM
145
164
  pry (0.14.2)
146
165
  coderay (~> 1.1)
147
166
  method_source (~> 1.0)
167
+ public_suffix (5.0.3)
148
168
  rabbit_messaging (0.13.0)
149
169
  bunny (~> 2.0)
150
170
  lamian
@@ -283,6 +303,9 @@ GEM
283
303
  umbrellio-sequel-plugins (0.11.0.143)
284
304
  sequel
285
305
  symbiont-ruby
306
+ unf (0.1.4)
307
+ unf_ext
308
+ unf_ext (0.0.8.2)
286
309
  unicode-display_width (2.4.2)
287
310
  websocket-driver (0.7.5)
288
311
  websocket-extensions (>= 0.1.0)
@@ -302,6 +325,7 @@ DEPENDENCIES
302
325
  bundler
303
326
  bundler-audit
304
327
  ci-helper
328
+ http
305
329
  nokogiri
306
330
  nori
307
331
  pg
@@ -54,7 +54,7 @@ module UmbrellioUtils
54
54
 
55
55
  def parse_params
56
56
  case request.media_type
57
- when "application/json"
57
+ when "application/json", /\+json\z/
58
58
  Parsing.safely_parse_json(body)
59
59
  when "application/xml"
60
60
  Parsing.parse_xml(body)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UmbrellioUtils
4
- VERSION = "0.7.1"
4
+ VERSION = "0.7.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umbrellio-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JustAnotherDude
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-05 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memery
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubygems_version: 3.4.13
89
+ rubygems_version: 3.4.18
90
90
  signing_key:
91
91
  specification_version: 4
92
92
  summary: A set of utilities that speed up development