pg_eventstore 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d164756463155daaa363ac2c51d2b85097559d471912af64298e988d6a1831bb
|
4
|
+
data.tar.gz: a3b727ae69c0cc4d897b9c1bc9ca4d2495677280f64f4af177ae790cefdfec1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc96f8a831df8271c74aa4ec9570016c740f454ce3b48cca41e070ec41166d4aea46e68d5630707c30c797aa4ec922f982c53c147c90e2e665eb7f14118ed84b
|
7
|
+
data.tar.gz: c1f8daa5fb4ff0b243d3d34ae8846aef18d20dadf0284f7ac5e9d8c159f2f2fdfe622124c6186a4cc566a445c90228b27814ad93d7b4db3cdf98f793fc564670
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [1.0.3]
|
4
|
+
- Do no update `Subscription#last_chunk_fed_at` if the chunk is empty
|
5
|
+
|
6
|
+
## [1.0.2]
|
7
|
+
- UI: Fix opening of SubscriptionsSet tab of non-existing SubscriptionsSet
|
8
|
+
|
3
9
|
## [1.0.1]
|
4
10
|
- Adjust assets urls to correctly act when mounting sinatra app under non-root url
|
5
11
|
|
@@ -106,7 +106,9 @@ module PgEventstore
|
|
106
106
|
# @param global_position [Integer, nil]
|
107
107
|
# @return [void]
|
108
108
|
def update_subscription_chunk_stats(global_position)
|
109
|
-
|
109
|
+
# nil means subscriptions events query were executed, but there were no new events
|
110
|
+
return @subscription.update(updated_at: Time.now.utc) if global_position.nil?
|
111
|
+
|
110
112
|
@subscription.update(last_chunk_fed_at: Time.now.utc, last_chunk_greatest_position: global_position)
|
111
113
|
end
|
112
114
|
|
@@ -144,7 +144,9 @@ $(function(){
|
|
144
144
|
// Open correct SubscriptionsSet tab on page load based on location's hash value. So, e.g., if you navigated to
|
145
145
|
// #set-1 SubscriptionsSet, then, on page reload - the correct tab will be opened
|
146
146
|
if(window.location.hash !== "") {
|
147
|
-
$(`.set-tab[href="${window.location.hash}"]`).get(0)
|
147
|
+
let link = $(`.set-tab[href="${window.location.hash}"]`).get(0);
|
148
|
+
if(link)
|
149
|
+
link.click();
|
148
150
|
}
|
149
151
|
});
|
150
152
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_eventstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Dzyzenko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|