fcrepo_wrapper 0.3.1 → 0.3.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 948928eb6c192c09f5dfc0ae21bf93e38d1cbba1
|
4
|
+
data.tar.gz: d542075cf22ff47808eb686466c459698315e0a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1ab2ad5c507c6fffabaa4d7438473db92b1329dc780304a7e459325b4ed879d2f5aeb5553bcbd23271230702b0449e88b5d8edc08ce255f2097e102a2b4824a
|
7
|
+
data.tar.gz: 97ab45e5bd4bc0b17e4273d7f8be15838b5b5fff7f8d48e598321005a855408c870e1686ff4357a740915f8f38849eb4136f2428369551fab5ee346ac04a514c
|
@@ -30,7 +30,12 @@ describe FcrepoWrapper::Configuration do
|
|
30
30
|
it "uses values from the config file" do
|
31
31
|
expect(config.port).to eq '9999'
|
32
32
|
end
|
33
|
+
end
|
33
34
|
|
35
|
+
describe "#validate" do
|
36
|
+
let(:options) { {} }
|
37
|
+
subject { config.validate }
|
38
|
+
it { is_expected.to eq true }
|
34
39
|
end
|
35
40
|
end
|
36
41
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe FcrepoWrapper::MD5 do
|
4
|
+
let(:options) { {} }
|
5
|
+
let(:config) { FcrepoWrapper::Configuration.new options }
|
6
|
+
let(:md5) { described_class.new(config) }
|
7
|
+
let(:file) { 'Gemfile' }
|
8
|
+
|
9
|
+
describe "#validate!" do
|
10
|
+
subject { md5.validate!(file) }
|
11
|
+
it { is_expected.to eq true }
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fcrepo_wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -127,6 +127,7 @@ files:
|
|
127
127
|
- spec/fixtures/sample_config.yml
|
128
128
|
- spec/lib/fcrepo_wrapper/configuration_spec.rb
|
129
129
|
- spec/lib/fcrepo_wrapper/instance_spec.rb
|
130
|
+
- spec/lib/fcrepo_wrapper/md5_spec.rb
|
130
131
|
- spec/lib/fcrepo_wrapper_spec.rb
|
131
132
|
- spec/spec_helper.rb
|
132
133
|
homepage: https://github.com/cbeer/fcrepo_wrapper
|
@@ -157,6 +158,7 @@ test_files:
|
|
157
158
|
- spec/fixtures/sample_config.yml
|
158
159
|
- spec/lib/fcrepo_wrapper/configuration_spec.rb
|
159
160
|
- spec/lib/fcrepo_wrapper/instance_spec.rb
|
161
|
+
- spec/lib/fcrepo_wrapper/md5_spec.rb
|
160
162
|
- spec/lib/fcrepo_wrapper_spec.rb
|
161
163
|
- spec/spec_helper.rb
|
162
164
|
has_rdoc:
|