ezid-client 0.4.1 → 0.4.2
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 +4 -4
- data/.travis.yml +1 -1
- data/README.md +1 -1
- data/Rakefile +5 -0
- data/VERSION +1 -1
- data/spec/integration/client_spec.rb +1 -1
- data/spec/integration/identifier_spec.rb +1 -1
- data/spec/spec_helper.rb +3 -2
- 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: 2b09cc8d07326bf5ec70e376feb37a7958018724
|
4
|
+
data.tar.gz: a95378e37e305a0dd79e127b654bcd41a6d4e658
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d07041e9bf5961f6b5f5def5936f24f08553d789032de6c9c1cebeba0da4e848b5b8f34515995f6e52646df916f7cf234b52c228a63cd64bef0ae3e36ec9bf4
|
7
|
+
data.tar.gz: c35e0ab65837eb7d4bfbfc3f6b2a29cf645e68b1c2862e2fbd1013d6a2096e646671291e423daeffa3b9a16e8502b2b3054e6b5d65f7bacb0d0590af272687ab
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -98,7 +98,7 @@ client = Ezid::Client.new(user: "eziduser", password: "ezidpass")
|
|
98
98
|
|
99
99
|
See http://ezid.cdlib.org/doc/apidoc.html#testing-the-api.
|
100
100
|
|
101
|
-
|
101
|
+
In order to run the integration tests successfully, you must supply the password for the test account "apitest" (contact EZID). To run the test suite without the integration tests, use the `rake ci` task.
|
102
102
|
|
103
103
|
## Contributing
|
104
104
|
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Ezid
|
2
2
|
RSpec.describe Identifier do
|
3
3
|
|
4
|
-
it "should handle CRUD operations"
|
4
|
+
it "should handle CRUD operations" do
|
5
5
|
# create (mint)
|
6
6
|
identifier = described_class.create(shoulder: ARK_SHOULDER)
|
7
7
|
expect(identifier.status).to eq("public")
|
data/spec/spec_helper.rb
CHANGED
@@ -23,7 +23,8 @@ require "ezid-client"
|
|
23
23
|
Ezid::Client.configure do |config|
|
24
24
|
config.user = "apitest"
|
25
25
|
# Contact EZID for password
|
26
|
-
# config.password = "********"
|
26
|
+
# config.password = "********"
|
27
|
+
config.logger = Logger.new(File::NULL)
|
27
28
|
end
|
28
29
|
|
29
30
|
ARK_SHOULDER = "ark:/99999/fk4"
|
@@ -85,7 +86,7 @@ RSpec.configure do |config|
|
|
85
86
|
# Print the 10 slowest examples and example groups at the
|
86
87
|
# end of the spec run, to help surface which specs are running
|
87
88
|
# particularly slow.
|
88
|
-
config.profile_examples = 10
|
89
|
+
# config.profile_examples = 10
|
89
90
|
|
90
91
|
# Run specs in random order to surface order dependencies. If you find an
|
91
92
|
# order dependency and want to debug it, you can fix the order by providing
|