dor-services 4.8.1 → 4.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -244,7 +244,8 @@ module Dor
244
244
  else
245
245
  nodes=xml.search('//registration')
246
246
  if not nodes.first
247
- self.administrativeMetadata.add_child_node(self.administrativeMetadata.ng_xml.root, :registration)
247
+ reg_node=Nokogiri::XML::Node.new('registration',xml)
248
+ xml.root.add_child(reg_node)
248
249
  end
249
250
  nodes=xml.search('//registration')
250
251
  wf_node=Nokogiri::XML::Node.new('workflow',xml)
data/lib/dor/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dor
2
- VERSION = '4.8.1'
2
+ VERSION = '4.8.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dor-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.1
4
+ version: 4.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2014-06-18 00:00:00.000000000 Z
16
+ date: 2014-06-20 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: active-fedora