http_store 0.3.14 → 0.3.15

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: 30472cf7c95853d0e74777805a722fbc176ee5907fe1a008016b01a43092d3ed
4
- data.tar.gz: a279855ab50bef61c386dcd8206516e74251665933200e540e41403c489a1eaa
3
+ metadata.gz: ab2f3e80f1c8a6d5ffce3c6393ee4ec304986deb01396b5462f1d485191acd41
4
+ data.tar.gz: cbff2df0c9d9c0fc84fd197de25ef7ed597425b45f754a8a8dfbaa0a35dce1c1
5
5
  SHA512:
6
- metadata.gz: 96e5457de9b372c16c56f929d163bf79eca5787661485f435641756a8de474329e7da603aedd417fe969341d0790bd44a151896e882fd8c9b859b22727a29cb7
7
- data.tar.gz: e6b68df9818894a814e73f140b7422a18d42b6d27c28730d1ee5c674072cf2de5d07d39bb1e58256153fb5a6ad5028d79734a91f707e63fc4161d7ce4c990499
6
+ metadata.gz: 252015a8e3e4d7bfc4bc5cb7602f9171d00e00c1b19296f2571e94c4c04344c13b5052bd90c0c83d9218f6893b7053c6d68e3839f47301ffd02687e72e336bcf
7
+ data.tar.gz: 567b619a91c16a60d38da313e37d43f603a50018c221e88ff48e2b23cbd9bbe82afc36e1e45a3a2fb29a96905a4a29cf4c1562c6e41a7e9f902e7de388ae548a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- http_store (0.3.14)
4
+ http_store (0.3.15)
5
5
  activerecord (>= 5.0, < 6.1)
6
6
  hashie (~> 3.0)
7
7
  rails (>= 5, < 7)
@@ -10,78 +10,65 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (6.0.0)
14
- actionpack (= 6.0.0)
13
+ actioncable (5.2.3)
14
+ actionpack (= 5.2.3)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
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)
17
+ actionmailer (5.2.3)
18
+ actionpack (= 5.2.3)
19
+ actionview (= 5.2.3)
20
+ activejob (= 5.2.3)
28
21
  mail (~> 2.5, >= 2.5.4)
29
22
  rails-dom-testing (~> 2.0)
30
- actionpack (6.0.0)
31
- actionview (= 6.0.0)
32
- activesupport (= 6.0.0)
23
+ actionpack (5.2.3)
24
+ actionview (= 5.2.3)
25
+ activesupport (= 5.2.3)
33
26
  rack (~> 2.0)
34
27
  rack-test (>= 0.6.3)
35
28
  rails-dom-testing (~> 2.0)
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)
29
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
+ actionview (5.2.3)
31
+ activesupport (= 5.2.3)
45
32
  builder (~> 3.1)
46
33
  erubi (~> 1.4)
47
34
  rails-dom-testing (~> 2.0)
48
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.0.0)
50
- activesupport (= 6.0.0)
35
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
+ activejob (5.2.3)
37
+ activesupport (= 5.2.3)
51
38
  globalid (>= 0.3.6)
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)
39
+ activemodel (5.2.3)
40
+ activesupport (= 5.2.3)
41
+ activerecord (5.2.3)
42
+ activemodel (= 5.2.3)
43
+ activesupport (= 5.2.3)
44
+ arel (>= 9.0)
45
+ activestorage (5.2.3)
46
+ actionpack (= 5.2.3)
47
+ activerecord (= 5.2.3)
61
48
  marcel (~> 0.3.1)
62
- activesupport (6.0.0)
49
+ activesupport (5.2.3)
63
50
  concurrent-ruby (~> 1.0, >= 1.0.2)
64
51
  i18n (>= 0.7, < 2)
65
52
  minitest (~> 5.1)
66
53
  tzinfo (~> 1.1)
67
- zeitwerk (~> 2.1, >= 2.1.8)
54
+ arel (9.0.0)
68
55
  builder (3.2.3)
69
56
  byebug (11.0.1)
70
57
  concurrent-ruby (1.1.5)
71
- crass (1.0.5)
58
+ crass (1.0.4)
72
59
  diff-lcs (1.3)
73
60
  domain_name (0.5.20190701)
74
61
  unf (>= 0.0.5, < 1.0.0)
75
- erubi (1.9.0)
62
+ erubi (1.8.0)
76
63
  globalid (0.4.2)
77
64
  activesupport (>= 4.2.0)
78
65
  hashie (3.6.0)
79
66
  http-accept (1.7.0)
80
67
  http-cookie (1.0.3)
81
68
  domain_name (~> 0.5)
82
- i18n (1.7.0)
69
+ i18n (1.6.0)
83
70
  concurrent-ruby (~> 1.0)
84
- loofah (2.3.1)
71
+ loofah (2.2.3)
85
72
  crass (~> 1.0.2)
86
73
  nokogiri (>= 1.5.9)
87
74
  mail (2.7.1)
@@ -95,40 +82,38 @@ GEM
95
82
  mimemagic (0.3.3)
96
83
  mini_mime (1.0.2)
97
84
  mini_portile2 (2.4.0)
98
- minitest (5.12.2)
85
+ minitest (5.11.3)
99
86
  netrc (0.11.0)
100
- nio4r (2.5.2)
87
+ nio4r (2.5.1)
101
88
  nokogiri (1.10.4)
102
89
  mini_portile2 (~> 2.4.0)
103
90
  rack (2.0.7)
104
91
  rack-test (1.1.0)
105
92
  rack (>= 1.0, < 3)
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)
93
+ rails (5.2.3)
94
+ actioncable (= 5.2.3)
95
+ actionmailer (= 5.2.3)
96
+ actionpack (= 5.2.3)
97
+ actionview (= 5.2.3)
98
+ activejob (= 5.2.3)
99
+ activemodel (= 5.2.3)
100
+ activerecord (= 5.2.3)
101
+ activestorage (= 5.2.3)
102
+ activesupport (= 5.2.3)
118
103
  bundler (>= 1.3.0)
119
- railties (= 6.0.0)
104
+ railties (= 5.2.3)
120
105
  sprockets-rails (>= 2.0.0)
121
106
  rails-dom-testing (2.0.3)
122
107
  activesupport (>= 4.2.0)
123
108
  nokogiri (>= 1.6)
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)
109
+ rails-html-sanitizer (1.2.0)
110
+ loofah (~> 2.2, >= 2.2.2)
111
+ railties (5.2.3)
112
+ actionpack (= 5.2.3)
113
+ activesupport (= 5.2.3)
129
114
  method_source
130
115
  rake (>= 0.8.7)
131
- thor (>= 0.20.3, < 2.0)
116
+ thor (>= 0.19.0, < 2.0)
132
117
  rake (10.5.0)
133
118
  rest-client (2.1.0)
134
119
  http-accept (>= 1.7.0, < 2.0)
@@ -148,7 +133,7 @@ GEM
148
133
  diff-lcs (>= 1.2.0, < 2.0)
149
134
  rspec-support (~> 3.8.0)
150
135
  rspec-support (3.8.2)
151
- sprockets (4.0.0)
136
+ sprockets (3.7.2)
152
137
  concurrent-ruby (~> 1.0)
153
138
  rack (> 1, < 3)
154
139
  sprockets-rails (3.2.1)
@@ -165,7 +150,6 @@ GEM
165
150
  websocket-driver (0.7.1)
166
151
  websocket-extensions (>= 0.1.0)
167
152
  websocket-extensions (0.1.4)
168
- zeitwerk (2.2.0)
169
153
 
170
154
  PLATFORMS
171
155
  ruby
@@ -26,7 +26,7 @@ module HttpStore
26
26
  return unless HttpStore.config.store_enable
27
27
 
28
28
  @meta.parent_id = storeable_record.id if use_cache?
29
- @storeable_record = HttpStore.config.store_class.new(storable_meta)
29
+ @storeable_record = HttpStore.config.store_class.new(gen_storable_meta)
30
30
  @storeable_record.save!
31
31
  end
32
32
 
@@ -34,10 +34,6 @@ module HttpStore
34
34
  @use_cache ||= !@meta.force && storeable_record.present?
35
35
  end
36
36
 
37
- def storable_meta
38
- @storable_meta ||= gen_storable_meta
39
- end
40
-
41
37
  def gen_storable_meta
42
38
  @meta.slice(*HttpStore::STORE_KEYS).map do |k, v|
43
39
  [k, v.is_a?(Hash) || v.is_a?(Array) ? storable(v).to_json[0..STRING_LIMIT_SIZE] : v]
@@ -1,3 +1,3 @@
1
1
  module HttpStore
2
- VERSION = "0.3.14"
2
+ VERSION = "0.3.15"
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.3.14
4
+ version: 0.3.15
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-25 00:00:00.000000000 Z
11
+ date: 2019-11-04 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.6
189
+ rubygems_version: 3.0.4
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: store the http request, it based on rest-client