hydra-file_characterization 0.1.0 → 0.1.1
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/README.md
CHANGED
@@ -14,12 +14,17 @@ How others are using the extract_metadata method
|
|
14
14
|
## Todo Steps
|
15
15
|
|
16
16
|
- ~~Given a filename, characterize the file and return a raw XML stream~~
|
17
|
-
- Provide method for converting a StringIO and original file name to a temp file with comparable, then running the characterizer against the tempfile
|
18
|
-
- Provide a configuration option for the fits path; This would be the default for the characterizer
|
17
|
+
- ~~Provide method for converting a StringIO and original file name to a temp file with comparable, then running the characterizer against the tempfile~~
|
18
|
+
- ~~Provide a configuration option for the fits path; This would be the default for the characterizer
|
19
19
|
- Update existing Sufia implementation
|
20
20
|
- Deprecrate Hydra::Derivatives direct method call
|
21
21
|
- Instead call the characterizer with the content
|
22
22
|
- Allow characterization services to be chained together
|
23
|
-
- This would involve renaming the Characterizer to something else (i.e. Characterizers::Fits)
|
23
|
+
- ~~This would involve renaming the Characterizer to something else (i.e. Characterizers::Fits)
|
24
24
|
- Provide an ActiveFedora Datastream that maps the raw XML stream to a datastructure
|
25
25
|
|
26
|
+
## How to configure path to fits tool
|
27
|
+
|
28
|
+
- In your application code use the following line to configure the path to fits
|
29
|
+
Hydra::FileCharacterization::Characterizers::Fits.tool_path = '/path/to/fits'
|
30
|
+
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
|
|
20
20
|
]
|
21
21
|
gem.description = %q{To provide a wrapper for file characterization}
|
22
22
|
gem.summary = %q{To provide a wrapper for file characterization}
|
23
|
-
gem.homepage = "https://github.com/projecthydra/hydra
|
23
|
+
gem.homepage = "https://github.com/projecthydra/hydra-file_characterization"
|
24
24
|
gem.license = "APACHE2"
|
25
25
|
|
26
26
|
gem.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-file_characterization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -115,7 +115,7 @@ files:
|
|
115
115
|
- spec/lib/hydra/file_characterization/to_temp_file_spec.rb
|
116
116
|
- spec/lib/hydra/file_characterization_spec.rb
|
117
117
|
- spec/spec_helper.rb
|
118
|
-
homepage: https://github.com/projecthydra/hydra
|
118
|
+
homepage: https://github.com/projecthydra/hydra-file_characterization
|
119
119
|
licenses:
|
120
120
|
- APACHE2
|
121
121
|
post_install_message:
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 1.8.
|
139
|
+
rubygems_version: 1.8.24
|
140
140
|
signing_key:
|
141
141
|
specification_version: 3
|
142
142
|
summary: To provide a wrapper for file characterization
|