pub_sub_model_sync 0.4.2 → 0.4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -0
- data/lib/pub_sub_model_sync/subscriber_concern.rb +2 -1
- data/lib/pub_sub_model_sync/version.rb +1 -1
- data/pub_sub_model_sync.gemspec +1 -0
- 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: 30ddd2acf4ff439f66a35b747794b606dbe7949c31fe3f9bf064e87e718c8e48
|
4
|
+
data.tar.gz: 95724a2190dd0cdb8d9a4ef4e841c90462cd53794dbf5cde7c04e2699171f55a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 417260220e8c7c89a0fd37a23814d4b5436f29218bd212541b11e9ec1f815cb283fc8f1a1d579dd23ee5ada60c8138cc6a53515ddea2a0ec7dd75c5ee59c2be3
|
7
|
+
data.tar.gz: ded28709d868ec234553ac1d47927d48423f909126fc1a4b119d5cb98801181927883ae1b0b7e01c979b0225bafbd6685f2f7b9d843722da673e3d63760b8057
|
data/.rubocop.yml
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# This is the configuration used to check the rubocop source code.
|
2
2
|
|
3
3
|
AllCops:
|
4
|
+
TargetRubyVersion: 2.4
|
4
5
|
Exclude:
|
5
6
|
- 'spec/spec_helper.rb'
|
6
7
|
- 'Gemfile'
|
@@ -11,6 +12,9 @@ Metrics/BlockLength:
|
|
11
12
|
Exclude:
|
12
13
|
- 'spec/**/*.rb'
|
13
14
|
|
15
|
+
Layout/LineLength:
|
16
|
+
Max: 80
|
17
|
+
|
14
18
|
Style/SymbolArray:
|
15
19
|
Exclude:
|
16
20
|
- 'Gemfile'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
# 0.4.2.1 (August 20, 2020)
|
4
|
+
- Improve ```ps_subscriber_changed?``` to run validations and check for changes
|
5
|
+
|
6
|
+
# 0.4.2 (May 12, 2020)
|
7
|
+
- chore: remove typo
|
8
|
+
|
3
9
|
# 0.4.1 (May 12, 2020)
|
4
10
|
- chore: improve log messages
|
5
11
|
- feat: do not update model if no changes
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -272,6 +272,12 @@ Note: Be careful with collision of names
|
|
272
272
|
end
|
273
273
|
```
|
274
274
|
|
275
|
+
## TODO
|
276
|
+
- Hooks/callbacks when message processed or failed
|
277
|
+
- Add alias attributes when subscribing (similar to publisher)
|
278
|
+
- Add flag ```model.ps_processing``` to indicate that the current transaction is being processed by pub/sub
|
279
|
+
|
280
|
+
|
275
281
|
## Contributing
|
276
282
|
|
277
283
|
Bug reports and pull requests are welcome on GitHub at https://github.com/owen2345/pub_sub_model_sync. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/pub_sub_model_sync.gemspec
CHANGED
@@ -5,6 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
require 'pub_sub_model_sync/version'
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
|
+
spec.required_ruby_version = '>= 2.4'
|
8
9
|
spec.name = 'pub_sub_model_sync'
|
9
10
|
spec.version = PubSubModelSync::VERSION
|
10
11
|
spec.authors = ['Owen']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pub_sub_model_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.2
|
4
|
+
version: 0.4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
139
|
requirements:
|
140
140
|
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version: '
|
142
|
+
version: '2.4'
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - ">="
|