perobs 3.0.0 → 3.0.1
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/lib/perobs/Store.rb +3 -3
- data/lib/perobs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 20f164ff526b984530355e99ab38623fd2b87cea
|
|
4
|
+
data.tar.gz: befc7531c92e0dc86c23b058cbc572657f66661f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b18e2e16719f896d8500852f0c1529ce2a1d9816695df04be2203cd1a10da8b70fe737afa910ec1fed71855eb6534da2b0dd16f8c6428c0ea1ae06a6509b59f
|
|
7
|
+
data.tar.gz: d6de8c99f6cffcb245b5468c6f6b5f4b5572c44019f7b9926adeae126a81ad507b815bbefda24b07f4724bc0a11abc0ab3235b304d2ca7180cde3bdc628c0b1e
|
data/lib/perobs/Store.rb
CHANGED
|
@@ -189,11 +189,11 @@ module PEROBS
|
|
|
189
189
|
# the storage backend. The Store object is no longer usable after this
|
|
190
190
|
# method was called.
|
|
191
191
|
def exit
|
|
192
|
-
if @cache.in_transaction?
|
|
192
|
+
if @cache && @cache.in_transaction?
|
|
193
193
|
PEROBS.log.fatal 'You cannot call exit() during a transaction'
|
|
194
194
|
end
|
|
195
|
-
@cache.flush
|
|
196
|
-
@db.close
|
|
195
|
+
@cache.flush if @cache
|
|
196
|
+
@db.close if @db
|
|
197
197
|
@db = @class_map = @in_memory_objects = @stats = @cache = @root_objects =
|
|
198
198
|
nil
|
|
199
199
|
end
|
data/lib/perobs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: perobs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Schlaeger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|