iso-bib-item 0.2.1 → 0.2.2

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
- SHA256:
3
- metadata.gz: '005497c6ee099cac8fce79fcbf9af9c67860ba38ac5873f1b580cc71cb3c4ef5'
4
- data.tar.gz: 1041b3b192fb759e031ea28bccca0f035733c4b4074f6098d21d2834ce652b24
2
+ SHA1:
3
+ metadata.gz: 2143e8c3463e1f4ffedd26c995e761ed9eebdcea
4
+ data.tar.gz: 3b9373cbf1dfaf0d50e9b4dae3a8b2749f430865
5
5
  SHA512:
6
- metadata.gz: 66a54aa8817aab27644a0f153ead6c69cfd84a422804aaa6ed5355ef5e41b0ff46b1664f43dd62302a5ce236174d966cab6a7f43030bbb5df5a373c64fe1e885
7
- data.tar.gz: 9223a95713fc750f966de70aa33689f1e9721311c863bd4a9e4590cc5e16acedf48621d702fd851145ebff13d8556edea69b8e6572cc3867c5c73650c8031217
6
+ metadata.gz: d68733b283b9d6e441e64092ffcb613dd4754da01a25ea12f30badd4aa06fbc66785effa10b0e0f5aed369aada52831e50f3b1a94b4a7dffdb74a35c1e2d58d7
7
+ data.tar.gz: '097dc1d5b306e8afb8d08708894b7c5af6fcd2a1adf4530977ed26209a9d68e6e163dcba0c84143a8932b230866faf5ec3d0dec4cc71043313b3eb58039701b4'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iso-bib-item (0.2.1)
4
+ iso-bib-item (0.2.2)
5
5
  isoics (~> 0.1.6)
6
6
  nokogiri (~> 1.8.4)
7
7
  ruby_deep_clone (~> 0.8.0)
@@ -51,14 +51,14 @@ module IsoBibItem
51
51
 
52
52
  # @param builder [Nkogiri::XML::Builder]
53
53
  def to_xml(builder)
54
- if stage
54
+ if stage.nil? || stage.empty?
55
+ super
56
+ else
55
57
  builder.status do
56
58
  builder.stage stage
57
59
  builder.substage substage if substage
58
60
  builder.iteration iteration if iteration
59
61
  end
60
- else
61
- super
62
62
  end
63
63
  end
64
64
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module IsoBibItem
4
- VERSION = '0.2.1'.freeze
4
+ VERSION = '0.2.2'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iso-bib-item
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-18 00:00:00.000000000 Z
11
+ date: 2018-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  version: '0'
194
194
  requirements: []
195
195
  rubyforge_project:
196
- rubygems_version: 2.7.6
196
+ rubygems_version: 2.6.12
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: 'IsoBibItem: Ruby ISOXMLDOC impementation.'