hydra-file_characterization 0.2.8 → 0.2.9

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: 3b8edf6e750c47a6cdb4e71731d9c5f890205dcf
4
- data.tar.gz: 0d6fbf2e4c890ec8ad3c895756c7de8b17867677
3
+ metadata.gz: 3359fdef2f631bbd7c3af4ac3c56062c6fbb391a
4
+ data.tar.gz: daa36c8addb90aec847568e30c3d98512fddb783
5
5
  SHA512:
6
- metadata.gz: 2e2ac93d3cd28017383d5af4479d72d1afc446bc114addf9c71db6ea0349739336118184792b3b7760f5228607babc13aa5c0a434fe3150266a5150d133fe589
7
- data.tar.gz: ec349a0052bb33bf460e1014a0beb9cbf6cfd4248782de37ea6062df589c48a6ab1c09f68991c6f482978173fa5ecd1d74bfead63a6c13ddf0318344d457e692
6
+ metadata.gz: 11a66dc69441eb624743bfdd49f851aa88fa15d8463dad586472c5463fc1141a5a23db496b0ce32023f2b658a91fbefe96ac1d30d58e4b5b53dda59e716b8692
7
+ data.tar.gz: 362f5bfc8cb21590d9290ef18ad6d56cea968d5959bd47e7e1ec2ebaeba0cbc2af7d5e611a8802c50d537f7fca9bfc1e6f3bc1ab7dc2f7265988951b9520e3cb
@@ -18,6 +18,7 @@ module Hydra::FileCharacterization
18
18
  def call(data)
19
19
  f = Tempfile.new([File.basename(filename),File.extname(filename)])
20
20
  begin
21
+ f.binmode
21
22
  if data.respond_to? :read
22
23
  f.write(data.read)
23
24
  else
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module FileCharacterization
3
- VERSION = "0.2.8"
3
+ VERSION = "0.2.9"
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.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Treacy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-10-11 00:00:00.000000000 Z
14
+ date: 2013-10-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport