http_store 0.7.1 → 0.7.2
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 +85 -83
- data/lib/http_store/middleware/request_log.rb +4 -2
- data/lib/http_store/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c889a2e1684bfbd04644940680f399e3ffdd816328bdd3a588c633e1e503113
|
4
|
+
data.tar.gz: 8b5d9658c4d5c28cb6c6981e4503824b1500a40e825c570730407d6cea8402d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c09b99b38c6c49765dc2c0ba36e48693aa72bf7527bd7f946a2aa95908779853b94fc72dab0e8500247af09c3b7affe7ca903323937fe219825b281cb904a64
|
7
|
+
data.tar.gz: d6da62d397254f71f1acabca5d9724679fe2a8da768c77363c97dfcb7414971cfeddf4280b4cec06232d1d55a47c83b510263e2ffa006cfdaf29ef959e9adee8
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
http_store (0.7.
|
4
|
+
http_store (0.7.2)
|
5
5
|
activerecord
|
6
6
|
hashie
|
7
7
|
rails
|
@@ -10,29 +10,29 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (8.0.
|
14
|
-
actionpack (= 8.0.
|
15
|
-
activesupport (= 8.0.
|
13
|
+
actioncable (8.0.2.1)
|
14
|
+
actionpack (= 8.0.2.1)
|
15
|
+
activesupport (= 8.0.2.1)
|
16
16
|
nio4r (~> 2.0)
|
17
17
|
websocket-driver (>= 0.6.1)
|
18
18
|
zeitwerk (~> 2.6)
|
19
|
-
actionmailbox (8.0.
|
20
|
-
actionpack (= 8.0.
|
21
|
-
activejob (= 8.0.
|
22
|
-
activerecord (= 8.0.
|
23
|
-
activestorage (= 8.0.
|
24
|
-
activesupport (= 8.0.
|
19
|
+
actionmailbox (8.0.2.1)
|
20
|
+
actionpack (= 8.0.2.1)
|
21
|
+
activejob (= 8.0.2.1)
|
22
|
+
activerecord (= 8.0.2.1)
|
23
|
+
activestorage (= 8.0.2.1)
|
24
|
+
activesupport (= 8.0.2.1)
|
25
25
|
mail (>= 2.8.0)
|
26
|
-
actionmailer (8.0.
|
27
|
-
actionpack (= 8.0.
|
28
|
-
actionview (= 8.0.
|
29
|
-
activejob (= 8.0.
|
30
|
-
activesupport (= 8.0.
|
26
|
+
actionmailer (8.0.2.1)
|
27
|
+
actionpack (= 8.0.2.1)
|
28
|
+
actionview (= 8.0.2.1)
|
29
|
+
activejob (= 8.0.2.1)
|
30
|
+
activesupport (= 8.0.2.1)
|
31
31
|
mail (>= 2.8.0)
|
32
32
|
rails-dom-testing (~> 2.2)
|
33
|
-
actionpack (8.0.
|
34
|
-
actionview (= 8.0.
|
35
|
-
activesupport (= 8.0.
|
33
|
+
actionpack (8.0.2.1)
|
34
|
+
actionview (= 8.0.2.1)
|
35
|
+
activesupport (= 8.0.2.1)
|
36
36
|
nokogiri (>= 1.8.5)
|
37
37
|
rack (>= 2.2.4)
|
38
38
|
rack-session (>= 1.0.1)
|
@@ -40,35 +40,35 @@ GEM
|
|
40
40
|
rails-dom-testing (~> 2.2)
|
41
41
|
rails-html-sanitizer (~> 1.6)
|
42
42
|
useragent (~> 0.16)
|
43
|
-
actiontext (8.0.
|
44
|
-
actionpack (= 8.0.
|
45
|
-
activerecord (= 8.0.
|
46
|
-
activestorage (= 8.0.
|
47
|
-
activesupport (= 8.0.
|
43
|
+
actiontext (8.0.2.1)
|
44
|
+
actionpack (= 8.0.2.1)
|
45
|
+
activerecord (= 8.0.2.1)
|
46
|
+
activestorage (= 8.0.2.1)
|
47
|
+
activesupport (= 8.0.2.1)
|
48
48
|
globalid (>= 0.6.0)
|
49
49
|
nokogiri (>= 1.8.5)
|
50
|
-
actionview (8.0.
|
51
|
-
activesupport (= 8.0.
|
50
|
+
actionview (8.0.2.1)
|
51
|
+
activesupport (= 8.0.2.1)
|
52
52
|
builder (~> 3.1)
|
53
53
|
erubi (~> 1.11)
|
54
54
|
rails-dom-testing (~> 2.2)
|
55
55
|
rails-html-sanitizer (~> 1.6)
|
56
|
-
activejob (8.0.
|
57
|
-
activesupport (= 8.0.
|
56
|
+
activejob (8.0.2.1)
|
57
|
+
activesupport (= 8.0.2.1)
|
58
58
|
globalid (>= 0.3.6)
|
59
|
-
activemodel (8.0.
|
60
|
-
activesupport (= 8.0.
|
61
|
-
activerecord (8.0.
|
62
|
-
activemodel (= 8.0.
|
63
|
-
activesupport (= 8.0.
|
59
|
+
activemodel (8.0.2.1)
|
60
|
+
activesupport (= 8.0.2.1)
|
61
|
+
activerecord (8.0.2.1)
|
62
|
+
activemodel (= 8.0.2.1)
|
63
|
+
activesupport (= 8.0.2.1)
|
64
64
|
timeout (>= 0.4.0)
|
65
|
-
activestorage (8.0.
|
66
|
-
actionpack (= 8.0.
|
67
|
-
activejob (= 8.0.
|
68
|
-
activerecord (= 8.0.
|
69
|
-
activesupport (= 8.0.
|
65
|
+
activestorage (8.0.2.1)
|
66
|
+
actionpack (= 8.0.2.1)
|
67
|
+
activejob (= 8.0.2.1)
|
68
|
+
activerecord (= 8.0.2.1)
|
69
|
+
activesupport (= 8.0.2.1)
|
70
70
|
marcel (~> 1.0)
|
71
|
-
activesupport (8.0.
|
71
|
+
activesupport (8.0.2.1)
|
72
72
|
base64
|
73
73
|
benchmark (>= 0.3)
|
74
74
|
bigdecimal
|
@@ -81,27 +81,27 @@ GEM
|
|
81
81
|
securerandom (>= 0.3)
|
82
82
|
tzinfo (~> 2.0, >= 2.0.5)
|
83
83
|
uri (>= 0.13.1)
|
84
|
-
base64 (0.
|
85
|
-
benchmark (0.4.
|
86
|
-
bigdecimal (3.
|
84
|
+
base64 (0.3.0)
|
85
|
+
benchmark (0.4.1)
|
86
|
+
bigdecimal (3.2.2)
|
87
87
|
builder (3.3.0)
|
88
88
|
byebug (11.1.3)
|
89
|
-
concurrent-ruby (1.3.
|
90
|
-
connection_pool (2.
|
89
|
+
concurrent-ruby (1.3.5)
|
90
|
+
connection_pool (2.5.3)
|
91
91
|
crass (1.0.6)
|
92
92
|
date (3.4.1)
|
93
93
|
diff-lcs (1.5.0)
|
94
94
|
domain_name (0.6.20240107)
|
95
|
-
drb (2.2.
|
95
|
+
drb (2.2.3)
|
96
96
|
erb (5.0.2)
|
97
|
-
erubi (1.13.
|
97
|
+
erubi (1.13.1)
|
98
98
|
globalid (1.2.1)
|
99
99
|
activesupport (>= 6.1)
|
100
100
|
hashie (5.0.0)
|
101
101
|
http-accept (1.7.0)
|
102
102
|
http-cookie (1.0.8)
|
103
103
|
domain_name (~> 0.5)
|
104
|
-
i18n (1.14.
|
104
|
+
i18n (1.14.7)
|
105
105
|
concurrent-ruby (~> 1.0)
|
106
106
|
io-console (0.8.1)
|
107
107
|
irb (1.15.2)
|
@@ -109,7 +109,7 @@ GEM
|
|
109
109
|
rdoc (>= 4.0.0)
|
110
110
|
reline (>= 0.4.2)
|
111
111
|
logger (1.7.0)
|
112
|
-
loofah (2.
|
112
|
+
loofah (2.24.1)
|
113
113
|
crass (~> 1.0.2)
|
114
114
|
nokogiri (>= 1.12.0)
|
115
115
|
mail (2.8.1)
|
@@ -118,24 +118,24 @@ GEM
|
|
118
118
|
net-pop
|
119
119
|
net-smtp
|
120
120
|
marcel (1.0.4)
|
121
|
-
mime-types (3.
|
121
|
+
mime-types (3.7.0)
|
122
122
|
logger
|
123
|
-
mime-types-data (~> 3.
|
124
|
-
mime-types-data (3.2025.
|
123
|
+
mime-types-data (~> 3.2025, >= 3.2025.0507)
|
124
|
+
mime-types-data (3.2025.0812)
|
125
125
|
mini_mime (1.1.5)
|
126
|
-
minitest (5.25.
|
127
|
-
net-imap (0.5.
|
126
|
+
minitest (5.25.5)
|
127
|
+
net-imap (0.5.9)
|
128
128
|
date
|
129
129
|
net-protocol
|
130
130
|
net-pop (0.1.2)
|
131
131
|
net-protocol
|
132
132
|
net-protocol (0.2.2)
|
133
133
|
timeout
|
134
|
-
net-smtp (0.5.
|
134
|
+
net-smtp (0.5.1)
|
135
135
|
net-protocol
|
136
136
|
netrc (0.11.0)
|
137
137
|
nio4r (2.7.4)
|
138
|
-
nokogiri (1.
|
138
|
+
nokogiri (1.18.9-arm64-darwin)
|
139
139
|
racc (~> 1.4)
|
140
140
|
pp (0.6.2)
|
141
141
|
prettyprint
|
@@ -144,37 +144,38 @@ GEM
|
|
144
144
|
date
|
145
145
|
stringio
|
146
146
|
racc (1.8.1)
|
147
|
-
rack (3.
|
148
|
-
rack-session (2.
|
147
|
+
rack (3.2.0)
|
148
|
+
rack-session (2.1.1)
|
149
|
+
base64 (>= 0.1.0)
|
149
150
|
rack (>= 3.0.0)
|
150
|
-
rack-test (2.
|
151
|
+
rack-test (2.2.0)
|
151
152
|
rack (>= 1.3)
|
152
153
|
rackup (2.2.1)
|
153
154
|
rack (>= 3)
|
154
|
-
rails (8.0.
|
155
|
-
actioncable (= 8.0.
|
156
|
-
actionmailbox (= 8.0.
|
157
|
-
actionmailer (= 8.0.
|
158
|
-
actionpack (= 8.0.
|
159
|
-
actiontext (= 8.0.
|
160
|
-
actionview (= 8.0.
|
161
|
-
activejob (= 8.0.
|
162
|
-
activemodel (= 8.0.
|
163
|
-
activerecord (= 8.0.
|
164
|
-
activestorage (= 8.0.
|
165
|
-
activesupport (= 8.0.
|
155
|
+
rails (8.0.2.1)
|
156
|
+
actioncable (= 8.0.2.1)
|
157
|
+
actionmailbox (= 8.0.2.1)
|
158
|
+
actionmailer (= 8.0.2.1)
|
159
|
+
actionpack (= 8.0.2.1)
|
160
|
+
actiontext (= 8.0.2.1)
|
161
|
+
actionview (= 8.0.2.1)
|
162
|
+
activejob (= 8.0.2.1)
|
163
|
+
activemodel (= 8.0.2.1)
|
164
|
+
activerecord (= 8.0.2.1)
|
165
|
+
activestorage (= 8.0.2.1)
|
166
|
+
activesupport (= 8.0.2.1)
|
166
167
|
bundler (>= 1.15.0)
|
167
|
-
railties (= 8.0.
|
168
|
-
rails-dom-testing (2.
|
168
|
+
railties (= 8.0.2.1)
|
169
|
+
rails-dom-testing (2.3.0)
|
169
170
|
activesupport (>= 5.0.0)
|
170
171
|
minitest
|
171
172
|
nokogiri (>= 1.6)
|
172
|
-
rails-html-sanitizer (1.6.
|
173
|
+
rails-html-sanitizer (1.6.2)
|
173
174
|
loofah (~> 2.21)
|
174
|
-
nokogiri (
|
175
|
-
railties (8.0.
|
176
|
-
actionpack (= 8.0.
|
177
|
-
activesupport (= 8.0.
|
175
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
176
|
+
railties (8.0.2.1)
|
177
|
+
actionpack (= 8.0.2.1)
|
178
|
+
activesupport (= 8.0.2.1)
|
178
179
|
irb (~> 1.13)
|
179
180
|
rackup (>= 1.0.0)
|
180
181
|
rake (>= 12.2)
|
@@ -204,18 +205,19 @@ GEM
|
|
204
205
|
diff-lcs (>= 1.2.0, < 2.0)
|
205
206
|
rspec-support (~> 3.12.0)
|
206
207
|
rspec-support (3.12.1)
|
207
|
-
securerandom (0.
|
208
|
+
securerandom (0.4.1)
|
208
209
|
stringio (3.1.7)
|
209
|
-
thor (1.
|
210
|
-
timeout (0.4.
|
210
|
+
thor (1.4.0)
|
211
|
+
timeout (0.4.3)
|
211
212
|
tzinfo (2.0.6)
|
212
213
|
concurrent-ruby (~> 1.0)
|
213
|
-
uri (1.0.
|
214
|
-
useragent (0.16.
|
215
|
-
websocket-driver (0.
|
214
|
+
uri (1.0.3)
|
215
|
+
useragent (0.16.11)
|
216
|
+
websocket-driver (0.8.0)
|
217
|
+
base64
|
216
218
|
websocket-extensions (>= 0.1.0)
|
217
219
|
websocket-extensions (0.1.5)
|
218
|
-
zeitwerk (2.7.
|
220
|
+
zeitwerk (2.7.3)
|
219
221
|
|
220
222
|
PLATFORMS
|
221
223
|
arm64-darwin-23
|
@@ -13,8 +13,10 @@ module HttpStore
|
|
13
13
|
status, headers, body = @app.call(env)
|
14
14
|
[status, headers, body]
|
15
15
|
ensure
|
16
|
-
|
17
|
-
|
16
|
+
unless headers.try(:[], 'skip-http-store')
|
17
|
+
build_meta(env, status, headers, body)
|
18
|
+
store_request
|
19
|
+
end
|
18
20
|
end
|
19
21
|
|
20
22
|
def build_meta(env, status, headers, body)
|
data/lib/http_store/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- black
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rest-client
|
@@ -159,7 +158,6 @@ metadata:
|
|
159
158
|
allowed_push_host: https://rubygems.org
|
160
159
|
homepage_uri: https://github.com/308820773/http-store
|
161
160
|
source_code_uri: https://github.com/308820773/http-store
|
162
|
-
post_install_message:
|
163
161
|
rdoc_options: []
|
164
162
|
require_paths:
|
165
163
|
- lib
|
@@ -174,8 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
172
|
- !ruby/object:Gem::Version
|
175
173
|
version: '0'
|
176
174
|
requirements: []
|
177
|
-
rubygems_version: 3.
|
178
|
-
signing_key:
|
175
|
+
rubygems_version: 3.7.1
|
179
176
|
specification_version: 4
|
180
177
|
summary: store the http request, it based on rest-client
|
181
178
|
test_files: []
|