groonga-delta 1.0.0 → 1.0.1

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: ddcaa199b89bab185924a694bf7e64e1b6a8c2cd63d1ea855f59a5ac456c317e
4
- data.tar.gz: 06a1a8e01e343b4fca3faf2cc8139ed8adaadc6aeb55c7c6315e1c1bc7f40962
3
+ metadata.gz: f518dc76e259b9697b95be025f4e55b1e7fad3daea738a405b3d6a564c65ed76
4
+ data.tar.gz: ef1be1c1f200ddc94b9460c7216d9e7832993fdbe1ada926f31e87e01e5c5628
5
5
  SHA512:
6
- metadata.gz: 39252c1602f63ff3eeddafdb676bdeef1334bed4df5a0e29fb8d14f0ae1467b98b925829333be865badf7bc3ec9fae332477e4dd6dc78c81cfddfa12e4bd8734
7
- data.tar.gz: cc50bce6f1da66d697bf0ce97a191e1d67fa474af9a795c0f709e15d0fbf60f94a551af902b58a2f6eac6fbf2c637524335728269e1e211f3c1f35e84eb232d5
6
+ metadata.gz: 54cb45f40a7d6a676abee8f41c9eb66dd6992f7f0b07b030e9222a75da0435b02ed61361b7bff051e67acfde7cd7d1fc41ad1186c51606051ea921c5cebb674e
7
+ data.tar.gz: b932e4c42a5f424fb2b6e4f423c9c248bc032acffa6884fa953aeee2f0863022125666d072b18bbe5bc01d4f4eae68fc7156cb8401d9280380e08b57a2e458e0
data/doc/text/news.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # NEWS
2
2
 
3
+ ## 1.0.1 - 2022-06-09
4
+
5
+ ### Improvements
6
+
7
+ * Added support for `SIGINT` by `SIGTERM`.
8
+
3
9
  ## 1.0.0 - 2022-03-07
4
10
 
5
11
  Initial release.
@@ -34,6 +34,16 @@ module GroongaDelta
34
34
  sleep(@config.polling_interval)
35
35
  end
36
36
  true
37
+ rescue Interrupt
38
+ true
39
+ rescue SignalException => error
40
+ case error.signm
41
+ when "SIGTERM"
42
+ true
43
+ else
44
+ @config.logger.error(error) if @config
45
+ raise
46
+ end
37
47
  rescue => error
38
48
  @config.logger.error(error) if @config
39
49
  raise
@@ -14,5 +14,5 @@
14
14
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
 
16
16
  module GroongaDelta
17
- VERSION = "1.0.0"
17
+ VERSION = "1.0.1"
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groonga-delta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sutou Kouhei
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: groonga-client