stash-wrapper 0.1.11 → 0.1.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +6 -0
- data/README.md +2 -2
- data/lib/stash/wrapper/license.rb +1 -1
- data/lib/stash/wrapper/module_info.rb +1 -1
- data/spec/data/wrapper/mrtoai-wrapper.xml +1 -1
- data/spec/data/wrapper/wrapper-1.xml +1 -1
- data/spec/data/wrapper/wrapper-2.xml +1 -1
- data/spec/unit/stash/wrapper/license_spec.rb +1 -1
- data/spec/unit/stash/wrapper/stash_wrapper_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5f8980de3819d980d8e5dd98008f886be978be5
|
4
|
+
data.tar.gz: e75bc9674c28df79152d0cb804cfa5befab17d65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e491506be906942e7f76340db12dfae27f5766cf0381ed5bd0927e05df9ca723a57e566a7b78001d0c3a3ac07c02d59a4503c24f4627efce23f4da3c3d95463
|
7
|
+
data.tar.gz: d14a974affa84689ab014e8492dbe8d7234557b78394d36d68d67cba876baec9ef51230f61db0b4357c19977ac38bfe2a9e051ef9fddc13f1215d3b773eecde1
|
data/CHANGES.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# 0.1.11.1 (5 August 2016)
|
2
|
+
|
3
|
+
- In `License::CC_BY`, use "Creative Commons Attribution 4.0 International (CC BY 4.0)"
|
4
|
+
as name, as per [summary](https://creativecommons.org/licenses/by/4.0/), instead of
|
5
|
+
"Creative Commons Attribution 4.0 International (CC-BY)".
|
6
|
+
|
1
7
|
# 0.1.11 (5 August 2016)
|
2
8
|
|
3
9
|
- In the convenience constant `License::CC_BY`, use the
|
data/README.md
CHANGED
@@ -135,8 +135,8 @@ to be nonsensical.
|
|
135
135
|
<st:note>Mecum noctem illam superiorem; iam intellege</st:note>
|
136
136
|
</st:version>
|
137
137
|
<st:license>
|
138
|
-
<st:name>Creative Commons Attribution 4.0 International (CC
|
139
|
-
<st:uri>https://creativecommons.org/licenses/by/4.0
|
138
|
+
<st:name>Creative Commons Attribution 4.0 International (CC BY 4.0)</st:name>
|
139
|
+
<st:uri>https://creativecommons.org/licenses/by/4.0/</st:uri>
|
140
140
|
</st:license>
|
141
141
|
<st:embargo>
|
142
142
|
<st:type>none</st:type>
|
@@ -25,7 +25,7 @@ module Stash
|
|
25
25
|
class License
|
26
26
|
# Convenience instance for the [CC-BY](https://creativecommons.org/licenses/by/4.0/) license
|
27
27
|
CC_BY = License.new(
|
28
|
-
name: 'Creative Commons Attribution 4.0 International (CC
|
28
|
+
name: 'Creative Commons Attribution 4.0 International (CC BY 4.0)',
|
29
29
|
uri: URI('https://creativecommons.org/licenses/by/4.0/')
|
30
30
|
)
|
31
31
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
<st:note xmlns:st='http://dash.cdlib.org/stash_wrapper/'>In te conferri pestem, quam t</st:note>
|
8
8
|
</st:version>
|
9
9
|
<st:license xmlns:st='http://dash.cdlib.org/stash_wrapper/'>
|
10
|
-
<st:name xmlns:st='http://dash.cdlib.org/stash_wrapper/'>Creative Commons Attribution 4.0 International (CC
|
10
|
+
<st:name xmlns:st='http://dash.cdlib.org/stash_wrapper/'>Creative Commons Attribution 4.0 International (CC BY 4.0)</st:name>
|
11
11
|
<st:uri xmlns:st='http://dash.cdlib.org/stash_wrapper/'>https://creativecommons.org/licenses/by/4.0/</st:uri>
|
12
12
|
</st:license>
|
13
13
|
<st:embargo xmlns:st='http://dash.cdlib.org/stash_wrapper/'>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<st:date>2015-09-08</st:date>
|
10
10
|
</st:version>
|
11
11
|
<st:license>
|
12
|
-
<st:name>Creative Commons Attribution 4.0 International (CC
|
12
|
+
<st:name>Creative Commons Attribution 4.0 International (CC BY 4.0)</st:name>
|
13
13
|
<st:uri>https://creativecommons.org/licenses/by/4.0/</st:uri>
|
14
14
|
</st:license>
|
15
15
|
<st:embargo>
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<st:note>Sample wrapped Datacite document</st:note>
|
11
11
|
</st:version>
|
12
12
|
<st:license>
|
13
|
-
<st:name>Creative Commons Attribution 4.0 International (CC
|
13
|
+
<st:name>Creative Commons Attribution 4.0 International (CC BY 4.0)</st:name>
|
14
14
|
<st:uri>https://creativecommons.org/licenses/by/4.0/</st:uri>
|
15
15
|
</st:license>
|
16
16
|
<st:embargo>
|
@@ -10,7 +10,7 @@ module Stash
|
|
10
10
|
before(:each) do
|
11
11
|
@params = {
|
12
12
|
name: 'Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)',
|
13
|
-
uri: URI('http://creativecommons.org/licenses/by-sa/4.0/
|
13
|
+
uri: URI('http://creativecommons.org/licenses/by-sa/4.0/')
|
14
14
|
}
|
15
15
|
end
|
16
16
|
|
@@ -41,7 +41,7 @@ module Stash
|
|
41
41
|
expect(version.date).to eq(Date.new(2015, 9, 8))
|
42
42
|
|
43
43
|
license = admin.license
|
44
|
-
expect(license.name).to eq('Creative Commons Attribution 4.0 International (CC
|
44
|
+
expect(license.name).to eq('Creative Commons Attribution 4.0 International (CC BY 4.0)')
|
45
45
|
expect(license.uri).to eq(URI('https://creativecommons.org/licenses/by/4.0/'))
|
46
46
|
|
47
47
|
embargo = admin.embargo
|
@@ -102,7 +102,7 @@ module Stash
|
|
102
102
|
expect(wrapper.id_value).to eq('10.21271/wxy1000199')
|
103
103
|
expect(wrapper.version_number).to eq(1)
|
104
104
|
expect(wrapper.version_date).to eq(Date.new(2012, 8, 17))
|
105
|
-
expect(wrapper.license_name).to eq('Creative Commons Attribution 4.0 International (CC
|
105
|
+
expect(wrapper.license_name).to eq('Creative Commons Attribution 4.0 International (CC BY 4.0)')
|
106
106
|
expect(wrapper.license_uri).to eq(URI('https://creativecommons.org/licenses/by/4.0/'))
|
107
107
|
expect(wrapper.embargo_type).to eq(EmbargoType::NONE)
|
108
108
|
expect(wrapper.embargo_end_date).to eq(Date.new(2012, 8, 17))
|
@@ -168,7 +168,7 @@ module Stash
|
|
168
168
|
expect(wrapper.id_value).to eq('10.12345/1234567890')
|
169
169
|
expect(wrapper.version_number).to eq(1)
|
170
170
|
expect(wrapper.version_date).to eq(Date.new(2015, 9, 8))
|
171
|
-
expect(wrapper.license_name).to eq('Creative Commons Attribution 4.0 International (CC
|
171
|
+
expect(wrapper.license_name).to eq('Creative Commons Attribution 4.0 International (CC BY 4.0)')
|
172
172
|
expect(wrapper.license_uri).to eq(URI('https://creativecommons.org/licenses/by/4.0/'))
|
173
173
|
expect(wrapper.embargo_type).to eq(EmbargoType::DOWNLOAD)
|
174
174
|
expect(wrapper.embargo_end_date).to eq(Date.new(2016, 3, 7))
|