http_store 0.6.11 → 0.6.13
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 +82 -84
- data/lib/http_store/helpers/storable.rb +4 -3
- data/lib/http_store/job/http_log_store_job.rb +12 -0
- data/lib/http_store/version.rb +1 -1
- data/lib/http_store.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf49a98c2e4d42899404d4ec30adbae7b4f72f5ed6fb4ca5e683dcc6bd8b2c41
|
4
|
+
data.tar.gz: ed4cedc6c46bba95f08033ebbfe7dcf7a82c40b28382f0bc2a5288c5f6295e33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32821f61285171f9f5f00b85227e6216d5ae2cf16ab2a687794d13f0297816206905135858c2e902e16020d3558178e9cc148e6a8057332e15cff0c5ac719a8f
|
7
|
+
data.tar.gz: ac228f5c01ebd9fad4a81367128d636eb7eb5b6c07e0f109ce0673de9bde5f427ec305477e0345f68731d53bb87f4e13155140ca3ea470f0dc475e9ec9335c48
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
http_store (0.6.
|
4
|
+
http_store (0.6.13)
|
5
5
|
activerecord
|
6
6
|
hashie
|
7
7
|
rails
|
@@ -10,104 +10,101 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (7.
|
14
|
-
actionpack (= 7.
|
15
|
-
activesupport (= 7.
|
13
|
+
actioncable (7.2.0)
|
14
|
+
actionpack (= 7.2.0)
|
15
|
+
activesupport (= 7.2.0)
|
16
16
|
nio4r (~> 2.0)
|
17
17
|
websocket-driver (>= 0.6.1)
|
18
18
|
zeitwerk (~> 2.6)
|
19
|
-
actionmailbox (7.
|
20
|
-
actionpack (= 7.
|
21
|
-
activejob (= 7.
|
22
|
-
activerecord (= 7.
|
23
|
-
activestorage (= 7.
|
24
|
-
activesupport (= 7.
|
25
|
-
mail (>= 2.
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
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 (7.2.0)
|
20
|
+
actionpack (= 7.2.0)
|
21
|
+
activejob (= 7.2.0)
|
22
|
+
activerecord (= 7.2.0)
|
23
|
+
activestorage (= 7.2.0)
|
24
|
+
activesupport (= 7.2.0)
|
25
|
+
mail (>= 2.8.0)
|
26
|
+
actionmailer (7.2.0)
|
27
|
+
actionpack (= 7.2.0)
|
28
|
+
actionview (= 7.2.0)
|
29
|
+
activejob (= 7.2.0)
|
30
|
+
activesupport (= 7.2.0)
|
31
|
+
mail (>= 2.8.0)
|
38
32
|
rails-dom-testing (~> 2.2)
|
39
|
-
actionpack (7.
|
40
|
-
actionview (= 7.
|
41
|
-
activesupport (= 7.
|
33
|
+
actionpack (7.2.0)
|
34
|
+
actionview (= 7.2.0)
|
35
|
+
activesupport (= 7.2.0)
|
42
36
|
nokogiri (>= 1.8.5)
|
43
37
|
racc
|
44
|
-
rack (>= 2.2.4)
|
38
|
+
rack (>= 2.2.4, < 3.2)
|
45
39
|
rack-session (>= 1.0.1)
|
46
40
|
rack-test (>= 0.6.3)
|
47
41
|
rails-dom-testing (~> 2.2)
|
48
42
|
rails-html-sanitizer (~> 1.6)
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
43
|
+
useragent (~> 0.16)
|
44
|
+
actiontext (7.2.0)
|
45
|
+
actionpack (= 7.2.0)
|
46
|
+
activerecord (= 7.2.0)
|
47
|
+
activestorage (= 7.2.0)
|
48
|
+
activesupport (= 7.2.0)
|
54
49
|
globalid (>= 0.6.0)
|
55
50
|
nokogiri (>= 1.8.5)
|
56
|
-
actionview (7.
|
57
|
-
activesupport (= 7.
|
51
|
+
actionview (7.2.0)
|
52
|
+
activesupport (= 7.2.0)
|
58
53
|
builder (~> 3.1)
|
59
54
|
erubi (~> 1.11)
|
60
55
|
rails-dom-testing (~> 2.2)
|
61
56
|
rails-html-sanitizer (~> 1.6)
|
62
|
-
activejob (7.
|
63
|
-
activesupport (= 7.
|
57
|
+
activejob (7.2.0)
|
58
|
+
activesupport (= 7.2.0)
|
64
59
|
globalid (>= 0.3.6)
|
65
|
-
activemodel (7.
|
66
|
-
activesupport (= 7.
|
67
|
-
activerecord (7.
|
68
|
-
activemodel (= 7.
|
69
|
-
activesupport (= 7.
|
60
|
+
activemodel (7.2.0)
|
61
|
+
activesupport (= 7.2.0)
|
62
|
+
activerecord (7.2.0)
|
63
|
+
activemodel (= 7.2.0)
|
64
|
+
activesupport (= 7.2.0)
|
70
65
|
timeout (>= 0.4.0)
|
71
|
-
activestorage (7.
|
72
|
-
actionpack (= 7.
|
73
|
-
activejob (= 7.
|
74
|
-
activerecord (= 7.
|
75
|
-
activesupport (= 7.
|
66
|
+
activestorage (7.2.0)
|
67
|
+
actionpack (= 7.2.0)
|
68
|
+
activejob (= 7.2.0)
|
69
|
+
activerecord (= 7.2.0)
|
70
|
+
activesupport (= 7.2.0)
|
76
71
|
marcel (~> 1.0)
|
77
|
-
activesupport (7.
|
72
|
+
activesupport (7.2.0)
|
78
73
|
base64
|
79
74
|
bigdecimal
|
80
|
-
concurrent-ruby (~> 1.0, >= 1.
|
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
|
-
|
86
|
-
tzinfo (~> 2.0)
|
81
|
+
securerandom (>= 0.3)
|
82
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
87
83
|
base64 (0.2.0)
|
88
84
|
bigdecimal (3.1.8)
|
89
|
-
builder (3.
|
85
|
+
builder (3.3.0)
|
90
86
|
byebug (11.1.3)
|
91
|
-
concurrent-ruby (1.
|
87
|
+
concurrent-ruby (1.3.4)
|
92
88
|
connection_pool (2.4.1)
|
93
89
|
crass (1.0.6)
|
94
90
|
date (3.3.4)
|
95
91
|
diff-lcs (1.5.0)
|
96
92
|
domain_name (0.6.20240107)
|
97
93
|
drb (2.2.1)
|
98
|
-
erubi (1.
|
94
|
+
erubi (1.13.0)
|
99
95
|
globalid (1.2.1)
|
100
96
|
activesupport (>= 6.1)
|
101
97
|
hashie (5.0.0)
|
102
98
|
http-accept (1.7.0)
|
103
|
-
http-cookie (1.0.
|
99
|
+
http-cookie (1.0.6)
|
104
100
|
domain_name (~> 0.5)
|
105
101
|
i18n (1.14.5)
|
106
102
|
concurrent-ruby (~> 1.0)
|
107
103
|
io-console (0.7.2)
|
108
|
-
irb (1.
|
104
|
+
irb (1.14.0)
|
109
105
|
rdoc (>= 4.0.0)
|
110
106
|
reline (>= 0.4.2)
|
107
|
+
logger (1.6.0)
|
111
108
|
loofah (2.22.0)
|
112
109
|
crass (~> 1.0.2)
|
113
110
|
nokogiri (>= 1.12.0)
|
@@ -119,11 +116,10 @@ GEM
|
|
119
116
|
marcel (1.0.4)
|
120
117
|
mime-types (3.5.2)
|
121
118
|
mime-types-data (~> 3.2015)
|
122
|
-
mime-types-data (3.2024.
|
119
|
+
mime-types-data (3.2024.0806)
|
123
120
|
mini_mime (1.1.5)
|
124
|
-
minitest (5.
|
125
|
-
|
126
|
-
net-imap (0.4.11)
|
121
|
+
minitest (5.24.1)
|
122
|
+
net-imap (0.4.14)
|
127
123
|
date
|
128
124
|
net-protocol
|
129
125
|
net-pop (0.1.2)
|
@@ -134,14 +130,14 @@ GEM
|
|
134
130
|
net-protocol
|
135
131
|
netrc (0.11.0)
|
136
132
|
nio4r (2.7.3)
|
137
|
-
nokogiri (1.16.
|
133
|
+
nokogiri (1.16.7-arm64-darwin)
|
138
134
|
racc (~> 1.4)
|
139
|
-
nokogiri (1.16.
|
135
|
+
nokogiri (1.16.7-x86_64-darwin)
|
140
136
|
racc (~> 1.4)
|
141
137
|
psych (5.1.2)
|
142
138
|
stringio
|
143
|
-
racc (1.
|
144
|
-
rack (3.
|
139
|
+
racc (1.8.1)
|
140
|
+
rack (3.1.7)
|
145
141
|
rack-session (2.0.0)
|
146
142
|
rack (>= 3.0.0)
|
147
143
|
rack-test (2.1.0)
|
@@ -149,20 +145,20 @@ GEM
|
|
149
145
|
rackup (2.1.0)
|
150
146
|
rack (>= 3)
|
151
147
|
webrick (~> 1.8)
|
152
|
-
rails (7.
|
153
|
-
actioncable (= 7.
|
154
|
-
actionmailbox (= 7.
|
155
|
-
actionmailer (= 7.
|
156
|
-
actionpack (= 7.
|
157
|
-
actiontext (= 7.
|
158
|
-
actionview (= 7.
|
159
|
-
activejob (= 7.
|
160
|
-
activemodel (= 7.
|
161
|
-
activerecord (= 7.
|
162
|
-
activestorage (= 7.
|
163
|
-
activesupport (= 7.
|
148
|
+
rails (7.2.0)
|
149
|
+
actioncable (= 7.2.0)
|
150
|
+
actionmailbox (= 7.2.0)
|
151
|
+
actionmailer (= 7.2.0)
|
152
|
+
actionpack (= 7.2.0)
|
153
|
+
actiontext (= 7.2.0)
|
154
|
+
actionview (= 7.2.0)
|
155
|
+
activejob (= 7.2.0)
|
156
|
+
activemodel (= 7.2.0)
|
157
|
+
activerecord (= 7.2.0)
|
158
|
+
activestorage (= 7.2.0)
|
159
|
+
activesupport (= 7.2.0)
|
164
160
|
bundler (>= 1.15.0)
|
165
|
-
railties (= 7.
|
161
|
+
railties (= 7.2.0)
|
166
162
|
rails-dom-testing (2.2.0)
|
167
163
|
activesupport (>= 5.0.0)
|
168
164
|
minitest
|
@@ -170,18 +166,18 @@ GEM
|
|
170
166
|
rails-html-sanitizer (1.6.0)
|
171
167
|
loofah (~> 2.21)
|
172
168
|
nokogiri (~> 1.14)
|
173
|
-
railties (7.
|
174
|
-
actionpack (= 7.
|
175
|
-
activesupport (= 7.
|
176
|
-
irb
|
169
|
+
railties (7.2.0)
|
170
|
+
actionpack (= 7.2.0)
|
171
|
+
activesupport (= 7.2.0)
|
172
|
+
irb (~> 1.13)
|
177
173
|
rackup (>= 1.0.0)
|
178
174
|
rake (>= 12.2)
|
179
175
|
thor (~> 1.0, >= 1.2.2)
|
180
176
|
zeitwerk (~> 2.6)
|
181
177
|
rake (13.0.6)
|
182
|
-
rdoc (6.
|
178
|
+
rdoc (6.7.0)
|
183
179
|
psych (>= 4.0.0)
|
184
|
-
reline (0.5.
|
180
|
+
reline (0.5.9)
|
185
181
|
io-console (~> 0.5)
|
186
182
|
rest-client (2.1.0)
|
187
183
|
http-accept (>= 1.7.0, < 2.0)
|
@@ -201,16 +197,18 @@ GEM
|
|
201
197
|
diff-lcs (>= 1.2.0, < 2.0)
|
202
198
|
rspec-support (~> 3.12.0)
|
203
199
|
rspec-support (3.12.1)
|
204
|
-
|
200
|
+
securerandom (0.3.1)
|
201
|
+
stringio (3.1.1)
|
205
202
|
thor (1.3.1)
|
206
203
|
timeout (0.4.1)
|
207
204
|
tzinfo (2.0.6)
|
208
205
|
concurrent-ruby (~> 1.0)
|
206
|
+
useragent (0.16.10)
|
209
207
|
webrick (1.8.1)
|
210
208
|
websocket-driver (0.7.6)
|
211
209
|
websocket-extensions (>= 0.1.0)
|
212
210
|
websocket-extensions (0.1.5)
|
213
|
-
zeitwerk (2.6.
|
211
|
+
zeitwerk (2.6.17)
|
214
212
|
|
215
213
|
PLATFORMS
|
216
214
|
arm64-darwin-23
|
@@ -27,9 +27,10 @@ module HttpStore
|
|
27
27
|
def store_request
|
28
28
|
return unless HttpStore.config.store_enable
|
29
29
|
|
30
|
-
@meta.parent_id
|
31
|
-
|
32
|
-
@storeable_record.
|
30
|
+
@meta.parent_id = storeable_record.id if use_cache?
|
31
|
+
HttpStore::Job::HttpLogStoreJob.perform_later(gen_storable_meta)
|
32
|
+
# @storeable_record = store_class.new(gen_storable_meta)
|
33
|
+
# @storeable_record.save!
|
33
34
|
end
|
34
35
|
|
35
36
|
def store_class
|
data/lib/http_store/version.rb
CHANGED
data/lib/http_store.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.6.
|
4
|
+
version: 0.6.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- black
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -150,6 +150,7 @@ files:
|
|
150
150
|
- lib/http_store/helpers/responseable.rb
|
151
151
|
- lib/http_store/helpers/storable.rb
|
152
152
|
- lib/http_store/http_log.rb
|
153
|
+
- lib/http_store/job/http_log_store_job.rb
|
153
154
|
- lib/http_store/middleware/request_log.rb
|
154
155
|
- lib/http_store/version.rb
|
155
156
|
homepage: https://github.com/308820773/http-store
|