http_store 0.6.18 → 0.6.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7dab074f42bcd2ea11b8a1717ffdb6fe03af1b4d5c82d391377255d34ac52ba6
4
- data.tar.gz: f434978410a7f409031eb474706086f136895cdfc631cbca05d34a779ad326b6
3
+ metadata.gz: f2eebbb3c82ac19a66d340806947ac19e08cb49b938aea3e86665e935bcabac5
4
+ data.tar.gz: 34b41cc4b754ffdcf6af9cb7a3c9f06c9c546c30e081a0d6043a543f89b8bb1a
5
5
  SHA512:
6
- metadata.gz: 85f2c2cc642043813514d083708e7fcb5ec1dc1011c345dc10225cc708b30df03e2b4695a24accb0e9fbfa2093aa5063f9f8f7bed0eafbbcdff9f344ee0a9ca4
7
- data.tar.gz: 94d55e98392cfc5e16eac80e4337178d0d5aa11396eeb5df176f5015d12d157e685853f988213b87f38825fedf4c35accd092ab2cbbbced0b3c6db2c3444def4
6
+ metadata.gz: 0030f7c0cee3710b137b440866fc327410ecdeea1ab8784ac52147567e47db06fc2fe7dbd08b5d4122d4d85fad4d01c0fbd30625a0ddbd4c972b9e767618cbe6
7
+ data.tar.gz: 492c146bfbdc417ca4724ce7f9e2a55cda27b5f7f3b398553d363540811423512cd45d10e143df6a6a742250c8f53ca4f37edbf3fb34d0ab913245c186fadecf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- http_store (0.6.18)
4
+ http_store (0.6.19)
5
5
  activerecord
6
6
  hashie
7
7
  rails
@@ -10,105 +10,104 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (7.1.3.2)
14
- actionpack (= 7.1.3.2)
15
- activesupport (= 7.1.3.2)
13
+ actioncable (8.0.0)
14
+ actionpack (= 8.0.0)
15
+ activesupport (= 8.0.0)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
18
  zeitwerk (~> 2.6)
19
- actionmailbox (7.1.3.2)
20
- actionpack (= 7.1.3.2)
21
- activejob (= 7.1.3.2)
22
- activerecord (= 7.1.3.2)
23
- activestorage (= 7.1.3.2)
24
- activesupport (= 7.1.3.2)
25
- mail (>= 2.7.1)
26
- net-imap
27
- net-pop
28
- net-smtp
29
- actionmailer (7.1.3.2)
30
- actionpack (= 7.1.3.2)
31
- actionview (= 7.1.3.2)
32
- activejob (= 7.1.3.2)
33
- activesupport (= 7.1.3.2)
34
- mail (~> 2.5, >= 2.5.4)
35
- net-imap
36
- net-pop
37
- net-smtp
19
+ actionmailbox (8.0.0)
20
+ actionpack (= 8.0.0)
21
+ activejob (= 8.0.0)
22
+ activerecord (= 8.0.0)
23
+ activestorage (= 8.0.0)
24
+ activesupport (= 8.0.0)
25
+ mail (>= 2.8.0)
26
+ actionmailer (8.0.0)
27
+ actionpack (= 8.0.0)
28
+ actionview (= 8.0.0)
29
+ activejob (= 8.0.0)
30
+ activesupport (= 8.0.0)
31
+ mail (>= 2.8.0)
38
32
  rails-dom-testing (~> 2.2)
39
- actionpack (7.1.3.2)
40
- actionview (= 7.1.3.2)
41
- activesupport (= 7.1.3.2)
33
+ actionpack (8.0.0)
34
+ actionview (= 8.0.0)
35
+ activesupport (= 8.0.0)
42
36
  nokogiri (>= 1.8.5)
43
- racc
44
37
  rack (>= 2.2.4)
45
38
  rack-session (>= 1.0.1)
46
39
  rack-test (>= 0.6.3)
47
40
  rails-dom-testing (~> 2.2)
48
41
  rails-html-sanitizer (~> 1.6)
49
- actiontext (7.1.3.2)
50
- actionpack (= 7.1.3.2)
51
- activerecord (= 7.1.3.2)
52
- activestorage (= 7.1.3.2)
53
- activesupport (= 7.1.3.2)
42
+ useragent (~> 0.16)
43
+ actiontext (8.0.0)
44
+ actionpack (= 8.0.0)
45
+ activerecord (= 8.0.0)
46
+ activestorage (= 8.0.0)
47
+ activesupport (= 8.0.0)
54
48
  globalid (>= 0.6.0)
55
49
  nokogiri (>= 1.8.5)
56
- actionview (7.1.3.2)
57
- activesupport (= 7.1.3.2)
50
+ actionview (8.0.0)
51
+ activesupport (= 8.0.0)
58
52
  builder (~> 3.1)
59
53
  erubi (~> 1.11)
60
54
  rails-dom-testing (~> 2.2)
61
55
  rails-html-sanitizer (~> 1.6)
62
- activejob (7.1.3.2)
63
- activesupport (= 7.1.3.2)
56
+ activejob (8.0.0)
57
+ activesupport (= 8.0.0)
64
58
  globalid (>= 0.3.6)
65
- activemodel (7.1.3.2)
66
- activesupport (= 7.1.3.2)
67
- activerecord (7.1.3.2)
68
- activemodel (= 7.1.3.2)
69
- activesupport (= 7.1.3.2)
59
+ activemodel (8.0.0)
60
+ activesupport (= 8.0.0)
61
+ activerecord (8.0.0)
62
+ activemodel (= 8.0.0)
63
+ activesupport (= 8.0.0)
70
64
  timeout (>= 0.4.0)
71
- activestorage (7.1.3.2)
72
- actionpack (= 7.1.3.2)
73
- activejob (= 7.1.3.2)
74
- activerecord (= 7.1.3.2)
75
- activesupport (= 7.1.3.2)
65
+ activestorage (8.0.0)
66
+ actionpack (= 8.0.0)
67
+ activejob (= 8.0.0)
68
+ activerecord (= 8.0.0)
69
+ activesupport (= 8.0.0)
76
70
  marcel (~> 1.0)
77
- activesupport (7.1.3.2)
71
+ activesupport (8.0.0)
78
72
  base64
73
+ benchmark (>= 0.3)
79
74
  bigdecimal
80
- concurrent-ruby (~> 1.0, >= 1.0.2)
75
+ concurrent-ruby (~> 1.0, >= 1.3.1)
81
76
  connection_pool (>= 2.2.5)
82
77
  drb
83
78
  i18n (>= 1.6, < 2)
79
+ logger (>= 1.4.2)
84
80
  minitest (>= 5.1)
85
- mutex_m
86
- tzinfo (~> 2.0)
81
+ securerandom (>= 0.3)
82
+ tzinfo (~> 2.0, >= 2.0.5)
83
+ uri (>= 0.13.1)
87
84
  base64 (0.2.0)
85
+ benchmark (0.4.0)
88
86
  bigdecimal (3.1.8)
89
- builder (3.2.4)
87
+ builder (3.3.0)
90
88
  byebug (11.1.3)
91
- concurrent-ruby (1.3.3)
89
+ concurrent-ruby (1.3.4)
92
90
  connection_pool (2.4.1)
93
91
  crass (1.0.6)
94
- date (3.3.4)
92
+ date (3.4.0)
95
93
  diff-lcs (1.5.0)
96
94
  domain_name (0.6.20240107)
97
95
  drb (2.2.1)
98
- erubi (1.12.0)
96
+ erubi (1.13.0)
99
97
  globalid (1.2.1)
100
98
  activesupport (>= 6.1)
101
99
  hashie (5.0.0)
102
100
  http-accept (1.7.0)
103
101
  http-cookie (1.0.7)
104
102
  domain_name (~> 0.5)
105
- i18n (1.14.5)
103
+ i18n (1.14.6)
106
104
  concurrent-ruby (~> 1.0)
107
105
  io-console (0.7.2)
108
- irb (1.13.1)
106
+ irb (1.14.1)
109
107
  rdoc (>= 4.0.0)
110
108
  reline (>= 0.4.2)
111
- loofah (2.22.0)
109
+ logger (1.6.1)
110
+ loofah (2.23.1)
112
111
  crass (~> 1.0.2)
113
112
  nokogiri (>= 1.12.0)
114
113
  mail (2.8.1)
@@ -117,13 +116,13 @@ GEM
117
116
  net-pop
118
117
  net-smtp
119
118
  marcel (1.0.4)
120
- mime-types (3.5.2)
119
+ mime-types (3.6.0)
120
+ logger
121
121
  mime-types-data (~> 3.2015)
122
- mime-types-data (3.2024.0820)
122
+ mime-types-data (3.2024.1105)
123
123
  mini_mime (1.1.5)
124
- minitest (5.22.3)
125
- mutex_m (0.2.0)
126
- net-imap (0.4.11)
124
+ minitest (5.25.1)
125
+ net-imap (0.5.1)
127
126
  date
128
127
  net-protocol
129
128
  net-pop (0.1.2)
@@ -133,34 +132,35 @@ GEM
133
132
  net-smtp (0.5.0)
134
133
  net-protocol
135
134
  netrc (0.11.0)
136
- nio4r (2.7.3)
137
- nokogiri (1.16.5-arm64-darwin)
135
+ nio4r (2.7.4)
136
+ nokogiri (1.16.7-arm64-darwin)
137
+ racc (~> 1.4)
138
+ nokogiri (1.16.7-x86_64-darwin)
138
139
  racc (~> 1.4)
139
- psych (5.1.2)
140
+ psych (5.2.0)
140
141
  stringio
141
- racc (1.7.3)
142
- rack (3.0.11)
142
+ racc (1.8.1)
143
+ rack (3.1.8)
143
144
  rack-session (2.0.0)
144
145
  rack (>= 3.0.0)
145
146
  rack-test (2.1.0)
146
147
  rack (>= 1.3)
147
- rackup (2.1.0)
148
+ rackup (2.2.1)
148
149
  rack (>= 3)
149
- webrick (~> 1.8)
150
- rails (7.1.3.2)
151
- actioncable (= 7.1.3.2)
152
- actionmailbox (= 7.1.3.2)
153
- actionmailer (= 7.1.3.2)
154
- actionpack (= 7.1.3.2)
155
- actiontext (= 7.1.3.2)
156
- actionview (= 7.1.3.2)
157
- activejob (= 7.1.3.2)
158
- activemodel (= 7.1.3.2)
159
- activerecord (= 7.1.3.2)
160
- activestorage (= 7.1.3.2)
161
- activesupport (= 7.1.3.2)
150
+ rails (8.0.0)
151
+ actioncable (= 8.0.0)
152
+ actionmailbox (= 8.0.0)
153
+ actionmailer (= 8.0.0)
154
+ actionpack (= 8.0.0)
155
+ actiontext (= 8.0.0)
156
+ actionview (= 8.0.0)
157
+ activejob (= 8.0.0)
158
+ activemodel (= 8.0.0)
159
+ activerecord (= 8.0.0)
160
+ activestorage (= 8.0.0)
161
+ activesupport (= 8.0.0)
162
162
  bundler (>= 1.15.0)
163
- railties (= 7.1.3.2)
163
+ railties (= 8.0.0)
164
164
  rails-dom-testing (2.2.0)
165
165
  activesupport (>= 5.0.0)
166
166
  minitest
@@ -168,18 +168,18 @@ GEM
168
168
  rails-html-sanitizer (1.6.0)
169
169
  loofah (~> 2.21)
170
170
  nokogiri (~> 1.14)
171
- railties (7.1.3.2)
172
- actionpack (= 7.1.3.2)
173
- activesupport (= 7.1.3.2)
174
- irb
171
+ railties (8.0.0)
172
+ actionpack (= 8.0.0)
173
+ activesupport (= 8.0.0)
174
+ irb (~> 1.13)
175
175
  rackup (>= 1.0.0)
176
176
  rake (>= 12.2)
177
177
  thor (~> 1.0, >= 1.2.2)
178
178
  zeitwerk (~> 2.6)
179
179
  rake (13.0.6)
180
- rdoc (6.6.3.1)
180
+ rdoc (6.8.1)
181
181
  psych (>= 4.0.0)
182
- reline (0.5.6)
182
+ reline (0.5.11)
183
183
  io-console (~> 0.5)
184
184
  rest-client (2.1.0)
185
185
  http-accept (>= 1.7.0, < 2.0)
@@ -199,16 +199,18 @@ GEM
199
199
  diff-lcs (>= 1.2.0, < 2.0)
200
200
  rspec-support (~> 3.12.0)
201
201
  rspec-support (3.12.1)
202
- stringio (3.1.0)
203
- thor (1.3.1)
204
- timeout (0.4.1)
202
+ securerandom (0.3.2)
203
+ stringio (3.1.2)
204
+ thor (1.3.2)
205
+ timeout (0.4.2)
205
206
  tzinfo (2.0.6)
206
207
  concurrent-ruby (~> 1.0)
207
- webrick (1.8.1)
208
+ uri (1.0.2)
209
+ useragent (0.16.10)
208
210
  websocket-driver (0.7.6)
209
211
  websocket-extensions (>= 0.1.0)
210
212
  websocket-extensions (0.1.5)
211
- zeitwerk (2.6.13)
213
+ zeitwerk (2.7.1)
212
214
 
213
215
  PLATFORMS
214
216
  arm64-darwin-23
@@ -75,7 +75,8 @@ module HttpStore
75
75
  def http_post_execute
76
76
  real_data = json_request? ? data.to_json : data.to_hash
77
77
  # RestClient.post(uri, real_data, headers.symbolize_keys)
78
- RestClient::Request.execute(method: :post, url: uri, payload: real_data, headers: headers.symbolize_keys, verify_ssl: verify_ssl)
78
+
79
+ RestClient::Request.execute(method: :post, url: uri, payload: real_data, headers: headers.to_h.symbolize_keys, verify_ssl: verify_ssl)
79
80
  end
80
81
  end
81
82
  end
@@ -16,6 +16,8 @@ module HttpStore
16
16
  end
17
17
 
18
18
  def uri
19
+ return url if query_params.blank?
20
+
19
21
  "#{url}?#{query_params.to_query}"
20
22
  end
21
23
 
@@ -1,3 +1,3 @@
1
1
  module HttpStore
2
- VERSION = "0.6.18"
2
+ VERSION = "0.6.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.18
4
+ version: 0.6.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - black
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-22 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client