datacite-mapping 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/CHANGES.md +6 -0
- data/datacite-mapping.gemspec +4 -3
- data/lib/datacite/mapping/module_info.rb +1 -1
- data/spec/unit/datacite/mapping/name_identifier_spec.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39a51d2bc6f023b2308eb35b6664c7596864b77e
|
4
|
+
data.tar.gz: 819bff7d2a7231ab63751730ccc97cf7e153f737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc82770a27ba2628df4b052461a2685d23b560a1714707ecfd9542d3cab0029c9240e04af6bb4687d307f3532d1cf6919d7917a00d2a39b45c06eae80640575
|
7
|
+
data.tar.gz: 99c279353fc59098686af86a10b436e5066eae0f266787e2deae19699bfa47a085d0e42364a5eaf081b590a60cf8c56f5d8220892c8e774e47ff87ae83730218
|
data/.gitignore
CHANGED
data/CHANGES.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 0.1.5 (27 Jan 2016)
|
2
|
+
|
3
|
+
- Make gemspec smart enough to handle SSH checkouts
|
4
|
+
- Update to [XML::MappingExtensions](https://github.com/dmolesUC3/xml-mapping_extensions) 0.3.4
|
5
|
+
- Update to [TypesafeEnum](https://github.com/dmolesUC3/typesafe_enum) 0.1.5
|
6
|
+
|
1
7
|
## 0.1.4 (6 Jan 2016)
|
2
8
|
|
3
9
|
- Fix issue where missing `xml:lang` attribute in `<resource>` would produce a `no value, and no default value`
|
data/datacite-mapping.gemspec
CHANGED
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = 'A gem for working with the Datacite XML format'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
|
-
|
17
|
+
origin = `git config --get remote.origin.url`.chomp
|
18
|
+
origin_uri = origin.start_with?('http') ? URI(origin) : URI(origin.sub('git@github.com:', 'https://github.com/'))
|
18
19
|
spec.homepage = URI::HTTP.build(host: origin_uri.host, path: origin_uri.path.chomp('.git')).to_s
|
19
20
|
|
20
21
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -23,8 +24,8 @@ Gem::Specification.new do |spec|
|
|
23
24
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
24
25
|
spec.require_paths = ['lib']
|
25
26
|
|
26
|
-
spec.add_dependency 'typesafe_enum', '~> 0.1', '>= 0.1.
|
27
|
-
spec.add_dependency 'xml-mapping_extensions', '~> 0.3', '>= 0.3.
|
27
|
+
spec.add_dependency 'typesafe_enum', '~> 0.1', '>= 0.1.5'
|
28
|
+
spec.add_dependency 'xml-mapping_extensions', '~> 0.3', '>= 0.3.4'
|
28
29
|
|
29
30
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
30
31
|
spec.add_development_dependency 'equivalent-xml', '~> 0.6.0'
|
@@ -34,7 +34,7 @@ module Datacite
|
|
34
34
|
end
|
35
35
|
|
36
36
|
it 'requires a non-empty value' do
|
37
|
-
expect { NameIdentifier.new(
|
37
|
+
expect { NameIdentifier.new(value: '', scheme: 'ORCID') }.to raise_error(ArgumentError)
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
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.5
|
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-01-
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typesafe_enum
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.1'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.1.
|
22
|
+
version: 0.1.5
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.1'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.1.
|
32
|
+
version: 0.1.5
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: xml-mapping_extensions
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '0.3'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.3.
|
42
|
+
version: 0.3.4
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '0.3'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.3.
|
52
|
+
version: 0.3.4
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: bundler
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|