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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3aca61bf93d7ec24641cb785afe5ca9da63dcf2b
4
- data.tar.gz: 5a815665d9cb46247aec70522c0e6cf40105078c
3
+ metadata.gz: e581d4e4b632ebf75e7958de8dffef75425e695d
4
+ data.tar.gz: cacad3cbb8385dc5600732730ede21751683d034
5
5
  SHA512:
6
- metadata.gz: af6d60e6d0693611d3d76e38869e8b8c985d9426adc101b17586ee06f8c200fb6975ca7f2af274a9834dc023bb94a0aa4443c26403278cc8045be35cc70975e3
7
- data.tar.gz: 6fe5d3a1bf5832e16c7a072b6529cd18c63425f3d2f754469276efc37f0df049c35d2af4f5baee41448213b81d3c85b9b0b46fceb4c980136ca088b67de642ed
6
+ metadata.gz: 385db1340cf4707f0ffa118d515b1d1d5739abc15750758466bce2b3f8d34bc221da766f3f353c3d095c27f1f20f63b6dab951a4d2e638b47174bc126fdc3f5a
7
+ data.tar.gz: 0577b97788dc9cd9871760653b380c719a7eb9192391c57e5632b6ef56855fca2ddcdb92ba2932a4b692417fe8167f0a0b2f5a5376456b0399c27012818c6393
@@ -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
@@ -1,3 +1,3 @@
1
1
  module BagIt
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
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
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-01 00:00:00.000000000 Z
11
+ date: 2016-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: validatable