table_sync 6.4.2 → 6.5.0
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/.github/workflows/ci.yml +1 -1
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +57 -57
- data/lib/table_sync/publishing/helpers/debounce.rb +5 -1
- data/lib/table_sync/version.rb +1 -1
- data/table_sync.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 188faa6e4d1f0f2c4f75c856a0db87aabafa32f2d52e65365f03f3ce2e683c33
|
|
4
|
+
data.tar.gz: b9ea561a3f7ad3bf31359d32e81997dd91c6dcdb9beb8f6a90cbbe81955a974b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 228c9b2ec6f2fb08edea95753cd6e05a570ef61358823bc3ab33daf32ec30bfc926dfbcdbcfbe74fb38a850a8afb4e5bc9a71eba43277fc1e52a625e5cf79ee6
|
|
7
|
+
data.tar.gz: 0c78b40a8a4c2b5d852fcf70559e419dc62a70bc9fc0240d2bd30d9f7145f093bc432a434b0083b8d55975ff9302776c8912b394f67a825148732d6de7430d4c
|
data/.github/workflows/ci.yml
CHANGED
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [6.5.0] - 2024-03-19
|
|
5
|
+
### Added
|
|
6
|
+
- Add ruby 3.3 to ci workflow
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- Add expiration time for cache used in debouncing sync
|
|
10
|
+
- Update dependencies
|
|
11
|
+
- Fix rubocop issue
|
|
12
|
+
- Drop ruby 2.7 support
|
|
13
|
+
|
|
14
|
+
### Removed
|
|
15
|
+
- Remove ruby 2.7 from ci workflow
|
|
16
|
+
|
|
4
17
|
## [6.4.2] - 2023-11-14
|
|
5
18
|
### Added
|
|
6
19
|
- Required fields allow accepting empty collections.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
table_sync (6.
|
|
4
|
+
table_sync (6.5.0)
|
|
5
5
|
memery
|
|
6
6
|
rabbit_messaging (~> 0.13)
|
|
7
7
|
rails
|
|
@@ -10,67 +10,67 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
actioncable (7.0.
|
|
14
|
-
actionpack (= 7.0.
|
|
15
|
-
activesupport (= 7.0.
|
|
13
|
+
actioncable (7.0.8.1)
|
|
14
|
+
actionpack (= 7.0.8.1)
|
|
15
|
+
activesupport (= 7.0.8.1)
|
|
16
16
|
nio4r (~> 2.0)
|
|
17
17
|
websocket-driver (>= 0.6.1)
|
|
18
|
-
actionmailbox (7.0.
|
|
19
|
-
actionpack (= 7.0.
|
|
20
|
-
activejob (= 7.0.
|
|
21
|
-
activerecord (= 7.0.
|
|
22
|
-
activestorage (= 7.0.
|
|
23
|
-
activesupport (= 7.0.
|
|
18
|
+
actionmailbox (7.0.8.1)
|
|
19
|
+
actionpack (= 7.0.8.1)
|
|
20
|
+
activejob (= 7.0.8.1)
|
|
21
|
+
activerecord (= 7.0.8.1)
|
|
22
|
+
activestorage (= 7.0.8.1)
|
|
23
|
+
activesupport (= 7.0.8.1)
|
|
24
24
|
mail (>= 2.7.1)
|
|
25
25
|
net-imap
|
|
26
26
|
net-pop
|
|
27
27
|
net-smtp
|
|
28
|
-
actionmailer (7.0.
|
|
29
|
-
actionpack (= 7.0.
|
|
30
|
-
actionview (= 7.0.
|
|
31
|
-
activejob (= 7.0.
|
|
32
|
-
activesupport (= 7.0.
|
|
28
|
+
actionmailer (7.0.8.1)
|
|
29
|
+
actionpack (= 7.0.8.1)
|
|
30
|
+
actionview (= 7.0.8.1)
|
|
31
|
+
activejob (= 7.0.8.1)
|
|
32
|
+
activesupport (= 7.0.8.1)
|
|
33
33
|
mail (~> 2.5, >= 2.5.4)
|
|
34
34
|
net-imap
|
|
35
35
|
net-pop
|
|
36
36
|
net-smtp
|
|
37
37
|
rails-dom-testing (~> 2.0)
|
|
38
|
-
actionpack (7.0.
|
|
39
|
-
actionview (= 7.0.
|
|
40
|
-
activesupport (= 7.0.
|
|
38
|
+
actionpack (7.0.8.1)
|
|
39
|
+
actionview (= 7.0.8.1)
|
|
40
|
+
activesupport (= 7.0.8.1)
|
|
41
41
|
rack (~> 2.0, >= 2.2.4)
|
|
42
42
|
rack-test (>= 0.6.3)
|
|
43
43
|
rails-dom-testing (~> 2.0)
|
|
44
44
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
45
|
-
actiontext (7.0.
|
|
46
|
-
actionpack (= 7.0.
|
|
47
|
-
activerecord (= 7.0.
|
|
48
|
-
activestorage (= 7.0.
|
|
49
|
-
activesupport (= 7.0.
|
|
45
|
+
actiontext (7.0.8.1)
|
|
46
|
+
actionpack (= 7.0.8.1)
|
|
47
|
+
activerecord (= 7.0.8.1)
|
|
48
|
+
activestorage (= 7.0.8.1)
|
|
49
|
+
activesupport (= 7.0.8.1)
|
|
50
50
|
globalid (>= 0.6.0)
|
|
51
51
|
nokogiri (>= 1.8.5)
|
|
52
|
-
actionview (7.0.
|
|
53
|
-
activesupport (= 7.0.
|
|
52
|
+
actionview (7.0.8.1)
|
|
53
|
+
activesupport (= 7.0.8.1)
|
|
54
54
|
builder (~> 3.1)
|
|
55
55
|
erubi (~> 1.4)
|
|
56
56
|
rails-dom-testing (~> 2.0)
|
|
57
57
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
58
|
-
activejob (7.0.
|
|
59
|
-
activesupport (= 7.0.
|
|
58
|
+
activejob (7.0.8.1)
|
|
59
|
+
activesupport (= 7.0.8.1)
|
|
60
60
|
globalid (>= 0.3.6)
|
|
61
|
-
activemodel (7.0.
|
|
62
|
-
activesupport (= 7.0.
|
|
63
|
-
activerecord (7.0.
|
|
64
|
-
activemodel (= 7.0.
|
|
65
|
-
activesupport (= 7.0.
|
|
66
|
-
activestorage (7.0.
|
|
67
|
-
actionpack (= 7.0.
|
|
68
|
-
activejob (= 7.0.
|
|
69
|
-
activerecord (= 7.0.
|
|
70
|
-
activesupport (= 7.0.
|
|
61
|
+
activemodel (7.0.8.1)
|
|
62
|
+
activesupport (= 7.0.8.1)
|
|
63
|
+
activerecord (7.0.8.1)
|
|
64
|
+
activemodel (= 7.0.8.1)
|
|
65
|
+
activesupport (= 7.0.8.1)
|
|
66
|
+
activestorage (7.0.8.1)
|
|
67
|
+
actionpack (= 7.0.8.1)
|
|
68
|
+
activejob (= 7.0.8.1)
|
|
69
|
+
activerecord (= 7.0.8.1)
|
|
70
|
+
activesupport (= 7.0.8.1)
|
|
71
71
|
marcel (~> 1.0)
|
|
72
72
|
mini_mime (>= 1.1.0)
|
|
73
|
-
activesupport (7.0.
|
|
73
|
+
activesupport (7.0.8.1)
|
|
74
74
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
75
75
|
i18n (>= 1.6, < 2)
|
|
76
76
|
minitest (>= 5.1)
|
|
@@ -106,7 +106,7 @@ GEM
|
|
|
106
106
|
net-imap
|
|
107
107
|
net-pop
|
|
108
108
|
net-smtp
|
|
109
|
-
marcel (1.0.
|
|
109
|
+
marcel (1.0.4)
|
|
110
110
|
memery (1.5.0)
|
|
111
111
|
ruby2_keywords (~> 0.0.2)
|
|
112
112
|
method_source (1.0.0)
|
|
@@ -123,7 +123,7 @@ GEM
|
|
|
123
123
|
net-smtp (0.3.3)
|
|
124
124
|
net-protocol
|
|
125
125
|
nio4r (2.5.9)
|
|
126
|
-
nokogiri (1.
|
|
126
|
+
nokogiri (1.16.3)
|
|
127
127
|
mini_portile2 (~> 2.8.2)
|
|
128
128
|
racc (~> 1.4)
|
|
129
129
|
parallel (1.23.0)
|
|
@@ -141,23 +141,23 @@ GEM
|
|
|
141
141
|
sneakers (~> 2.0)
|
|
142
142
|
tainbox
|
|
143
143
|
racc (1.7.1)
|
|
144
|
-
rack (2.2.8)
|
|
144
|
+
rack (2.2.8.1)
|
|
145
145
|
rack-test (2.1.0)
|
|
146
146
|
rack (>= 1.3)
|
|
147
|
-
rails (7.0.
|
|
148
|
-
actioncable (= 7.0.
|
|
149
|
-
actionmailbox (= 7.0.
|
|
150
|
-
actionmailer (= 7.0.
|
|
151
|
-
actionpack (= 7.0.
|
|
152
|
-
actiontext (= 7.0.
|
|
153
|
-
actionview (= 7.0.
|
|
154
|
-
activejob (= 7.0.
|
|
155
|
-
activemodel (= 7.0.
|
|
156
|
-
activerecord (= 7.0.
|
|
157
|
-
activestorage (= 7.0.
|
|
158
|
-
activesupport (= 7.0.
|
|
147
|
+
rails (7.0.8.1)
|
|
148
|
+
actioncable (= 7.0.8.1)
|
|
149
|
+
actionmailbox (= 7.0.8.1)
|
|
150
|
+
actionmailer (= 7.0.8.1)
|
|
151
|
+
actionpack (= 7.0.8.1)
|
|
152
|
+
actiontext (= 7.0.8.1)
|
|
153
|
+
actionview (= 7.0.8.1)
|
|
154
|
+
activejob (= 7.0.8.1)
|
|
155
|
+
activemodel (= 7.0.8.1)
|
|
156
|
+
activerecord (= 7.0.8.1)
|
|
157
|
+
activestorage (= 7.0.8.1)
|
|
158
|
+
activesupport (= 7.0.8.1)
|
|
159
159
|
bundler (>= 1.15.0)
|
|
160
|
-
railties (= 7.0.
|
|
160
|
+
railties (= 7.0.8.1)
|
|
161
161
|
rails-dom-testing (2.2.0)
|
|
162
162
|
activesupport (>= 5.0.0)
|
|
163
163
|
minitest
|
|
@@ -165,9 +165,9 @@ GEM
|
|
|
165
165
|
rails-html-sanitizer (1.6.0)
|
|
166
166
|
loofah (~> 2.21)
|
|
167
167
|
nokogiri (~> 1.14)
|
|
168
|
-
railties (7.0.
|
|
169
|
-
actionpack (= 7.0.
|
|
170
|
-
activesupport (= 7.0.
|
|
168
|
+
railties (7.0.8.1)
|
|
169
|
+
actionpack (= 7.0.8.1)
|
|
170
|
+
activesupport (= 7.0.8.1)
|
|
171
171
|
method_source
|
|
172
172
|
rake (>= 12.2)
|
|
173
173
|
thor (~> 1.0)
|
|
@@ -124,7 +124,11 @@ module TableSync::Publishing::Helpers
|
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
def cache_next_sync_time
|
|
127
|
-
Rails.cache.write(
|
|
127
|
+
Rails.cache.write(
|
|
128
|
+
cache_key,
|
|
129
|
+
next_sync_time,
|
|
130
|
+
expires_at: next_sync_time + debounce_time.seconds,
|
|
131
|
+
)
|
|
128
132
|
end
|
|
129
133
|
|
|
130
134
|
def cache_key
|
data/lib/table_sync/version.rb
CHANGED
data/table_sync.gemspec
CHANGED
|
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
5
5
|
require "table_sync/version"
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |spec|
|
|
8
|
-
spec.required_ruby_version = ">=
|
|
8
|
+
spec.required_ruby_version = ">= 3.0.0"
|
|
9
9
|
|
|
10
10
|
spec.name = "table_sync"
|
|
11
11
|
spec.version = TableSync::VERSION
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: table_sync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Umbrellio
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: memery
|
|
@@ -143,14 +143,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
143
143
|
requirements:
|
|
144
144
|
- - ">="
|
|
145
145
|
- !ruby/object:Gem::Version
|
|
146
|
-
version:
|
|
146
|
+
version: 3.0.0
|
|
147
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
requirements:
|
|
149
149
|
- - ">="
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
151
|
version: '0'
|
|
152
152
|
requirements: []
|
|
153
|
-
rubygems_version: 3.
|
|
153
|
+
rubygems_version: 3.5.3
|
|
154
154
|
signing_key:
|
|
155
155
|
specification_version: 4
|
|
156
156
|
summary: DB Table synchronization between microservices based on Model's event system
|