datacite-mapping 0.1.14 → 0.1.15

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: aff43fbc3d2ced53be18c3c3f8351af84d25a102
4
- data.tar.gz: 3d8b932af5c5b8429e9f9bde9b95867adae9a4d1
3
+ metadata.gz: a753380743d789df5d3214db54f1b43daf688641
4
+ data.tar.gz: ad610478535b7a3302582a54a010c503f7f7aca1
5
5
  SHA512:
6
- metadata.gz: 76eb23b7af667ab5d53d8546785f1d2ec7381bcf9e78d998c1c4e20a18db6954c9a835372e93d612f188703458bb3585b192f6e27efe1c443493b7b3b7b70ce3
7
- data.tar.gz: c475108f5497cf866b835f3ed0d8f9b72ed18ed837ad817dbb9a77b647a45b87c2b39f5a78158d82ff90827f23deec0876c28322fa8134d710906245bc0cd6be
6
+ metadata.gz: 8616c242e6d01ce1e724b5e71a0aa917c5697a99ca80c4ad8d83afcb401541aa75fb14f581ccf358396ab4dda134cc3485993e0e1474313aef4525968e0339d3
7
+ data.tar.gz: e8821e91c2ab7da19dc740a43dd114192f91267f4520b73d02838d807e0da2e94452ae39e81eb0d3e96660ee45e258a4c871e2bd4a590c8102d4adaf326f6ac9
data/CHANGES.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.1.15 (18 May 2016)
2
+
3
+ - Update to XML::MappingExtensions 0.4.1
4
+
5
+ ## 0.1.14 (17 May 2016)
6
+
7
+ - Fix issues with XML::MappingExtensions 0.4.x
8
+
1
9
  ## 0.1.13 (2 May 2016)
2
10
 
3
11
  - Update to XML::MappingExtensions 0.3.6 for improved namespace support
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.require_paths = ['lib']
26
26
 
27
27
  spec.add_dependency 'typesafe_enum', '~> 0.1', '>= 0.1.7'
28
- spec.add_dependency 'xml-mapping_extensions', '~> 0.4'
28
+ spec.add_dependency 'xml-mapping_extensions', '~> 0.4', '>= 0.4.1'
29
29
 
30
30
  spec.add_development_dependency 'bundler', '~> 1.7'
31
31
  spec.add_development_dependency 'equivalent-xml', '~> 0.6.0'
@@ -4,7 +4,7 @@ module Datacite
4
4
  NAME = 'datacite-mapping'
5
5
 
6
6
  # The version of this gem
7
- VERSION = '0.1.14'
7
+ VERSION = '0.1.15'
8
8
 
9
9
  # The copyright notice for this gem
10
10
  COPYRIGHT = 'Copyright (c) 2016 The Regents of the University of California'
@@ -19,7 +19,7 @@ module Datacite
19
19
 
20
20
  namespace XML::MappingExtensions::Namespace.new(
21
21
  uri: 'http://datacite.org/schema/kernel-3',
22
- schema_location: 'http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd'
22
+ schema_location: 'http://schema.datacite.org/meta/kernel-3/metadata.xsd'
23
23
  )
24
24
 
25
25
  # Initialies a new {Resource}
@@ -69,7 +69,7 @@ module Datacite
69
69
  # unprefixed namespace
70
70
  def self.namespace_prefix=(prefix)
71
71
  old_namespace = namespace
72
- self.namespace ::XML::MappingExtensions::Namespace.new(uri: old_namespace.uri, schema_location: old_namespace.schema_location, prefix: prefix)
72
+ namespace ::XML::MappingExtensions::Namespace.new(uri: old_namespace.uri, schema_location: old_namespace.schema_location, prefix: prefix)
73
73
  end
74
74
 
75
75
  def language
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datacite-mapping
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Moles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-17 00:00:00.000000000 Z
11
+ date: 2016-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typesafe_enum
@@ -37,6 +37,9 @@ dependencies:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0.4'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 0.4.1
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,6 +47,9 @@ dependencies:
44
47
  - - "~>"
45
48
  - !ruby/object:Gem::Version
46
49
  version: '0.4'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 0.4.1
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: bundler
49
55
  requirement: !ruby/object:Gem::Requirement