hydra-file_characterization 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b48cc683c771d57e58d8e3ba222f55822d1b2aca
4
+ data.tar.gz: 384687f9e2a2dd88304addc3c34681a5c05d065e
5
+ SHA512:
6
+ metadata.gz: c2febb48269319ea4d22a31d07da41a5d5fa3ccf8293f878d333339c90bf1ad2c69379587de1751db4d6a7953614f3e4f634e42b66aa1d2e7b04d792a009b871
7
+ data.tar.gz: 46ba44281c3773fb119c2ff3b196fcfce7e83e4a03b4711d4590d210ac04d786f455322df0ca6969b6a3d84408d590daafc1ee2b8654777eda7d334a656ac21f
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in hydra-file_characterization.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,16 @@
1
+ ##########################################################################
2
+ #
3
+ # Copyright 2013 Notre Dame
4
+ # Additional copyright may be held by others, as reflected in the commit log
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
@@ -0,0 +1,18 @@
1
+ # hydra-file_chracterization
2
+
3
+ Hydra::FileCharacterization as (extracted from Sufia and Hydra::Derivatives)
4
+
5
+ ## Purpose
6
+
7
+ To provide a wrapper for file characterization
8
+
9
+ ## To Consider
10
+
11
+ How others are using the extract_metadata method
12
+ - https://github.com/curationexperts/bawstun/blob/ff8142ac043604c11a6f57b03629284bfd3043ea/app/models/generic_file.rb#L173
13
+
14
+ ## Todo Steps
15
+
16
+ - Given a filename, characterize the file and return a raw XML stream
17
+ - Allow characterization services to be chained together
18
+ - Provide an ActiveFedora Datastream that maps the raw XML stream to a datastructure
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'hydra-file_characterization/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "hydra-file_characterization"
8
+ gem.version = Hydra::FileCharacterization::VERSION
9
+ gem.authors = [
10
+ "James Treacy",
11
+ "Jeremy Friesen"
12
+ ]
13
+ gem.email = [
14
+ "jatr@kb.dk",
15
+ "jeremy.n.friesen@gmail.com"
16
+ ]
17
+ gem.description = %q{To provide a wrapper for file characterization}
18
+ gem.summary = %q{To provide a wrapper for file characterization}
19
+ gem.homepage = "https://github.com/projecthydra/hydra-file_characterization"
20
+ gem.license = "APACHE2"
21
+
22
+ gem.files = `git ls-files`.split($/)
23
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
24
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
25
+ gem.require_paths = ["lib"]
26
+ end
@@ -0,0 +1,7 @@
1
+ require "hydra-file_characterization/version"
2
+
3
+ module Hydra
4
+ module FileCharacterization
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module Hydra
2
+ module FileCharacterization
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,54 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hydra-file_characterization
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - James Treacy
8
+ - Jeremy Friesen
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-09-17 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: To provide a wrapper for file characterization
15
+ email:
16
+ - jatr@kb.dk
17
+ - jeremy.n.friesen@gmail.com
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - .gitignore
23
+ - Gemfile
24
+ - LICENSE
25
+ - README.md
26
+ - Rakefile
27
+ - hydra-file_characterization.gemspec
28
+ - lib/hydra-file_characterization.rb
29
+ - lib/hydra-file_characterization/version.rb
30
+ homepage: https://github.com/projecthydra/hydra-file_characterization
31
+ licenses:
32
+ - APACHE2
33
+ metadata: {}
34
+ post_install_message:
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - '>='
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ requirements: []
49
+ rubyforge_project:
50
+ rubygems_version: 2.0.3
51
+ signing_key:
52
+ specification_version: 4
53
+ summary: To provide a wrapper for file characterization
54
+ test_files: []