workflow-archiver 2.0.2 → 2.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
  SHA1:
3
- metadata.gz: bfb0bdfe2166b60e965269c08e3e3974acc57fcc
4
- data.tar.gz: 48643eb6e09e11edc36562a76a7a58dbd3058db0
3
+ metadata.gz: 9cfc2a39fdf3c44681b4832979fbcd9210fdb546
4
+ data.tar.gz: c252e195d375e98f97682f8bf1e0c832aacf53d1
5
5
  SHA512:
6
- metadata.gz: 56a8bcad387c55e927386038257654188640136e0093081a1d697401641a8a3dede603c8af0f53ce9d0d97afc7a5198d0bbf362d4c580adef02bd2cdddd21989
7
- data.tar.gz: f12a9553415f97617aa6d7c2e5a0ae5994a55c7483c5dbcb8a77ee3c3ff6bfd40b141948ffd8509d7390a031fdeeabc0fb6cb424ccc1ffb18352d26e68625682
6
+ metadata.gz: f2ca939eee2d59671a21d2a44a8b06ad39382eedb2678bcedf95ae60598c2ab6b70f027048b7973436098ac442cc6bf473138c2bb580a93f21e87328d76e88d8
7
+ data.tar.gz: 49e8e6c7776cfdbc90a1725651927e151d30fb15105428202154874c3f33287d1821c27916ec77824cbb78d624d78fe2775b6e5fccb6083e47cd07985871f92e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.2
1
+ 2.0.3
@@ -206,13 +206,13 @@ module Dor
206
206
 
207
207
  if objs.none?
208
208
  LyberCore::Log.info 'Nothing to archive'
209
- exit true
210
- end
211
- LyberCore::Log.info "Found #{objs.size} completed workflows"
212
- archiving_criteria = map_result_to_criteria(objs)
213
- archive_rows(archiving_criteria)
209
+ else
210
+ LyberCore::Log.info "Found #{objs.count} completed workflows"
211
+ archiving_criteria = map_result_to_criteria(objs)
212
+ archive_rows(archiving_criteria)
214
213
 
215
- LyberCore::Log.info "DONE! Processed #{@archived.to_s} objects with #{@errors.to_s} errors" if @errors < 3
214
+ LyberCore::Log.info "DONE! Processed #{@archived.to_s} objects with #{@errors.to_s} errors" if @errors < 3
215
+ end
216
216
  end
217
217
  end
218
218
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workflow-archiver
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willy Mene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2017-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lyber-core