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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 903ff4851de240eff7d7f77fa6896bfa763f7487
4
- data.tar.gz: e47509f470c8698ed153c9104b193c7455c2d78a
3
+ metadata.gz: d5f8980de3819d980d8e5dd98008f886be978be5
4
+ data.tar.gz: e75bc9674c28df79152d0cb804cfa5befab17d65
5
5
  SHA512:
6
- metadata.gz: cee6d24661e86cdcebcb867f45535f4cac0c8692f8b1ef9d1890461c1ec9d4c99cefac52a0cce264e68c8c1f135de1c0efc319a125aeaa5232ce03b3ee4a2a99
7
- data.tar.gz: dc90a12ef47b9137870f04b090ae0cab6f42939b3c801cb5b0fe99ff0e0ee930aa957e664b751f63122f9a1b830a106023b33e860475dbb0e369697510419e60
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-BY)</st:name>
139
- <st:uri>https://creativecommons.org/licenses/by/4.0/legalcode</st:uri>
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-BY)',
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
 
@@ -5,7 +5,7 @@ module Stash
5
5
  NAME = 'stash-wrapper'
6
6
 
7
7
  # The version of this gem
8
- VERSION = '0.1.11'
8
+ VERSION = '0.1.11.1'
9
9
 
10
10
  # The copyright notice for this gem
11
11
  COPYRIGHT = 'Copyright (c) 2016 The Regents of the University of California'
@@ -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-BY)</st:name>
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-BY)</st:name>
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-BY)</st:name>
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/legalcode')
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-BY)')
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-BY)')
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-BY)')
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))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stash-wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Moles