stepmod-utils 0.1.6 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b8f70f98800c78e2d021c3b0ee3e76192fa395222098b55cb80a7a42dd13e15
4
- data.tar.gz: 46b6bd1ad48b5e6ca4464cfbf12fb62510d0b5f9d6fb5bf5774f1f36ef7dd732
3
+ metadata.gz: 0234a977f2b4fe70773fb53f5a213858c45b217a127ac34d6497adee7bbc1324
4
+ data.tar.gz: 8d9c942f9c36ddca312712fcf4eae5f25b9c3080685d8d559bc19ac059e7c7a9
5
5
  SHA512:
6
- metadata.gz: a009029ddc7e93871ef7af5f88cccafd4fee9301bc62a485a770b2dd2df86ef0c6a7df90ebfd32bbf50f256e695be57e838d9466d9636c38f6d4116b99e99ccb
7
- data.tar.gz: 1af86804f049ff0d63a0d3b19f67e3834dbee4556f22c3d650eb944e6f47af25f49a7c340da85b4f4b69584b9474ac4bfdae830c8c753d6f6a356df9db0c37f6
6
+ metadata.gz: bacc43cbc1ae0631ddac9e06c08f9ad61e5447acbeb4d55ee46a91203a363073efc96bf207c3c64ea04b4f0108726ff064a8a1e093620c40cd4f5da85d255624
7
+ data.tar.gz: 6bc94140c41c77370ba94048539fe2eae93cfa760272a3b36af97c40cfac233ec32d55425102ea75a92693a8058e0224e9fdebbe4eee910b45d33e6cfc295860
@@ -57,6 +57,12 @@ files.each do |file_path|
57
57
  next
58
58
  end
59
59
 
60
+ # TODO: we may want a command line option to override this in the future
61
+ unless %w(IS DIS TS).include? bibdata.doctype
62
+ log "WARNING: skipping #{bibdata.docid} as it is not IS, DIS or TS"
63
+ next
64
+ end
65
+
60
66
  if bibdata.part.to_s.empty?
61
67
  log "FATAL: missing `part` attribute: #{file_path}"
62
68
  end
@@ -1,5 +1,5 @@
1
1
  module Stepmod
2
2
  module Utils
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stepmod-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.