http_store 0.6.19 → 0.7.1
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 +4 -4
- data/Gemfile.lock +18 -13
- data/lib/http_store/client.rb +2 -2
- data/lib/http_store/helpers/requestable.rb +1 -1
- data/lib/http_store/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4608e0e6815e896239077c441cc8b2941a5323ade1079b9d184bb1aaad654daa
|
4
|
+
data.tar.gz: d1d364f0de778e0377e94d475d66e1d7397ab28266e95307fe9ea24f8798927e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 610ea310b998d0d3933aa1f2ab4903c7aa3d0c16c1095f3fb1c834bfa2db92e581b0178c07f0b76dbff1eb1e52122080a1675f8102c700de5e4ee4f51f9fbd98
|
7
|
+
data.tar.gz: 58cec39da8cdda242f71c51b4a9c6be2dc664e460bd0d475a37f2161236e5273bc3643190dc3473ed87a299a3303b55551555b7b48f594ef87db017cfe229cd8
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
http_store (0.
|
4
|
+
http_store (0.7.1)
|
5
5
|
activerecord
|
6
6
|
hashie
|
7
7
|
rails
|
@@ -89,24 +89,26 @@ GEM
|
|
89
89
|
concurrent-ruby (1.3.4)
|
90
90
|
connection_pool (2.4.1)
|
91
91
|
crass (1.0.6)
|
92
|
-
date (3.4.
|
92
|
+
date (3.4.1)
|
93
93
|
diff-lcs (1.5.0)
|
94
94
|
domain_name (0.6.20240107)
|
95
95
|
drb (2.2.1)
|
96
|
+
erb (5.0.2)
|
96
97
|
erubi (1.13.0)
|
97
98
|
globalid (1.2.1)
|
98
99
|
activesupport (>= 6.1)
|
99
100
|
hashie (5.0.0)
|
100
101
|
http-accept (1.7.0)
|
101
|
-
http-cookie (1.0.
|
102
|
+
http-cookie (1.0.8)
|
102
103
|
domain_name (~> 0.5)
|
103
104
|
i18n (1.14.6)
|
104
105
|
concurrent-ruby (~> 1.0)
|
105
|
-
io-console (0.
|
106
|
-
irb (1.
|
106
|
+
io-console (0.8.1)
|
107
|
+
irb (1.15.2)
|
108
|
+
pp (>= 0.6.0)
|
107
109
|
rdoc (>= 4.0.0)
|
108
110
|
reline (>= 0.4.2)
|
109
|
-
logger (1.
|
111
|
+
logger (1.7.0)
|
110
112
|
loofah (2.23.1)
|
111
113
|
crass (~> 1.0.2)
|
112
114
|
nokogiri (>= 1.12.0)
|
@@ -119,7 +121,7 @@ GEM
|
|
119
121
|
mime-types (3.6.0)
|
120
122
|
logger
|
121
123
|
mime-types-data (~> 3.2015)
|
122
|
-
mime-types-data (3.
|
124
|
+
mime-types-data (3.2025.0304)
|
123
125
|
mini_mime (1.1.5)
|
124
126
|
minitest (5.25.1)
|
125
127
|
net-imap (0.5.1)
|
@@ -135,9 +137,11 @@ GEM
|
|
135
137
|
nio4r (2.7.4)
|
136
138
|
nokogiri (1.16.7-arm64-darwin)
|
137
139
|
racc (~> 1.4)
|
138
|
-
|
139
|
-
|
140
|
-
|
140
|
+
pp (0.6.2)
|
141
|
+
prettyprint
|
142
|
+
prettyprint (0.2.0)
|
143
|
+
psych (5.2.6)
|
144
|
+
date
|
141
145
|
stringio
|
142
146
|
racc (1.8.1)
|
143
147
|
rack (3.1.8)
|
@@ -177,9 +181,10 @@ GEM
|
|
177
181
|
thor (~> 1.0, >= 1.2.2)
|
178
182
|
zeitwerk (~> 2.6)
|
179
183
|
rake (13.0.6)
|
180
|
-
rdoc (6.
|
184
|
+
rdoc (6.14.2)
|
185
|
+
erb
|
181
186
|
psych (>= 4.0.0)
|
182
|
-
reline (0.
|
187
|
+
reline (0.6.2)
|
183
188
|
io-console (~> 0.5)
|
184
189
|
rest-client (2.1.0)
|
185
190
|
http-accept (>= 1.7.0, < 2.0)
|
@@ -200,7 +205,7 @@ GEM
|
|
200
205
|
rspec-support (~> 3.12.0)
|
201
206
|
rspec-support (3.12.1)
|
202
207
|
securerandom (0.3.2)
|
203
|
-
stringio (3.1.
|
208
|
+
stringio (3.1.7)
|
204
209
|
thor (1.3.2)
|
205
210
|
timeout (0.4.2)
|
206
211
|
tzinfo (2.0.6)
|
data/lib/http_store/client.rb
CHANGED
@@ -73,10 +73,10 @@ module HttpStore
|
|
73
73
|
end
|
74
74
|
|
75
75
|
def http_post_execute
|
76
|
-
real_data = json_request? ? data.to_json : data
|
76
|
+
real_data = json_request? ? data.to_json : data
|
77
77
|
# RestClient.post(uri, real_data, headers.symbolize_keys)
|
78
78
|
|
79
|
-
RestClient::Request.execute(method:
|
79
|
+
RestClient::Request.execute(method: @meta.http_method, url: uri, payload: real_data, headers: headers.to_h.symbolize_keys, verify_ssl: verify_ssl)
|
80
80
|
end
|
81
81
|
end
|
82
82
|
end
|
@@ -30,7 +30,7 @@ module HttpStore
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def format_request
|
33
|
-
@meta.http_method =
|
33
|
+
@meta.http_method = http_method.downcase
|
34
34
|
|
35
35
|
@meta.headers ||= { charset: 'UTF-8' }
|
36
36
|
@meta.headers[:content_type] = :json if json_request?
|
data/lib/http_store/version.rb
CHANGED
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.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- black
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
- !ruby/object:Gem::Version
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
|
-
rubygems_version: 3.
|
177
|
+
rubygems_version: 3.5.23
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: store the http request, it based on rest-client
|