kagaribi 0.2.0 → 0.2.2
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/CHANGELOG.md +13 -1
- data/lib/kagaribi/collection.rb +2 -2
- data/lib/kagaribi/version.rb +1 -1
- data/rbs_collection.lock.yaml +13 -13
- data/sig/kagaribi/collection.rbs +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb99c3431bc48149bedda6d098c443482cf43c9a6e8b88727c8fd21a7aca1b05
|
|
4
|
+
data.tar.gz: 877241c491db80c5b343d70bf6a323868d9aa758628247b7009b56a10aa0751f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 187c06f89b743dbe1b68da09e6a78ea0544a782e5773f8431e23eadd717ffa48c4cd34fdce997fd45acb0de9e711a97458805e0f3abb66e9c7faa636c49c358d
|
|
7
|
+
data.tar.gz: 7d8287149ed1926c7cac4f59fa2383968a35652c7b6d35498f042cf4fb066d084b2bf6fd7c18e51a727b4d2464ce01abfcfa3ba39114b240400d13368a3bafce
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
|
-
[full changelog](http://github.com/sue445/kagaribi/compare/v0.2.
|
|
2
|
+
[full changelog](http://github.com/sue445/kagaribi/compare/v0.2.2...main)
|
|
3
|
+
|
|
4
|
+
## [0.2.2](https://github.com/sue445/kagaribi/releases/tag/v0.2.2) - 2025-11-29
|
|
5
|
+
[full changelog](http://github.com/sue445/kagaribi/compare/v0.2.1...v0.2.2)
|
|
6
|
+
|
|
7
|
+
* Release gem from GitHub Actions
|
|
8
|
+
* https://github.com/sue445/kagaribi/pull/57
|
|
9
|
+
|
|
10
|
+
## [0.2.1](https://github.com/sue445/kagaribi/releases/tag/v0.2.1) - 2025-06-01
|
|
11
|
+
[full changelog](http://github.com/sue445/kagaribi/compare/v0.2.0...v0.2.1)
|
|
12
|
+
|
|
13
|
+
- Tweak `Kagaribi::Collection#exists?` return type
|
|
14
|
+
- https://github.com/sue445/kagaribi/pull/46
|
|
3
15
|
|
|
4
16
|
## [0.2.0](https://github.com/sue445/kagaribi/releases/tag/v0.2.0) - 2025-06-01
|
|
5
17
|
[full changelog](http://github.com/sue445/kagaribi/compare/v0.1.2...v0.2.0)
|
data/lib/kagaribi/collection.rb
CHANGED
|
@@ -85,9 +85,9 @@ module Kagaribi
|
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
# Whether document
|
|
88
|
+
# Whether document exists in collection
|
|
89
89
|
# @param doc_key [String]
|
|
90
|
-
# @return [Boolean]
|
|
90
|
+
# @return [Boolean,nil]
|
|
91
91
|
def exists?(doc_key)
|
|
92
92
|
with_retry("Kagaribi::Collection#exists?") do
|
|
93
93
|
ref = firestore.doc(full_doc_key(doc_key))
|
data/lib/kagaribi/version.rb
CHANGED
data/rbs_collection.lock.yaml
CHANGED
|
@@ -6,7 +6,7 @@ gems:
|
|
|
6
6
|
source:
|
|
7
7
|
type: git
|
|
8
8
|
name: ruby/gem_rbs_collection
|
|
9
|
-
revision:
|
|
9
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
10
10
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
11
11
|
repo_dir: gems
|
|
12
12
|
- name: base64
|
|
@@ -18,7 +18,7 @@ gems:
|
|
|
18
18
|
source:
|
|
19
19
|
type: git
|
|
20
20
|
name: ruby/gem_rbs_collection
|
|
21
|
-
revision:
|
|
21
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
22
22
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
23
23
|
repo_dir: gems
|
|
24
24
|
- name: concurrent-ruby
|
|
@@ -26,7 +26,7 @@ gems:
|
|
|
26
26
|
source:
|
|
27
27
|
type: git
|
|
28
28
|
name: ruby/gem_rbs_collection
|
|
29
|
-
revision:
|
|
29
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
30
30
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
31
31
|
repo_dir: gems
|
|
32
32
|
- name: diff-lcs
|
|
@@ -34,7 +34,7 @@ gems:
|
|
|
34
34
|
source:
|
|
35
35
|
type: git
|
|
36
36
|
name: ruby/gem_rbs_collection
|
|
37
|
-
revision:
|
|
37
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
38
38
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
39
39
|
repo_dir: gems
|
|
40
40
|
- name: faraday
|
|
@@ -42,7 +42,7 @@ gems:
|
|
|
42
42
|
source:
|
|
43
43
|
type: git
|
|
44
44
|
name: ruby/gem_rbs_collection
|
|
45
|
-
revision:
|
|
45
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
46
46
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
47
47
|
repo_dir: gems
|
|
48
48
|
- name: fileutils
|
|
@@ -58,7 +58,7 @@ gems:
|
|
|
58
58
|
source:
|
|
59
59
|
type: git
|
|
60
60
|
name: ruby/gem_rbs_collection
|
|
61
|
-
revision:
|
|
61
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
62
62
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
63
63
|
repo_dir: gems
|
|
64
64
|
- name: google-cloud-firestore
|
|
@@ -66,7 +66,7 @@ gems:
|
|
|
66
66
|
source:
|
|
67
67
|
type: git
|
|
68
68
|
name: ruby/gem_rbs_collection
|
|
69
|
-
revision:
|
|
69
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
70
70
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
71
71
|
repo_dir: gems
|
|
72
72
|
- name: google-protobuf
|
|
@@ -74,7 +74,7 @@ gems:
|
|
|
74
74
|
source:
|
|
75
75
|
type: git
|
|
76
76
|
name: ruby/gem_rbs_collection
|
|
77
|
-
revision:
|
|
77
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
78
78
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
79
79
|
repo_dir: gems
|
|
80
80
|
- name: googleauth
|
|
@@ -82,7 +82,7 @@ gems:
|
|
|
82
82
|
source:
|
|
83
83
|
type: git
|
|
84
84
|
name: ruby/gem_rbs_collection
|
|
85
|
-
revision:
|
|
85
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
86
86
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
87
87
|
repo_dir: gems
|
|
88
88
|
- name: grpc
|
|
@@ -90,7 +90,7 @@ gems:
|
|
|
90
90
|
source:
|
|
91
91
|
type: git
|
|
92
92
|
name: ruby/gem_rbs_collection
|
|
93
|
-
revision:
|
|
93
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
94
94
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
95
95
|
repo_dir: gems
|
|
96
96
|
- name: json
|
|
@@ -102,7 +102,7 @@ gems:
|
|
|
102
102
|
source:
|
|
103
103
|
type: git
|
|
104
104
|
name: ruby/gem_rbs_collection
|
|
105
|
-
revision:
|
|
105
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
106
106
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
107
107
|
repo_dir: gems
|
|
108
108
|
- name: logger
|
|
@@ -126,7 +126,7 @@ gems:
|
|
|
126
126
|
source:
|
|
127
127
|
type: git
|
|
128
128
|
name: ruby/gem_rbs_collection
|
|
129
|
-
revision:
|
|
129
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
130
130
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
131
131
|
repo_dir: gems
|
|
132
132
|
- name: signet
|
|
@@ -134,7 +134,7 @@ gems:
|
|
|
134
134
|
source:
|
|
135
135
|
type: git
|
|
136
136
|
name: ruby/gem_rbs_collection
|
|
137
|
-
revision:
|
|
137
|
+
revision: 04ed82d7df5d5ee825d7864abfa29d624b52e549
|
|
138
138
|
remote: https://github.com/ruby/gem_rbs_collection.git
|
|
139
139
|
repo_dir: gems
|
|
140
140
|
- name: time
|
data/sig/kagaribi/collection.rbs
CHANGED
|
@@ -15,7 +15,7 @@ module Kagaribi
|
|
|
15
15
|
def set: (String doc_key, Hash[untyped, untyped] data) -> void
|
|
16
16
|
def update: (String doc_key, Hash[untyped, untyped] data) -> void
|
|
17
17
|
def get: (String doc_key) -> Hash[Symbol, untyped]
|
|
18
|
-
def exists?: (String doc_key) -> bool
|
|
18
|
+
def exists?: (String doc_key) -> bool?
|
|
19
19
|
def delete: (String doc_key) -> void
|
|
20
20
|
def self.sanitize_key: (String key) -> String
|
|
21
21
|
|
|
@@ -25,7 +25,7 @@ module Kagaribi
|
|
|
25
25
|
def sanitized_collection_name: -> String
|
|
26
26
|
def sanitize_key: (String key) -> String
|
|
27
27
|
def full_doc_key: (String doc_key) -> String
|
|
28
|
-
def with_retry: (String label) { ->
|
|
28
|
+
def with_retry: [T] (String label) { () -> T } -> T
|
|
29
29
|
def retryable_error?: (StandardError error) -> bool
|
|
30
30
|
end
|
|
31
31
|
end
|