bagit 0.0.2 → 0.0.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.
- data/bagit.gemspec +3 -2
- data/lib/bagit/manifest.rb +2 -2
- metadata +8 -6
data/bagit.gemspec
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = "bagit"
|
|
3
|
-
spec.version = '0.0.
|
|
3
|
+
spec.version = '0.0.3'
|
|
4
4
|
spec.summary = "BagIt package generation and validation"
|
|
5
|
+
spec.description = "Ruby Library and Command Line tools for bagit"
|
|
5
6
|
spec.email = "flazzarino@gmail.com"
|
|
6
|
-
spec.homepage = 'http://bagit
|
|
7
|
+
spec.homepage = 'http://github.com/flazz/bagit'
|
|
7
8
|
spec.authors = ["Francesco Lazzarino"]
|
|
8
9
|
|
|
9
10
|
spec.files = ["Rakefile", "bagit.gemspec", "lib/bagit/bag.rb",
|
data/lib/bagit/manifest.rb
CHANGED
|
@@ -3,10 +3,10 @@ require 'digest/sha1'
|
|
|
3
3
|
require 'digest/md5'
|
|
4
4
|
|
|
5
5
|
module BagIt
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
# Requires response to bag_dir, tag_files, bag_files
|
|
8
8
|
module Manifest
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
# All tag files that are bag manifest files (manifest-[algorithm].txt)
|
|
11
11
|
def manifest_files
|
|
12
12
|
tag_files.select { |f| File.basename(f) =~ /^manifest-.*.txt/ }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bagit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Francesco Lazzarino
|
|
@@ -9,11 +9,11 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-10-29 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
16
|
-
description:
|
|
16
|
+
description: Ruby Library and Command Line tools for bagit
|
|
17
17
|
email: flazzarino@gmail.com
|
|
18
18
|
executables: []
|
|
19
19
|
|
|
@@ -33,7 +33,9 @@ files:
|
|
|
33
33
|
- lib/bagit/valid.rb
|
|
34
34
|
- lib/bagit.rb
|
|
35
35
|
has_rdoc: true
|
|
36
|
-
homepage: http://bagit
|
|
36
|
+
homepage: http://github.com/flazz/bagit
|
|
37
|
+
licenses: []
|
|
38
|
+
|
|
37
39
|
post_install_message:
|
|
38
40
|
rdoc_options: []
|
|
39
41
|
|
|
@@ -54,9 +56,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
54
56
|
requirements: []
|
|
55
57
|
|
|
56
58
|
rubyforge_project:
|
|
57
|
-
rubygems_version: 1.3.
|
|
59
|
+
rubygems_version: 1.3.5
|
|
58
60
|
signing_key:
|
|
59
|
-
specification_version:
|
|
61
|
+
specification_version: 3
|
|
60
62
|
summary: BagIt package generation and validation
|
|
61
63
|
test_files: []
|
|
62
64
|
|