bagit 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bagit/valid.rb +1 -3
- data/lib/bagit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e581d4e4b632ebf75e7958de8dffef75425e695d
|
4
|
+
data.tar.gz: cacad3cbb8385dc5600732730ede21751683d034
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 385db1340cf4707f0ffa118d515b1d1d5739abc15750758466bce2b3f8d34bc221da766f3f353c3d095c27f1f20f63b6dab951a4d2e638b47174bc126fdc3f5a
|
7
|
+
data.tar.gz: 0577b97788dc9cd9871760653b380c719a7eb9192391c57e5632b6ef56855fca2ddcdb92ba2932a4b692417fe8167f0a0b2f5a5376456b0399c27012818c6393
|
data/lib/bagit/valid.rb
CHANGED
@@ -71,10 +71,8 @@ module BagIt
|
|
71
71
|
file = File.join(bag_dir, decode_filename(path))
|
72
72
|
|
73
73
|
if File.exist? file
|
74
|
-
|
75
74
|
actual = algo.file(file).hexdigest
|
76
|
-
if expected != actual
|
77
|
-
|
75
|
+
if expected.downcase != actual
|
78
76
|
errors.add :consistency, "expected #{file} to have #{algo}: #{expected}, actual is #{actual}"
|
79
77
|
end
|
80
78
|
end
|
data/lib/bagit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bagit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Johnson, Francesco Lazzarino, Jamie Little
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: validatable
|