hydra-remote_identifier 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 213a2639460e691a09f2ea4401809b65406ee6bb
4
- data.tar.gz: 45d52d3946dcb23d326cae47d3c630098697d6a9
3
+ metadata.gz: 0044fca4960997fe2ea9ae11d9ce753b07f3572f
4
+ data.tar.gz: 43ff13cdbc11ccacefe3ec707105d8211e78cb1d
5
5
  SHA512:
6
- metadata.gz: 4e8354e9d0943e2d9859a03b9a85d0c5f767bbc8d78eb4a2f17997b007456db81b5aaaf1bb34244668b47234ed75fb1dccacdac2327724c1d44bb82c27d9b239
7
- data.tar.gz: de3ec1b0c5ebe3f2aca5c052eadf4603eacf6f7e8aef931f296b2c70f41fdd76bf22667934db37c38f86c452aa1d1c2edf90a13229836a8fee5216d89d3b1126
6
+ metadata.gz: 16b800a78b49c35ed8a2a4a4e04630a5a03e96c77e30431e2d99c392dc8b72741252a3641b1ebf49c3e5b9eb1d905f07d76dc4c18e9b019adfcfcd28310cd063
7
+ data.tar.gz: 63305ed2a5047673401fa0dc20e5f4d49b06833e02d66cb239362aa530afc712676511ca9b94c216acf9dd377287f2f0d073bfb43d1e27a11ef043de112c206c
@@ -11,7 +11,7 @@ module Hydra::RemoteIdentifier
11
11
  username: 'apitest',
12
12
  password: 'apitest',
13
13
  shoulder: 'doi:10.5072/FK2',
14
- url: "https://n2t.net/ezid/"
14
+ url: "https://ezid.lib.purdue.edu/ezid/"
15
15
  }
16
16
 
17
17
  attr_reader :username, :password, :shoulder, :url
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module RemoteIdentifier
3
- VERSION = "0.6.2"
3
+ VERSION = "0.6.3"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://apitest:apitest@n2t.net/ezid/shoulder/doi:10.5072/FK2
5
+ uri: https://apitest:apitest@ezid.lib.purdue.edu/ezid/shoulder/doi:10.5072/FK2
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: |-
@@ -44,4 +44,48 @@ http_interactions:
44
44
  string: 'success: doi:10.5072/FK23J3QV8 | ark:/b5072/fk23j3qv8'
45
45
  http_version:
46
46
  recorded_at: Thu, 03 Oct 2013 17:50:54 GMT
47
+ - request:
48
+ method: post
49
+ uri: https://apitest:apitest@ezid.lib.purdue.edu/ezid/shoulder/doi:10.5072/FK2
50
+ body:
51
+ encoding: UTF-8
52
+ string: |-
53
+ _target: http://google.com
54
+ datacite.creator: Jeremy Friesen
55
+ datacite.title: My Article
56
+ datacite.publisher: Me Myself and I
57
+ datacite.publicationyear: 2013
58
+ headers:
59
+ Accept:
60
+ - '*/*; q=0.5, application/xml'
61
+ Accept-Encoding:
62
+ - gzip, deflate
63
+ Content-Type:
64
+ - text/plain
65
+ Content-Length:
66
+ - '153'
67
+ User-Agent:
68
+ - Ruby
69
+ response:
70
+ status:
71
+ code: 201
72
+ message: CREATED
73
+ headers:
74
+ Date:
75
+ - Fri, 14 Mar 2014 14:23:29 GMT
76
+ Server:
77
+ - Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.1e mod_wsgi/3.3 Python/2.7.6
78
+ Vary:
79
+ - Cookie
80
+ Set-Cookie:
81
+ - sessionid=ud2imdwp67byzzexktsdmfnm2h99dktp; httponly; Path=/
82
+ Content-Length:
83
+ - '53'
84
+ Content-Type:
85
+ - text/plain; charset=UTF-8
86
+ body:
87
+ encoding: UTF-8
88
+ string: 'success: doi:10.5072/FK2S474W4 | ark:/b5072/fk2s474w4'
89
+ http_version:
90
+ recorded_at: Fri, 14 Mar 2014 14:23:33 GMT
47
91
  recorded_with: VCR 2.6.0
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://apitest:apitest@n2t.net/ezid/shoulder/doi:10.5072/FK2
5
+ uri: https://apitest:apitest@ezid.lib.purdue.edu/ezid/shoulder/doi:10.5072/FK2
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: |-
@@ -44,4 +44,48 @@ http_interactions:
44
44
  string: 'success: doi:10.5072/FK2FT8XZZ | ark:/b5072/fk2ft8xzz'
45
45
  http_version:
46
46
  recorded_at: Thu, 03 Oct 2013 19:10:25 GMT
47
+ - request:
48
+ method: post
49
+ uri: https://apitest:apitest@ezid.lib.purdue.edu/ezid/shoulder/doi:10.5072/FK2
50
+ body:
51
+ encoding: UTF-8
52
+ string: |-
53
+ _target: http://google.com
54
+ datacite.creator: my creator
55
+ datacite.title: my title
56
+ datacite.publisher: my publisher
57
+ datacite.publicationyear: 2013
58
+ headers:
59
+ Accept:
60
+ - '*/*; q=0.5, application/xml'
61
+ Accept-Encoding:
62
+ - gzip, deflate
63
+ Content-Type:
64
+ - text/plain
65
+ Content-Length:
66
+ - '144'
67
+ User-Agent:
68
+ - Ruby
69
+ response:
70
+ status:
71
+ code: 201
72
+ message: CREATED
73
+ headers:
74
+ Date:
75
+ - Fri, 14 Mar 2014 14:23:34 GMT
76
+ Server:
77
+ - Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.1e mod_wsgi/3.3 Python/2.7.6
78
+ Vary:
79
+ - Cookie
80
+ Set-Cookie:
81
+ - sessionid=1pb8durj02ezream0nnjgepqgsliv12s; httponly; Path=/
82
+ Content-Length:
83
+ - '53'
84
+ Content-Type:
85
+ - text/plain; charset=UTF-8
86
+ body:
87
+ encoding: UTF-8
88
+ string: 'success: doi:10.5072/FK2NC6D3G | ark:/b5072/fk2nc6d3g'
89
+ http_version:
90
+ recorded_at: Fri, 14 Mar 2014 14:23:38 GMT
47
91
  recorded_with: VCR 2.6.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-remote_identifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Friesen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-05 00:00:00.000000000 Z
11
+ date: 2014-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.0.7
153
+ rubygems_version: 2.0.14
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: Handles the registration and minting of remote identifiers (i.e. DOI, ARK,