http_store 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +68 -52
- data/lib/http_store/helpers/responseable.rb +1 -0
- 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: 7bd83ffa95acb904fd2cad32e58f36cb61c97b2a7f0bdcea84f62212d0f443d8
|
4
|
+
data.tar.gz: 55a747e979981fb0eab7551cce681361913559945ea7702f5ed9377bc979f51e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a96840c07c898e0895158fc5add81e37fdf78c999367470f60bbaca09803adc71f48e5dfda8ab1354e9f23ef48613c61fae153fca272d8c3ef393a18d88882e6
|
7
|
+
data.tar.gz: cfd180ad299426df2df8d0492d8fc8cf771a2da5bbfb9ba3fe56e01601c27060c8be1ecfeca416ef32258c4a3c84a9b821730c12fa314953d5ed764a48010e87
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
http_store (0.3.
|
4
|
+
http_store (0.3.12)
|
5
5
|
activerecord (>= 5.0, < 6.1)
|
6
6
|
hashie (~> 3.0)
|
7
7
|
rails (>= 5, < 7)
|
@@ -10,65 +10,78 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (
|
14
|
-
actionpack (=
|
13
|
+
actioncable (6.0.0)
|
14
|
+
actionpack (= 6.0.0)
|
15
15
|
nio4r (~> 2.0)
|
16
16
|
websocket-driver (>= 0.6.1)
|
17
|
-
|
18
|
-
actionpack (=
|
19
|
-
|
20
|
-
|
17
|
+
actionmailbox (6.0.0)
|
18
|
+
actionpack (= 6.0.0)
|
19
|
+
activejob (= 6.0.0)
|
20
|
+
activerecord (= 6.0.0)
|
21
|
+
activestorage (= 6.0.0)
|
22
|
+
activesupport (= 6.0.0)
|
23
|
+
mail (>= 2.7.1)
|
24
|
+
actionmailer (6.0.0)
|
25
|
+
actionpack (= 6.0.0)
|
26
|
+
actionview (= 6.0.0)
|
27
|
+
activejob (= 6.0.0)
|
21
28
|
mail (~> 2.5, >= 2.5.4)
|
22
29
|
rails-dom-testing (~> 2.0)
|
23
|
-
actionpack (
|
24
|
-
actionview (=
|
25
|
-
activesupport (=
|
30
|
+
actionpack (6.0.0)
|
31
|
+
actionview (= 6.0.0)
|
32
|
+
activesupport (= 6.0.0)
|
26
33
|
rack (~> 2.0)
|
27
34
|
rack-test (>= 0.6.3)
|
28
35
|
rails-dom-testing (~> 2.0)
|
29
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
30
|
-
|
31
|
-
|
36
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
37
|
+
actiontext (6.0.0)
|
38
|
+
actionpack (= 6.0.0)
|
39
|
+
activerecord (= 6.0.0)
|
40
|
+
activestorage (= 6.0.0)
|
41
|
+
activesupport (= 6.0.0)
|
42
|
+
nokogiri (>= 1.8.5)
|
43
|
+
actionview (6.0.0)
|
44
|
+
activesupport (= 6.0.0)
|
32
45
|
builder (~> 3.1)
|
33
46
|
erubi (~> 1.4)
|
34
47
|
rails-dom-testing (~> 2.0)
|
35
|
-
rails-html-sanitizer (~> 1.
|
36
|
-
activejob (
|
37
|
-
activesupport (=
|
48
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
49
|
+
activejob (6.0.0)
|
50
|
+
activesupport (= 6.0.0)
|
38
51
|
globalid (>= 0.3.6)
|
39
|
-
activemodel (
|
40
|
-
activesupport (=
|
41
|
-
activerecord (
|
42
|
-
activemodel (=
|
43
|
-
activesupport (=
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
activerecord (=
|
52
|
+
activemodel (6.0.0)
|
53
|
+
activesupport (= 6.0.0)
|
54
|
+
activerecord (6.0.0)
|
55
|
+
activemodel (= 6.0.0)
|
56
|
+
activesupport (= 6.0.0)
|
57
|
+
activestorage (6.0.0)
|
58
|
+
actionpack (= 6.0.0)
|
59
|
+
activejob (= 6.0.0)
|
60
|
+
activerecord (= 6.0.0)
|
48
61
|
marcel (~> 0.3.1)
|
49
|
-
activesupport (
|
62
|
+
activesupport (6.0.0)
|
50
63
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
51
64
|
i18n (>= 0.7, < 2)
|
52
65
|
minitest (~> 5.1)
|
53
66
|
tzinfo (~> 1.1)
|
54
|
-
|
67
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
55
68
|
builder (3.2.3)
|
56
69
|
byebug (11.0.1)
|
57
70
|
concurrent-ruby (1.1.5)
|
58
|
-
crass (1.0.
|
71
|
+
crass (1.0.5)
|
59
72
|
diff-lcs (1.3)
|
60
73
|
domain_name (0.5.20190701)
|
61
74
|
unf (>= 0.0.5, < 1.0.0)
|
62
|
-
erubi (1.
|
75
|
+
erubi (1.9.0)
|
63
76
|
globalid (0.4.2)
|
64
77
|
activesupport (>= 4.2.0)
|
65
78
|
hashie (3.6.0)
|
66
79
|
http-accept (1.7.0)
|
67
80
|
http-cookie (1.0.3)
|
68
81
|
domain_name (~> 0.5)
|
69
|
-
i18n (1.
|
82
|
+
i18n (1.7.0)
|
70
83
|
concurrent-ruby (~> 1.0)
|
71
|
-
loofah (2.
|
84
|
+
loofah (2.3.1)
|
72
85
|
crass (~> 1.0.2)
|
73
86
|
nokogiri (>= 1.5.9)
|
74
87
|
mail (2.7.1)
|
@@ -78,42 +91,44 @@ GEM
|
|
78
91
|
method_source (0.9.2)
|
79
92
|
mime-types (3.3)
|
80
93
|
mime-types-data (~> 3.2015)
|
81
|
-
mime-types-data (3.2019.
|
94
|
+
mime-types-data (3.2019.1009)
|
82
95
|
mimemagic (0.3.3)
|
83
96
|
mini_mime (1.0.2)
|
84
97
|
mini_portile2 (2.4.0)
|
85
|
-
minitest (5.
|
98
|
+
minitest (5.12.2)
|
86
99
|
netrc (0.11.0)
|
87
|
-
nio4r (2.5.
|
100
|
+
nio4r (2.5.2)
|
88
101
|
nokogiri (1.10.4)
|
89
102
|
mini_portile2 (~> 2.4.0)
|
90
103
|
rack (2.0.7)
|
91
104
|
rack-test (1.1.0)
|
92
105
|
rack (>= 1.0, < 3)
|
93
|
-
rails (
|
94
|
-
actioncable (=
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
106
|
+
rails (6.0.0)
|
107
|
+
actioncable (= 6.0.0)
|
108
|
+
actionmailbox (= 6.0.0)
|
109
|
+
actionmailer (= 6.0.0)
|
110
|
+
actionpack (= 6.0.0)
|
111
|
+
actiontext (= 6.0.0)
|
112
|
+
actionview (= 6.0.0)
|
113
|
+
activejob (= 6.0.0)
|
114
|
+
activemodel (= 6.0.0)
|
115
|
+
activerecord (= 6.0.0)
|
116
|
+
activestorage (= 6.0.0)
|
117
|
+
activesupport (= 6.0.0)
|
103
118
|
bundler (>= 1.3.0)
|
104
|
-
railties (=
|
119
|
+
railties (= 6.0.0)
|
105
120
|
sprockets-rails (>= 2.0.0)
|
106
121
|
rails-dom-testing (2.0.3)
|
107
122
|
activesupport (>= 4.2.0)
|
108
123
|
nokogiri (>= 1.6)
|
109
|
-
rails-html-sanitizer (1.
|
110
|
-
loofah (~> 2.
|
111
|
-
railties (
|
112
|
-
actionpack (=
|
113
|
-
activesupport (=
|
124
|
+
rails-html-sanitizer (1.3.0)
|
125
|
+
loofah (~> 2.3)
|
126
|
+
railties (6.0.0)
|
127
|
+
actionpack (= 6.0.0)
|
128
|
+
activesupport (= 6.0.0)
|
114
129
|
method_source
|
115
130
|
rake (>= 0.8.7)
|
116
|
-
thor (>= 0.
|
131
|
+
thor (>= 0.20.3, < 2.0)
|
117
132
|
rake (10.5.0)
|
118
133
|
rest-client (2.1.0)
|
119
134
|
http-accept (>= 1.7.0, < 2.0)
|
@@ -133,7 +148,7 @@ GEM
|
|
133
148
|
diff-lcs (>= 1.2.0, < 2.0)
|
134
149
|
rspec-support (~> 3.8.0)
|
135
150
|
rspec-support (3.8.2)
|
136
|
-
sprockets (
|
151
|
+
sprockets (4.0.0)
|
137
152
|
concurrent-ruby (~> 1.0)
|
138
153
|
rack (> 1, < 3)
|
139
154
|
sprockets-rails (3.2.1)
|
@@ -150,6 +165,7 @@ GEM
|
|
150
165
|
websocket-driver (0.7.1)
|
151
166
|
websocket-extensions (>= 0.1.0)
|
152
167
|
websocket-extensions (0.1.4)
|
168
|
+
zeitwerk (2.2.0)
|
153
169
|
|
154
170
|
PLATFORMS
|
155
171
|
ruby
|
@@ -18,6 +18,7 @@ module HttpStore
|
|
18
18
|
@meta.response_valid = response_valid?
|
19
19
|
@meta.response_code = build_response_code
|
20
20
|
@meta.response_data = build_response_data
|
21
|
+
@meta.cache_response = cache_response?
|
21
22
|
raise HttpStore::RequestError, '三方请求异常, 请与管理员联系' if response_data.blank?
|
22
23
|
end
|
23
24
|
|
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.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- black
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
188
|
requirements: []
|
189
|
-
rubygems_version: 3.0.
|
189
|
+
rubygems_version: 3.0.6
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: store the http request, it based on rest-client
|