hydra-file_characterization 0.2.7 → 0.2.8

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: d6204254cf414cf91d235b4945f6aca5fd7f91be
4
- data.tar.gz: 66cf0f285dc7d271e6729efb31d168739dd7318b
3
+ metadata.gz: 3b8edf6e750c47a6cdb4e71731d9c5f890205dcf
4
+ data.tar.gz: 0d6fbf2e4c890ec8ad3c895756c7de8b17867677
5
5
  SHA512:
6
- metadata.gz: 372c0590a3108dfe0d11850e606caabfdd095a910b9254f5a7259e67cf96c0c943a8a965fc9fc07e1ccfa32a83c0a8fde50b08075dbc85f23c1798ded75ae453
7
- data.tar.gz: 88ef7cfa899b8b0537f1550732936898d9e9e162f117e609c731ad135e5e177d0d67f00f811c3838fc92200229bdb8c3f43153d4683a5208ab96e71020b2011e
6
+ metadata.gz: 2e2ac93d3cd28017383d5af4479d72d1afc446bc114addf9c71db6ea0349739336118184792b3b7760f5228607babc13aa5c0a434fe3150266a5150d133fe589
7
+ data.tar.gz: ec349a0052bb33bf460e1014a0beb9cbf6cfd4248782de37ea6062df589c48a6ab1c09f68991c6f482978173fa5ecd1d74bfead63a6c13ddf0318344d457e692
data/README.md CHANGED
@@ -1,6 +1,4 @@
1
- # hydra-file_chracterization
2
-
3
- [![Gem Version](https://badge.fury.io/rb/hydra-file_characterization.png)](http://badge.fury.io/rb/hydra-file_characterization)
1
+ # hydra-file_chracterization [![Version](https://badge.fury.io/rb/hydra-file_characterization.png)](http://badge.fury.io/rb/hydra-file_characterization) [![Build Status](https://travis-ci.org/projecthydra/hydra-file_characterization.png?branch=master)](https://travis-ci.org/projecthydra/hydra-file_characterization) [![Dependency Status](https://gemnasium.com/projecthydra/hydra-file_characterization.png)](https://gemnasium.com/projecthydra/hydra-file_characterization)
4
2
 
5
3
  Hydra::FileCharacterization as (extracted from Sufia and Hydra::Derivatives)
6
4
 
@@ -12,7 +12,7 @@ module Hydra::FileCharacterization
12
12
  attr_reader :filename
13
13
 
14
14
  def initialize(filename)
15
- @filename = filename
15
+ @filename = filename.is_a?(Array) ? filename.join("") : filename
16
16
  end
17
17
 
18
18
  def call(data)
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module FileCharacterization
3
- VERSION = "0.2.7"
3
+ VERSION = "0.2.8"
4
4
  end
5
5
  end
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.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Treacy