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 +4 -4
- data/CHANGES.md +8 -0
- data/datacite-mapping.gemspec +1 -1
- data/lib/datacite/mapping/module_info.rb +1 -1
- data/lib/datacite/mapping/resource.rb +2 -2
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a753380743d789df5d3214db54f1b43daf688641
|
4
|
+
data.tar.gz: ad610478535b7a3302582a54a010c503f7f7aca1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8616c242e6d01ce1e724b5e71a0aa917c5697a99ca80c4ad8d83afcb401541aa75fb14f581ccf358396ab4dda134cc3485993e0e1474313aef4525968e0339d3
|
7
|
+
data.tar.gz: e8821e91c2ab7da19dc740a43dd114192f91267f4520b73d02838d807e0da2e94452ae39e81eb0d3e96660ee45e258a4c871e2bd4a590c8102d4adaf326f6ac9
|
data/CHANGES.md
CHANGED
data/datacite-mapping.gemspec
CHANGED
@@ -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'
|
@@ -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://
|
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
|
-
|
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.
|
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-
|
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
|